public class MDisps extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__hidden
Field descriptor (offset) for struct member 'hidden'.
|
static long[] |
__DNA__FIELD__level
Field descriptor (offset) for struct member 'level'.
|
static long[] |
__DNA__FIELD__totdisp
Field descriptor (offset) for struct member 'totdisp'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct MDisps.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
MDisps(long __address,
Block __block,
BlockTable __blockTable) |
protected |
MDisps(MDisps that) |
Modifier and Type | Method and Description |
---|---|
CPointer<MDisps> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<java.lang.Integer> |
getHidden()
Get method for struct member 'hidden'.
|
int |
getLevel()
Get method for struct member 'level'.
|
int |
getTotdisp()
Get method for struct member 'totdisp'.
|
void |
setHidden(CPointer<java.lang.Integer> hidden)
Set method for struct member 'hidden'.
|
void |
setLevel(int level)
Set method for struct member 'level'.
|
void |
setTotdisp(int totdisp)
Set method for struct member 'totdisp'.
|
__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 MDisps.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__totdisp
Strange bug in SDNA
: if disps pointer comes first, it fails to see totdisp
This is how you get a reference on the corresponding field in the struct:
MDisps mdisps = ...; CPointer<Object> p = mdisps.__dna__addressof(MDisps.__DNA__FIELD__totdisp); CPointer<Integer> p_totdisp = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__level
This is how you get a reference on the corresponding field in the struct:
MDisps mdisps = ...; CPointer<Object> p = mdisps.__dna__addressof(MDisps.__DNA__FIELD__level); CPointer<Integer> p_level = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__hidden
Used for hiding parts of a multires mesh. Essentially the multires equivalent of MVert.flag's ME_HIDE bit.
This is a bitmap, keep in sync with type used in BLI_bitmap.h
This is a bitmap, keep in sync with type used in BLI_bitmap.hThis is how you get a reference on the corresponding field in the struct:
MDisps mdisps = ...; CPointer<Object> p = mdisps.__dna__addressof(MDisps.__DNA__FIELD__hidden); CPointer<CPointer<Integer>> p_hidden = p.cast(new Class[]{CPointer.class, Integer.class});
public MDisps(long __address, Block __block, BlockTable __blockTable)
protected MDisps(MDisps that)
public int getTotdisp() throws java.io.IOException
Strange bug in SDNA
: if disps pointer comes first, it fails to see totdisp
java.io.IOException
__DNA__FIELD__totdisp
public void setTotdisp(int totdisp) throws java.io.IOException
Strange bug in SDNA
: if disps pointer comes first, it fails to see totdisp
java.io.IOException
__DNA__FIELD__totdisp
public int getLevel() throws java.io.IOException
java.io.IOException
__DNA__FIELD__level
public void setLevel(int level) throws java.io.IOException
java.io.IOException
__DNA__FIELD__level
public CPointer<java.lang.Integer> getHidden() throws java.io.IOException
Used for hiding parts of a multires mesh. Essentially the multires equivalent of MVert.flag's ME_HIDE bit.
This is a bitmap, keep in sync with type used in BLI_bitmap.h
This is a bitmap, keep in sync with type used in BLI_bitmap.hjava.io.IOException
__DNA__FIELD__hidden
public void setHidden(CPointer<java.lang.Integer> hidden) throws java.io.IOException
Used for hiding parts of a multires mesh. Essentially the multires equivalent of MVert.flag's ME_HIDE bit.
This is a bitmap, keep in sync with type used in BLI_bitmap.h
This is a bitmap, keep in sync with type used in BLI_bitmap.hjava.io.IOException
__DNA__FIELD__hidden