Class bMotionPath
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.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)
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__batch_line
Field descriptor (offset) for struct member 'batch_line'.static long[]
__DNA__FIELD__batch_points
Field descriptor (offset) for struct member 'batch_points'.static long[]
__DNA__FIELD__color
Field descriptor (offset) for struct member 'color'.static long[]
__DNA__FIELD__end_frame
Field descriptor (offset) for struct member 'end_frame'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__length
Field descriptor (offset) for struct member 'length'.static long[]
__DNA__FIELD__line_thickness
Field descriptor (offset) for struct member 'line_thickness'.static long[]
__DNA__FIELD__points
Field descriptor (offset) for struct member 'points'.static long[]
__DNA__FIELD__points_vbo
Field descriptor (offset) for struct member 'points_vbo'.static long[]
__DNA__FIELD__start_frame
Field descriptor (offset) for struct member 'start_frame'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct bMotionPath.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description bMotionPath(long __address, Block __block, BlockTable __blockTable)
protected
bMotionPath(bMotionPath that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<bMotionPath>
__io__addressof()
Instantiates a pointer on this instance.CPointer<java.lang.Object>
get_pad()
Get method for struct member '_pad'.CPointer<java.lang.Object>
getBatch_line()
Get method for struct member 'batch_line'.CPointer<java.lang.Object>
getBatch_points()
Get method for struct member 'batch_points'.CArrayFacade<java.lang.Float>
getColor()
Get method for struct member 'color'.int
getEnd_frame()
Get method for struct member 'end_frame'.int
getFlag()
Get method for struct member 'flag'.int
getLength()
Get method for struct member 'length'.int
getLine_thickness()
Get method for struct member 'line_thickness'.CPointer<bMotionPathVert>
getPoints()
Get method for struct member 'points'.CPointer<java.lang.Object>
getPoints_vbo()
Get method for struct member 'points_vbo'.int
getStart_frame()
Get method for struct member 'start_frame'.void
set_pad(CPointer<java.lang.Object> _pad)
Set method for struct member '_pad'.void
setBatch_line(CPointer<java.lang.Object> batch_line)
Set method for struct member 'batch_line'.void
setBatch_points(CPointer<java.lang.Object> batch_points)
Set method for struct member 'batch_points'.void
setColor(CArrayFacade<java.lang.Float> color)
Set method for struct member 'color'.void
setEnd_frame(int end_frame)
Set method for struct member 'end_frame'.void
setFlag(int flag)
Set method for struct member 'flag'.void
setLength(int length)
Set method for struct member 'length'.void
setLine_thickness(int line_thickness)
Set method for struct member 'line_thickness'.void
setPoints(CPointer<bMotionPathVert> points)
Set method for struct member 'points'.void
setPoints_vbo(CPointer<java.lang.Object> points_vbo)
Set method for struct member 'points_vbo'.void
setStart_frame(int start_frame)
Set method for struct member 'start_frame'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof, equals, hashCode
-
-
-
-
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.
-
-