Class bMotionPath


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

    Class Documentation

    Blender Source Code

    ........ Motion Path data cache (mpath)

    • for elements providing transforms (i.e. Objects or PoseChannels)

    for elements providing transforms (i.e. Objects or PoseChannels)

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Path samples.

        Pointer Arithmetics

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

         bMotionPath bmotionpath = ...;
         CPointer<Object> p = bmotionpath.__dna__addressof(bMotionPath.__DNA__FIELD__points);
         CPointer<CPointer<bMotionPathVert>> p_points = p.cast(new Class[]{CPointer.class, bMotionPathVert.class});
         

        Metadata

        • Field: 'points'
        • Signature: 'bMotionPathVert*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__length

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

        Field Documentation

        Blender Source Code

        The number of cached verts.

        Pointer Arithmetics

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

         bMotionPath bmotionpath = ...;
         CPointer<Object> p = bmotionpath.__dna__addressof(bMotionPath.__DNA__FIELD__length);
         CPointer<Integer> p_length = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'length'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__start_frame

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

        Field Documentation

        Blender Source Code

        For drawing paths, the start frame number.

        Pointer Arithmetics

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

         bMotionPath bmotionpath = ...;
         CPointer<Object> p = bmotionpath.__dna__addressof(bMotionPath.__DNA__FIELD__start_frame);
         CPointer<Integer> p_start_frame = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'start_frame'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__end_frame

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

        Field Documentation

        Blender Source Code

        For drawing paths, the end frame number.

        Pointer Arithmetics

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

         bMotionPath bmotionpath = ...;
         CPointer<Object> p = bmotionpath.__dna__addressof(bMotionPath.__DNA__FIELD__end_frame);
         CPointer<Integer> p_end_frame = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'end_frame'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__color

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

        Field Documentation

        Blender Source Code

        Optional custom color.

        Pointer Arithmetics

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

         bMotionPath bmotionpath = ...;
         CPointer<Object> p = bmotionpath.__dna__addressof(bMotionPath.__DNA__FIELD__color);
         CPointer<CArrayFacade<Float>> p_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Line thickness.

        Pointer Arithmetics

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

         bMotionPath bmotionpath = ...;
         CPointer<Object> p = bmotionpath.__dna__addressof(bMotionPath.__DNA__FIELD__line_thickness);
         CPointer<Integer> p_line_thickness = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'line_thickness'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Source Code

        Baking settings - eMotionPath_Flag.

        Pointer Arithmetics

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

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

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Used for drawing.

        Pointer Arithmetics

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

         bMotionPath bmotionpath = ...;
         CPointer<Object> p = bmotionpath.__dna__addressof(bMotionPath.__DNA__FIELD__points_vbo);
         CPointer<CPointer<Object>> p_points_vbo = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'points_vbo'
        • Signature: 'GPUVertBuf*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__batch_line

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

        Pointer Arithmetics

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

         bMotionPath bmotionpath = ...;
         CPointer<Object> p = bmotionpath.__dna__addressof(bMotionPath.__DNA__FIELD__batch_line);
         CPointer<CPointer<Object>> p_batch_line = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'batch_line'
        • Signature: 'GPUBatch*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__batch_points

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

        Pointer Arithmetics

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

         bMotionPath bmotionpath = ...;
         CPointer<Object> p = bmotionpath.__dna__addressof(bMotionPath.__DNA__FIELD__batch_points);
         CPointer<CPointer<Object>> p_batch_points = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'batch_points'
        • Signature: 'GPUBatch*'
        • Actual Size (32bit/64bit): 4/8
      • __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:

         bMotionPath bmotionpath = ...;
         CPointer<Object> p = bmotionpath.__dna__addressof(bMotionPath.__DNA__FIELD___pad);
         CPointer<CPointer<Object>> p__pad = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • bMotionPath

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

        protected bMotionPath​(bMotionPath that)
    • Method Detail

      • getPoints

        public CPointer<bMotionPathVert> getPoints()
                                            throws java.io.IOException
        Get method for struct member 'points'.

        Field Documentation

        Blender Source Code

        Path samples.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__points
      • setPoints

        public void setPoints​(CPointer<bMotionPathVert> points)
                       throws java.io.IOException
        Set method for struct member 'points'.

        Field Documentation

        Blender Source Code

        Path samples.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__points
      • getLength

        public int getLength()
                      throws java.io.IOException
        Get method for struct member 'length'.

        Field Documentation

        Blender Source Code

        The number of cached verts.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__length
      • setLength

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

        Field Documentation

        Blender Source Code

        The number of cached verts.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__length
      • getStart_frame

        public int getStart_frame()
                           throws java.io.IOException
        Get method for struct member 'start_frame'.

        Field Documentation

        Blender Source Code

        For drawing paths, the start frame number.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__start_frame
      • setStart_frame

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

        Field Documentation

        Blender Source Code

        For drawing paths, the start frame number.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__start_frame
      • getEnd_frame

        public int getEnd_frame()
                         throws java.io.IOException
        Get method for struct member 'end_frame'.

        Field Documentation

        Blender Source Code

        For drawing paths, the end frame number.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__end_frame
      • setEnd_frame

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

        Field Documentation

        Blender Source Code

        For drawing paths, the end frame number.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__end_frame
      • getColor

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

        Field Documentation

        Blender Source Code

        Optional custom color.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__color
      • setColor

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

        Field Documentation

        Blender Source Code

        Optional custom color.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__color
      • getLine_thickness

        public int getLine_thickness()
                              throws java.io.IOException
        Get method for struct member 'line_thickness'.

        Field Documentation

        Blender Source Code

        Line thickness.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__line_thickness
      • setLine_thickness

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

        Field Documentation

        Blender Source Code

        Line thickness.

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

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

        Field Documentation

        Blender Source Code

        Baking settings - eMotionPath_Flag.

        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

        Baking settings - eMotionPath_Flag.

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

        public CPointer<java.lang.Object> getPoints_vbo()
                                                 throws java.io.IOException
        Get method for struct member 'points_vbo'.

        Field Documentation

        Blender Source Code

        Used for drawing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__points_vbo
      • setPoints_vbo

        public void setPoints_vbo​(CPointer<java.lang.Object> points_vbo)
                           throws java.io.IOException
        Set method for struct member 'points_vbo'.

        Field Documentation

        Blender Source Code

        Used for drawing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__points_vbo
      • getBatch_line

        public CPointer<java.lang.Object> getBatch_line()
                                                 throws java.io.IOException
        Get method for struct member 'batch_line'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__batch_line
      • setBatch_line

        public void setBatch_line​(CPointer<java.lang.Object> batch_line)
                           throws java.io.IOException
        Set method for struct member 'batch_line'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__batch_line
      • getBatch_points

        public CPointer<java.lang.Object> getBatch_points()
                                                   throws java.io.IOException
        Get method for struct member 'batch_points'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__batch_points
      • setBatch_points

        public void setBatch_points​(CPointer<java.lang.Object> batch_points)
                             throws java.io.IOException
        Set method for struct member 'batch_points'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__batch_points
      • get_pad

        public CPointer<java.lang.Object> 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​(CPointer<java.lang.Object> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • __io__addressof

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