Package org.blender.dna
Class UserDef_SpaceData
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.UserDef_SpaceData
-
public class UserDef_SpaceData extends CFacade
Generated facet for DNA struct type 'UserDef_SpaceData'.Class Documentation
Blender Source Code
Store UI data here instead of the space since the space is typically a window which is freed.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad0
Field descriptor (offset) for struct member '_pad0'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__section_active
Field descriptor (offset) for struct member 'section_active'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct UserDef_SpaceData.-
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 UserDef_SpaceData(long __address, Block __block, BlockTable __blockTable)
protected
UserDef_SpaceData(UserDef_SpaceData that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<UserDef_SpaceData>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad0()
Get method for struct member '_pad0'.byte
getFlag()
Get method for struct member 'flag'.byte
getSection_active()
Get method for struct member 'section_active'.void
set_pad0(CArrayFacade<java.lang.Byte> _pad0)
Set method for struct member '_pad0'.void
setFlag(byte flag)
Set method for struct member 'flag'.void
setSection_active(byte section_active)
Set method for struct member 'section_active'.-
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 UserDef_SpaceData.It is required when allocating a new block to store data for UserDef_SpaceData.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__section_active
public static final long[] __DNA__FIELD__section_active
Field descriptor (offset) for struct member 'section_active'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
UserDef_SpaceData userdef_spacedata = ...; CPointer<Object> p = userdef_spacedata.__dna__addressof(UserDef_SpaceData.__DNA__FIELD__section_active); CPointer<Byte> p_section_active = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'section_active'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Field Documentation
Blender Source Code
eUserPref_SpaceData_Flag UI options.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
UserDef_SpaceData userdef_spacedata = ...; CPointer<Object> p = userdef_spacedata.__dna__addressof(UserDef_SpaceData.__DNA__FIELD__flag); CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'flag'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD___pad0
public static final long[] __DNA__FIELD___pad0
Field descriptor (offset) for struct member '_pad0'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
UserDef_SpaceData userdef_spacedata = ...; CPointer<Object> p = userdef_spacedata.__dna__addressof(UserDef_SpaceData.__DNA__FIELD___pad0); CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad0'
- Signature: 'char[6]'
- Actual Size (32bit/64bit): 6/6
-
-
Constructor Detail
-
UserDef_SpaceData
public UserDef_SpaceData(long __address, Block __block, BlockTable __blockTable)
-
UserDef_SpaceData
protected UserDef_SpaceData(UserDef_SpaceData that)
-
-
Method Detail
-
getSection_active
public byte getSection_active() throws java.io.IOException
Get method for struct member 'section_active'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__section_active
-
setSection_active
public void setSection_active(byte section_active) throws java.io.IOException
Set method for struct member 'section_active'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__section_active
-
getFlag
public byte getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Blender Source Code
eUserPref_SpaceData_Flag UI options.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(byte flag) throws java.io.IOException
Set method for struct member 'flag'.Field Documentation
Blender Source Code
eUserPref_SpaceData_Flag UI options.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
get_pad0
public CArrayFacade<java.lang.Byte> get_pad0() throws java.io.IOException
Get method for struct member '_pad0'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad0
-
set_pad0
public void set_pad0(CArrayFacade<java.lang.Byte> _pad0) throws java.io.IOException
Set method for struct member '_pad0'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad0
-
__io__addressof
public CPointer<UserDef_SpaceData> __io__addressof()
Instantiates a pointer on this instance.
-
-