public class SoftBody_Shared extends CFacade
Container for data that is shared among CoW copies.
This is placed in a separate struct so that values can be changed without having to update all CoW copies.
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__pointcache
Field descriptor (offset) for struct member 'pointcache'.
|
static long[] |
__DNA__FIELD__ptcaches
Field descriptor (offset) for struct member 'ptcaches'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct SoftBody_Shared.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
SoftBody_Shared(long __address,
Block __block,
BlockTable __blockTable) |
protected |
SoftBody_Shared(SoftBody_Shared that) |
Modifier and Type | Method and Description |
---|---|
CPointer<SoftBody_Shared> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<PointCache> |
getPointcache()
Get method for struct member 'pointcache'.
|
ListBase |
getPtcaches()
Get method for struct member 'ptcaches'.
|
void |
setPointcache(CPointer<PointCache> pointcache)
Set method for struct member 'pointcache'.
|
void |
setPtcaches(ListBase ptcaches)
Set method for struct member 'ptcaches'.
|
__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
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for SoftBody_Shared.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__pointcache
This is how you get a reference on the corresponding field in the struct:
SoftBody_Shared softbody_shared = ...; CPointer<Object> p = softbody_shared.__dna__addressof(SoftBody_Shared.__DNA__FIELD__pointcache); CPointer<CPointer<PointCache>> p_pointcache = p.cast(new Class[]{CPointer.class, PointCache.class});
public static final long[] __DNA__FIELD__ptcaches
This is how you get a reference on the corresponding field in the struct:
SoftBody_Shared softbody_shared = ...; CPointer<Object> p = softbody_shared.__dna__addressof(SoftBody_Shared.__DNA__FIELD__ptcaches); CPointer<ListBase> p_ptcaches = p.cast(new Class[]{ListBase.class});
public SoftBody_Shared(long __address, Block __block, BlockTable __blockTable)
protected SoftBody_Shared(SoftBody_Shared that)
public CPointer<PointCache> getPointcache() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pointcache
public void setPointcache(CPointer<PointCache> pointcache) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pointcache
public ListBase getPtcaches() throws java.io.IOException
java.io.IOException
__DNA__FIELD__ptcaches
public void setPtcaches(ListBase ptcaches) throws java.io.IOException
java.io.IOException
__DNA__FIELD__ptcaches
public CPointer<SoftBody_Shared> __io__addressof()