Class Curves
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.Curves
-
public class Curves extends CFacade
Generated facet for DNA struct type 'Curves'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.static long[]
__DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.static long[]
__DNA__FIELD__attributes_active_index
Field descriptor (offset) for struct member 'attributes_active_index'.static long[]
__DNA__FIELD__batch_cache
Field descriptor (offset) for struct member 'batch_cache'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__geometry
Field descriptor (offset) for struct member 'geometry'.static long[]
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.static long[]
__DNA__FIELD__mat
Field descriptor (offset) for struct member 'mat'.static long[]
__DNA__FIELD__surface
Field descriptor (offset) for struct member 'surface'.static long[]
__DNA__FIELD__totcol
Field descriptor (offset) for struct member 'totcol'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct Curves.-
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 Curves(long __address, Block __block, BlockTable __blockTable)
protected
Curves(Curves that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<Curves>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Short>
get_pad2()
Get method for struct member '_pad2'.CPointer<AnimData>
getAdt()
Get method for struct member 'adt'.int
getAttributes_active_index()
Get method for struct member 'attributes_active_index'.CPointer<java.lang.Object>
getBatch_cache()
Get method for struct member 'batch_cache'.int
getFlag()
Get method for struct member 'flag'.CurvesGeometry
getGeometry()
Get method for struct member 'geometry'.ID
getId()
Get method for struct member 'id'.CPointer<CPointer<Material>>
getMat()
Get method for struct member 'mat'.CPointer<BlenderObject>
getSurface()
Get method for struct member 'surface'.short
getTotcol()
Get method for struct member 'totcol'.void
set_pad2(CArrayFacade<java.lang.Short> _pad2)
Set method for struct member '_pad2'.void
setAdt(CPointer<AnimData> adt)
Set method for struct member 'adt'.void
setAttributes_active_index(int attributes_active_index)
Set method for struct member 'attributes_active_index'.void
setBatch_cache(CPointer<java.lang.Object> batch_cache)
Set method for struct member 'batch_cache'.void
setFlag(int flag)
Set method for struct member 'flag'.void
setGeometry(CurvesGeometry geometry)
Set method for struct member 'geometry'.void
setId(ID id)
Set method for struct member 'id'.void
setMat(CPointer<CPointer<Material>> mat)
Set method for struct member 'mat'.void
setSurface(CPointer<BlenderObject> surface)
Set method for struct member 'surface'.void
setTotcol(short totcol)
Set method for struct member 'totcol'.-
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 Curves.It is required when allocating a new block to store data for Curves.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__id
public static final long[] __DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
Metadata
- Field: 'id'
- Signature: 'ID'
- Actual Size (32bit/64bit): 152/192
-
__DNA__FIELD__adt
public static final long[] __DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.Field Documentation
Blender Source Code
Animation data (must be immediately after id).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__adt); CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
Metadata
- Field: 'adt'
- Signature: 'AnimData*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__geometry
public static final long[] __DNA__FIELD__geometry
Field descriptor (offset) for struct member 'geometry'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__geometry); CPointer<CurvesGeometry> p_geometry = p.cast(new Class[]{CurvesGeometry.class});
Metadata
- Field: 'geometry'
- Signature: 'CurvesGeometry'
- Actual Size (32bit/64bit): 500/544
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__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__attributes_active_index
public static final long[] __DNA__FIELD__attributes_active_index
Field descriptor (offset) for struct member 'attributes_active_index'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__attributes_active_index); CPointer<Integer> p_attributes_active_index = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'attributes_active_index'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__mat
public static final long[] __DNA__FIELD__mat
Field descriptor (offset) for struct member 'mat'.Field Documentation
Blender Source Code
Materials.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__mat); CPointer<CPointer<CPointer<Material>>> p_mat = p.cast(new Class[]{CPointer.class, CPointer.class, Material.class});
Metadata
- Field: 'mat'
- Signature: 'Material**'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__totcol
public static final long[] __DNA__FIELD__totcol
Field descriptor (offset) for struct member 'totcol'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__totcol); CPointer<Short> p_totcol = p.cast(new Class[]{Short.class});
Metadata
- Field: 'totcol'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD___pad2
public static final long[] __DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD___pad2); CPointer<CArrayFacade<Short>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Short.class});
Metadata
- Field: '_pad2'
- Signature: 'short[3]'
- Actual Size (32bit/64bit): 6/6
-
__DNA__FIELD__surface
public static final long[] __DNA__FIELD__surface
Field descriptor (offset) for struct member 'surface'.Field Documentation
Blender Source Code
Used as base mesh when curves represent e.g. hair or fur. This surface is used in edit modes. When set, the curves will have attributes that indicate a position on this surface. This is used for deforming the curves when the surface is deformed dynamically.
This is expected to be a mesh object.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__surface); CPointer<CPointer<BlenderObject>> p_surface = p.cast(new Class[]{CPointer.class, BlenderObject.class});
Metadata
- Field: 'surface'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__batch_cache
public static final long[] __DNA__FIELD__batch_cache
Field descriptor (offset) for struct member 'batch_cache'.Field Documentation
Blender Source Code
Draw Cache.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__batch_cache); CPointer<CPointer<Object>> p_batch_cache = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'batch_cache'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
Curves
public Curves(long __address, Block __block, BlockTable __blockTable)
-
Curves
protected Curves(Curves that)
-
-
Method Detail
-
getId
public ID getId() throws java.io.IOException
Get method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
setId
public void setId(ID id) throws java.io.IOException
Set method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
getAdt
public CPointer<AnimData> getAdt() throws java.io.IOException
Get method for struct member 'adt'.Field Documentation
Blender Source Code
Animation data (must be immediately after id).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__adt
-
setAdt
public void setAdt(CPointer<AnimData> adt) throws java.io.IOException
Set method for struct member 'adt'.Field Documentation
Blender Source Code
Animation data (must be immediately after id).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__adt
-
getGeometry
public CurvesGeometry getGeometry() throws java.io.IOException
Get method for struct member 'geometry'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__geometry
-
setGeometry
public void setGeometry(CurvesGeometry geometry) throws java.io.IOException
Set method for struct member 'geometry'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__geometry
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member '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'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getAttributes_active_index
public int getAttributes_active_index() throws java.io.IOException
Get method for struct member 'attributes_active_index'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__attributes_active_index
-
setAttributes_active_index
public void setAttributes_active_index(int attributes_active_index) throws java.io.IOException
Set method for struct member 'attributes_active_index'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__attributes_active_index
-
getMat
public CPointer<CPointer<Material>> getMat() throws java.io.IOException
Get method for struct member 'mat'.Field Documentation
Blender Source Code
Materials.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mat
-
setMat
public void setMat(CPointer<CPointer<Material>> mat) throws java.io.IOException
Set method for struct member 'mat'.Field Documentation
Blender Source Code
Materials.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mat
-
getTotcol
public short getTotcol() throws java.io.IOException
Get method for struct member 'totcol'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totcol
-
setTotcol
public void setTotcol(short totcol) throws java.io.IOException
Set method for struct member 'totcol'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totcol
-
get_pad2
public CArrayFacade<java.lang.Short> get_pad2() throws java.io.IOException
Get method for struct member '_pad2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad2
-
set_pad2
public void set_pad2(CArrayFacade<java.lang.Short> _pad2) throws java.io.IOException
Set method for struct member '_pad2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad2
-
getSurface
public CPointer<BlenderObject> getSurface() throws java.io.IOException
Get method for struct member 'surface'.Field Documentation
Blender Source Code
Used as base mesh when curves represent e.g. hair or fur. This surface is used in edit modes. When set, the curves will have attributes that indicate a position on this surface. This is used for deforming the curves when the surface is deformed dynamically.
This is expected to be a mesh object.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__surface
-
setSurface
public void setSurface(CPointer<BlenderObject> surface) throws java.io.IOException
Set method for struct member 'surface'.Field Documentation
Blender Source Code
Used as base mesh when curves represent e.g. hair or fur. This surface is used in edit modes. When set, the curves will have attributes that indicate a position on this surface. This is used for deforming the curves when the surface is deformed dynamically.
This is expected to be a mesh object.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__surface
-
getBatch_cache
public CPointer<java.lang.Object> getBatch_cache() throws java.io.IOException
Get method for struct member 'batch_cache'.Field Documentation
Blender Source Code
Draw Cache.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__batch_cache
-
setBatch_cache
public void setBatch_cache(CPointer<java.lang.Object> batch_cache) throws java.io.IOException
Set method for struct member 'batch_cache'.Field Documentation
Blender Source Code
Draw Cache.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__batch_cache
-
-