public class Base extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.
|
static long[] |
__DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.
|
static long[] |
__DNA__FIELD__base_orig
Field descriptor (offset) for struct member 'base_orig'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__flag_from_collection
Field descriptor (offset) for struct member 'flag_from_collection'.
|
static long[] |
__DNA__FIELD__flag_legacy
Field descriptor (offset) for struct member 'flag_legacy'.
|
static long[] |
__DNA__FIELD__lay
Deprecated.
Deprecated
Pointer ArithmeticsThis is how you get a reference on the corresponding field in the struct: Base base = ...; CPointer<Object> p = base.__dna__addressof(Base.__DNA__FIELD__lay); CPointer<Integer> p_lay = p.cast(new Class[]{Integer.class}); Metadata
|
static long[] |
__DNA__FIELD__local_collections_bits
Field descriptor (offset) for struct member 'local_collections_bits'.
|
static long[] |
__DNA__FIELD__local_view_bits
Field descriptor (offset) for struct member 'local_view_bits'.
|
static long[] |
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.
|
static long[] |
__DNA__FIELD__object
Field descriptor (offset) for struct member 'object'.
|
static long[] |
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.
|
static long[] |
__DNA__FIELD__sx
Field descriptor (offset) for struct member 'sx'.
|
static long[] |
__DNA__FIELD__sy
Field descriptor (offset) for struct member 'sy'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct Base.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
Base(Base that) |
|
Base(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<Base> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<java.lang.Object> |
get_pad()
Get method for struct member '_pad'.
|
CArrayFacade<java.lang.Byte> |
get_pad1()
Get method for struct member '_pad1'.
|
CArrayFacade<java.lang.Short> |
get_pad2()
Get method for struct member '_pad2'.
|
CPointer<Base> |
getBase_orig()
Get method for struct member 'base_orig'.
|
short |
getFlag_from_collection()
Get method for struct member 'flag_from_collection'.
|
int |
getFlag_legacy()
Get method for struct member 'flag_legacy'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
int |
getLay()
Deprecated.
Deprecated
|
short |
getLocal_collections_bits()
Get method for struct member 'local_collections_bits'.
|
short |
getLocal_view_bits()
Get method for struct member 'local_view_bits'.
|
CPointer<Base> |
getNext()
Get method for struct member 'next'.
|
CPointer<BlenderObject> |
getObject()
Get method for struct member 'object'.
|
CPointer<Base> |
getPrev()
Get method for struct member 'prev'.
|
short |
getSx()
Get method for struct member 'sx'.
|
short |
getSy()
Get method for struct member 'sy'.
|
void |
set_pad(CPointer<java.lang.Object> _pad)
Set method for struct member '_pad'.
|
void |
set_pad1(CArrayFacade<java.lang.Byte> _pad1)
Set method for struct member '_pad1'.
|
void |
set_pad2(CArrayFacade<java.lang.Short> _pad2)
Set method for struct member '_pad2'.
|
void |
setBase_orig(CPointer<Base> base_orig)
Set method for struct member 'base_orig'.
|
void |
setFlag_from_collection(short flag_from_collection)
Set method for struct member 'flag_from_collection'.
|
void |
setFlag_legacy(int flag_legacy)
Set method for struct member 'flag_legacy'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setLay(int lay)
Deprecated.
Deprecated
|
void |
setLocal_collections_bits(short local_collections_bits)
Set method for struct member 'local_collections_bits'.
|
void |
setLocal_view_bits(short local_view_bits)
Set method for struct member 'local_view_bits'.
|
void |
setNext(CPointer<Base> next)
Set method for struct member 'next'.
|
void |
setObject(CPointer<BlenderObject> object)
Set method for struct member 'object'.
|
void |
setPrev(CPointer<Base> prev)
Set method for struct member 'prev'.
|
void |
setSx(short sx)
Set method for struct member 'sx'.
|
void |
setSy(short sy)
Set method for struct member 'sy'.
|
__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 Base.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__next
This is how you get a reference on the corresponding field in the struct:
Base base = ...; CPointer<Object> p = base.__dna__addressof(Base.__DNA__FIELD__next); CPointer<CPointer<Base>> p_next = p.cast(new Class[]{CPointer.class, Base.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
Base base = ...; CPointer<Object> p = base.__dna__addressof(Base.__DNA__FIELD__prev); CPointer<CPointer<Base>> p_prev = p.cast(new Class[]{CPointer.class, Base.class});
public static final long[] __DNA__FIELD__flag_from_collection
Flags which are based on the collections flags evaluation, does not include flags from object's restrictions.
This is how you get a reference on the corresponding field in the struct:
Base base = ...; CPointer<Object> p = base.__dna__addressof(Base.__DNA__FIELD__flag_from_collection); CPointer<Short> p_flag_from_collection = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__flag
BA_WAS_SEL (1 << 1) BA_HAS_RECALC_OB (1 << 2) BA_HAS_RECALC_DATA (1 << 3) // NOTE: this was used as a proper setting in past, so nullify before using BA_TEMP_TAG (1 << 5) // BA_FROMSET (1 << 7) //UNUSED BA_TRANSFORM_CHILD (1 << 8) // child of a transformed object BA_TRANSFORM_PARENT (1 << 13) // parent of a transformed object // an initial attempt as making selection more specific! BA_DESELECT 0 BA_SELECT 1 OB_FROMDUPLI (1 << 9) OB_DONE (1 << 10) // unknown state, clear before use // OB_RADIO (1 << 11) // deprecated OB_FROMGROUP (1 << 12)
Final flags, including both accumulated collection flags and object's restriction flags.
This is how you get a reference on the corresponding field in the struct:
Base base = ...; CPointer<Object> p = base.__dna__addressof(Base.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__local_view_bits
This is how you get a reference on the corresponding field in the struct:
Base base = ...; CPointer<Object> p = base.__dna__addressof(Base.__DNA__FIELD__local_view_bits); CPointer<Short> p_local_view_bits = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__sx
This is how you get a reference on the corresponding field in the struct:
Base base = ...; CPointer<Object> p = base.__dna__addressof(Base.__DNA__FIELD__sx); CPointer<Short> p_sx = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__sy
This is how you get a reference on the corresponding field in the struct:
Base base = ...; CPointer<Object> p = base.__dna__addressof(Base.__DNA__FIELD__sy); CPointer<Short> p_sy = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD___pad1
This is how you get a reference on the corresponding field in the struct:
Base base = ...; CPointer<Object> p = base.__dna__addressof(Base.__DNA__FIELD___pad1); CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__object
This is how you get a reference on the corresponding field in the struct:
Base base = ...; CPointer<Object> p = base.__dna__addressof(Base.__DNA__FIELD__object); CPointer<CPointer<BlenderObject>> p_object = p.cast(new Class[]{CPointer.class, BlenderObject.class});
public static final long[] __DNA__FIELD__lay
This is how you get a reference on the corresponding field in the struct:
Base base = ...; CPointer<Object> p = base.__dna__addressof(Base.__DNA__FIELD__lay); CPointer<Integer> p_lay = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__flag_legacy
This is how you get a reference on the corresponding field in the struct:
Base base = ...; CPointer<Object> p = base.__dna__addressof(Base.__DNA__FIELD__flag_legacy); CPointer<Integer> p_flag_legacy = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__local_collections_bits
This is how you get a reference on the corresponding field in the struct:
Base base = ...; CPointer<Object> p = base.__dna__addressof(Base.__DNA__FIELD__local_collections_bits); CPointer<Short> p_local_collections_bits = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD___pad2
This is how you get a reference on the corresponding field in the struct:
Base base = ...; CPointer<Object> p = base.__dna__addressof(Base.__DNA__FIELD___pad2); CPointer<CArrayFacade<Short>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Short.class});
public static final long[] __DNA__FIELD__base_orig
Pointer to an original base. Is initialized for evaluated view layer. NOTE: Only allowed to be accessed from within active dependency graph.
This is how you get a reference on the corresponding field in the struct:
Base base = ...; CPointer<Object> p = base.__dna__addressof(Base.__DNA__FIELD__base_orig); CPointer<CPointer<Base>> p_base_orig = p.cast(new Class[]{CPointer.class, Base.class});
public static final long[] __DNA__FIELD___pad
This is how you get a reference on the corresponding field in the struct:
Base base = ...; CPointer<Object> p = base.__dna__addressof(Base.__DNA__FIELD___pad); CPointer<CPointer<Object>> p__pad = p.cast(new Class[]{CPointer.class, Object.class});
public Base(long __address, Block __block, BlockTable __blockTable)
protected Base(Base that)
public CPointer<Base> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<Base> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<Base> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<Base> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public short getFlag_from_collection() throws java.io.IOException
Flags which are based on the collections flags evaluation, does not include flags from object's restrictions.
java.io.IOException
__DNA__FIELD__flag_from_collection
public void setFlag_from_collection(short flag_from_collection) throws java.io.IOException
Flags which are based on the collections flags evaluation, does not include flags from object's restrictions.
java.io.IOException
__DNA__FIELD__flag_from_collection
public short getFlag() throws java.io.IOException
BA_WAS_SEL (1 << 1) BA_HAS_RECALC_OB (1 << 2) BA_HAS_RECALC_DATA (1 << 3) // NOTE: this was used as a proper setting in past, so nullify before using BA_TEMP_TAG (1 << 5) // BA_FROMSET (1 << 7) //UNUSED BA_TRANSFORM_CHILD (1 << 8) // child of a transformed object BA_TRANSFORM_PARENT (1 << 13) // parent of a transformed object // an initial attempt as making selection more specific! BA_DESELECT 0 BA_SELECT 1 OB_FROMDUPLI (1 << 9) OB_DONE (1 << 10) // unknown state, clear before use // OB_RADIO (1 << 11) // deprecated OB_FROMGROUP (1 << 12)
Final flags, including both accumulated collection flags and object's restriction flags.
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
BA_WAS_SEL (1 << 1) BA_HAS_RECALC_OB (1 << 2) BA_HAS_RECALC_DATA (1 << 3) // NOTE: this was used as a proper setting in past, so nullify before using BA_TEMP_TAG (1 << 5) // BA_FROMSET (1 << 7) //UNUSED BA_TRANSFORM_CHILD (1 << 8) // child of a transformed object BA_TRANSFORM_PARENT (1 << 13) // parent of a transformed object // an initial attempt as making selection more specific! BA_DESELECT 0 BA_SELECT 1 OB_FROMDUPLI (1 << 9) OB_DONE (1 << 10) // unknown state, clear before use // OB_RADIO (1 << 11) // deprecated OB_FROMGROUP (1 << 12)
Final flags, including both accumulated collection flags and object's restriction flags.
java.io.IOException
__DNA__FIELD__flag
public short getLocal_view_bits() throws java.io.IOException
java.io.IOException
__DNA__FIELD__local_view_bits
public void setLocal_view_bits(short local_view_bits) throws java.io.IOException
java.io.IOException
__DNA__FIELD__local_view_bits
public short getSx() throws java.io.IOException
java.io.IOException
__DNA__FIELD__sx
public void setSx(short sx) throws java.io.IOException
java.io.IOException
__DNA__FIELD__sx
public short getSy() throws java.io.IOException
java.io.IOException
__DNA__FIELD__sy
public void setSy(short sy) throws java.io.IOException
java.io.IOException
__DNA__FIELD__sy
public CArrayFacade<java.lang.Byte> get_pad1() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad1
public void set_pad1(CArrayFacade<java.lang.Byte> _pad1) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad1
public CPointer<BlenderObject> getObject() throws java.io.IOException
java.io.IOException
__DNA__FIELD__object
public void setObject(CPointer<BlenderObject> object) throws java.io.IOException
java.io.IOException
__DNA__FIELD__object
public int getLay() throws java.io.IOException
java.io.IOException
__DNA__FIELD__lay
public void setLay(int lay) throws java.io.IOException
java.io.IOException
__DNA__FIELD__lay
public int getFlag_legacy() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag_legacy
public void setFlag_legacy(int flag_legacy) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag_legacy
public short getLocal_collections_bits() throws java.io.IOException
java.io.IOException
__DNA__FIELD__local_collections_bits
public void setLocal_collections_bits(short local_collections_bits) throws java.io.IOException
java.io.IOException
__DNA__FIELD__local_collections_bits
public CArrayFacade<java.lang.Short> get_pad2() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad2
public void set_pad2(CArrayFacade<java.lang.Short> _pad2) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad2
public CPointer<Base> getBase_orig() throws java.io.IOException
Pointer to an original base. Is initialized for evaluated view layer. NOTE: Only allowed to be accessed from within active dependency graph.
java.io.IOException
__DNA__FIELD__base_orig
public void setBase_orig(CPointer<Base> base_orig) throws java.io.IOException
Pointer to an original base. Is initialized for evaluated view layer. NOTE: Only allowed to be accessed from within active dependency graph.
java.io.IOException
__DNA__FIELD__base_orig
public CPointer<java.lang.Object> get_pad() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CPointer<java.lang.Object> _pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad