Class bMotionPathVert


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

    Class Documentation

    Blender Source Code


    Visualization Motion Paths --------------------------------- (used for Pose Channels and Objects) Data point for motion path (mpv)

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Coordinates of point in 3D-space.

        Pointer Arithmetics

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

         bMotionPathVert bmotionpathvert = ...;
         CPointer<Object> p = bmotionpathvert.__dna__addressof(bMotionPathVert.__DNA__FIELD__co);
         CPointer<CArrayFacade<Float>> p_co = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'co'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Source Code

        Quick settings.

        Pointer Arithmetics

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

         bMotionPathVert bmotionpathvert = ...;
         CPointer<Object> p = bmotionpathvert.__dna__addressof(bMotionPathVert.__DNA__FIELD__flag);
         CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • bMotionPathVert

        public bMotionPathVert​(long __address,
                               Block __block,
                               BlockTable __blockTable)
    • Method Detail

      • getCo

        public CArrayFacade<java.lang.Float> getCo()
                                            throws java.io.IOException
        Get method for struct member 'co'.

        Field Documentation

        Blender Source Code

        Coordinates of point in 3D-space.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__co
      • setCo

        public void setCo​(CArrayFacade<java.lang.Float> co)
                   throws java.io.IOException
        Set method for struct member 'co'.

        Field Documentation

        Blender Source Code

        Coordinates of point in 3D-space.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__co
      • getFlag

        public int getFlag()
                    throws java.io.IOException
        Get method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        Quick settings.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(int flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        Quick settings.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag