Package org.blender.dna
Class SoftBody_Shared
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.SoftBody_Shared
-
public class SoftBody_Shared extends CFacade
Generated facet for DNA struct type 'SoftBody_Shared'.Class Documentation
Blender Source Code
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.
-
-
Field Summary
Fields Modifier and Type Field 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.-
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 SoftBody_Shared(long __address, Block __block, BlockTable __blockTable)
protected
SoftBody_Shared(SoftBody_Shared that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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'.-
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 SoftBody_Shared.It is required when allocating a new block to store data for SoftBody_Shared.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__pointcache
public static final long[] __DNA__FIELD__pointcache
Field descriptor (offset) for struct member 'pointcache'.Pointer Arithmetics
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});
Metadata
- Field: 'pointcache'
- Signature: 'PointCache*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__ptcaches
public static final long[] __DNA__FIELD__ptcaches
Field descriptor (offset) for struct member 'ptcaches'.Pointer Arithmetics
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});
Metadata
- Field: 'ptcaches'
- Signature: 'ListBase'
- Actual Size (32bit/64bit): 8/16
-
-
Constructor Detail
-
SoftBody_Shared
public SoftBody_Shared(long __address, Block __block, BlockTable __blockTable)
-
SoftBody_Shared
protected SoftBody_Shared(SoftBody_Shared that)
-
-
Method Detail
-
getPointcache
public CPointer<PointCache> getPointcache() throws java.io.IOException
Get method for struct member 'pointcache'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pointcache
-
setPointcache
public void setPointcache(CPointer<PointCache> pointcache) throws java.io.IOException
Set method for struct member 'pointcache'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pointcache
-
getPtcaches
public ListBase getPtcaches() throws java.io.IOException
Get method for struct member 'ptcaches'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ptcaches
-
setPtcaches
public void setPtcaches(ListBase ptcaches) throws java.io.IOException
Set method for struct member 'ptcaches'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ptcaches
-
__io__addressof
public CPointer<SoftBody_Shared> __io__addressof()
Instantiates a pointer on this instance.
-
-