Class BPoint


  • public class BPoint
    extends CFacade
    Generated facet for DNA struct type 'BPoint'.

    Class Documentation

    Blender Source Code

    Note

    BPoint.tilt location in struct is abused by Key system.

    BPoint.tilt location in struct is abused by Key system.

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct BPoint.

        It is required when allocating a new block to store data for BPoint.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__vec

        public static final long[] __DNA__FIELD__vec
        Field descriptor (offset) for struct member 'vec'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         BPoint bpoint = ...;
         CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__vec);
         CPointer<CArrayFacade<Float>> p_vec = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'vec'
        • Signature: 'float[4]'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__alfa

        public static final long[] __DNA__FIELD__alfa
        Field descriptor (offset) for struct member 'alfa'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         BPoint bpoint = ...;
         CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__alfa);
         CPointer<Float> p_alfa = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'alfa'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__weight

        public static final long[] __DNA__FIELD__weight
        Field descriptor (offset) for struct member 'weight'.

        Field Documentation

        Blender Source Code

        Used for softbody goal weight.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         BPoint bpoint = ...;
         CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__weight);
         CPointer<Float> p_weight = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'weight'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__f1

        public static final long[] __DNA__FIELD__f1
        Field descriptor (offset) for struct member 'f1'.

        Field Documentation

        Blender Source Code

        F1: selection status, hide: is point hidden or not.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         BPoint bpoint = ...;
         CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__f1);
         CPointer<Byte> p_f1 = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'f1'
        • Signature: 'uchar'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad1

        public static final long[] __DNA__FIELD___pad1
        Field descriptor (offset) for struct member '_pad1'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         BPoint bpoint = ...;
         CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD___pad1);
         CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad1'
        • Signature: 'char[1]'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__hide

        public static final long[] __DNA__FIELD__hide
        Field descriptor (offset) for struct member 'hide'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         BPoint bpoint = ...;
         CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__hide);
         CPointer<Short> p_hide = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'hide'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__radius

        public static final long[] __DNA__FIELD__radius
        Field descriptor (offset) for struct member 'radius'.

        Field Documentation

        Blender Source Code

        User-set radius per point for beveling etc.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         BPoint bpoint = ...;
         CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__radius);
         CPointer<Float> p_radius = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'radius'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad

        public static final long[] __DNA__FIELD___pad
        Field descriptor (offset) for struct member '_pad'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         BPoint bpoint = ...;
         CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • BPoint

        public BPoint​(long __address,
                      Block __block,
                      BlockTable __blockTable)
      • BPoint

        protected BPoint​(BPoint that)
    • Method Detail

      • getVec

        public CArrayFacade<java.lang.Float> getVec()
                                             throws java.io.IOException
        Get method for struct member 'vec'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vec
      • setVec

        public void setVec​(CArrayFacade<java.lang.Float> vec)
                    throws java.io.IOException
        Set method for struct member 'vec'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vec
      • getAlfa

        public float getAlfa()
                      throws java.io.IOException
        Get method for struct member 'alfa'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__alfa
      • setAlfa

        public void setAlfa​(float alfa)
                     throws java.io.IOException
        Set method for struct member 'alfa'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__alfa
      • getWeight

        public float getWeight()
                        throws java.io.IOException
        Get method for struct member 'weight'.

        Field Documentation

        Blender Source Code

        Used for softbody goal weight.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__weight
      • setWeight

        public void setWeight​(float weight)
                       throws java.io.IOException
        Set method for struct member 'weight'.

        Field Documentation

        Blender Source Code

        Used for softbody goal weight.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__weight
      • getF1

        public byte getF1()
                   throws java.io.IOException
        Get method for struct member 'f1'.

        Field Documentation

        Blender Source Code

        F1: selection status, hide: is point hidden or not.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__f1
      • setF1

        public void setF1​(byte f1)
                   throws java.io.IOException
        Set method for struct member 'f1'.

        Field Documentation

        Blender Source Code

        F1: selection status, hide: is point hidden or not.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__f1
      • get_pad1

        public CArrayFacade<java.lang.Byte> get_pad1()
                                              throws java.io.IOException
        Get method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • set_pad1

        public void set_pad1​(CArrayFacade<java.lang.Byte> _pad1)
                      throws java.io.IOException
        Set method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • getHide

        public short getHide()
                      throws java.io.IOException
        Get method for struct member 'hide'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hide
      • setHide

        public void setHide​(short hide)
                     throws java.io.IOException
        Set method for struct member 'hide'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hide
      • getRadius

        public float getRadius()
                        throws java.io.IOException
        Get method for struct member 'radius'.

        Field Documentation

        Blender Source Code

        User-set radius per point for beveling etc.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radius
      • setRadius

        public void setRadius​(float radius)
                       throws java.io.IOException
        Set method for struct member 'radius'.

        Field Documentation

        Blender Source Code

        User-set radius per point for beveling etc.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radius
      • get_pad

        public CArrayFacade<java.lang.Byte> get_pad()
                                             throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(CArrayFacade<java.lang.Byte> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • __io__addressof

        public CPointer<BPoint> __io__addressof()
        Instantiates a pointer on this instance.