public class Base extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__lay
Field descriptor (offset) for struct member 'lay'.
|
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__selcol
Field descriptor (offset) for struct member 'selcol'.
|
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.
|
int |
getFlag()
Get method for struct member 'flag'.
|
int |
getLay()
Get method for struct member 'lay'.
|
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'.
|
int |
getSelcol()
Get method for struct member 'selcol'.
|
short |
getSx()
Get method for struct member 'sx'.
|
short |
getSy()
Get method for struct member 'sy'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setLay(int lay)
Set method for struct member 'lay'.
|
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 |
setSelcol(int selcol)
Set method for struct member 'selcol'.
|
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__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__selcol
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__selcol); CPointer<Integer> p_selcol = p.cast(new Class[]{Integer.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)
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<Integer> p_flag = p.cast(new Class[]{Integer.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__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 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 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 getSelcol() throws java.io.IOException
java.io.IOException
__DNA__FIELD__selcol
public void setSelcol(int selcol) throws java.io.IOException
java.io.IOException
__DNA__FIELD__selcol
public int 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)
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int 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)
java.io.IOException
__DNA__FIELD__flag
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 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