public class bPivotConstraint extends CFacade
Pivot Constraint
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__offset
Field descriptor (offset) for struct member 'offset'.
|
static long[] |
__DNA__FIELD__rotAxis
Field descriptor (offset) for struct member 'rotAxis'.
|
static long[] |
__DNA__FIELD__subtarget
Field descriptor (offset) for struct member 'subtarget'.
|
static long[] |
__DNA__FIELD__tar
Field descriptor (offset) for struct member 'tar'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bPivotConstraint.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bPivotConstraint(bPivotConstraint that) |
|
bPivotConstraint(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bPivotConstraint> |
__io__addressof()
Instantiates a pointer on this instance.
|
short |
getFlag()
Get method for struct member 'flag'.
|
CArrayFacade<java.lang.Float> |
getOffset()
Get method for struct member 'offset'.
|
short |
getRotAxis()
Get method for struct member 'rotAxis'.
|
CArrayFacade<java.lang.Byte> |
getSubtarget()
Get method for struct member 'subtarget'.
|
CPointer<BlenderObject> |
getTar()
Get method for struct member 'tar'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setOffset(CArrayFacade<java.lang.Float> offset)
Set method for struct member 'offset'.
|
void |
setRotAxis(short rotAxis)
Set method for struct member 'rotAxis'.
|
void |
setSubtarget(CArrayFacade<java.lang.Byte> subtarget)
Set method for struct member 'subtarget'.
|
void |
setTar(CPointer<BlenderObject> tar)
Set method for struct member 'tar'.
|
__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 bPivotConstraint.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__tar
Pivot Point: Either target object + offset, or just offset is usedtarget object (optional)
This is how you get a reference on the corresponding field in the struct:
bPivotConstraint bpivotconstraint = ...; CPointer<Object> p = bpivotconstraint.__dna__addressof(bPivotConstraint.__DNA__FIELD__tar); CPointer<CPointer<BlenderObject>> p_tar = p.cast(new Class[]{CPointer.class, BlenderObject.class});
public static final long[] __DNA__FIELD__subtarget
subtarget name (optional), MAX_ID_NAME-2
This is how you get a reference on the corresponding field in the struct:
bPivotConstraint bpivotconstraint = ...; CPointer<Object> p = bpivotconstraint.__dna__addressof(bPivotConstraint.__DNA__FIELD__subtarget); CPointer<CArrayFacade<Byte>> p_subtarget = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__offset
offset from the target to use, regardless of whether it exists
This is how you get a reference on the corresponding field in the struct:
bPivotConstraint bpivotconstraint = ...; CPointer<Object> p = bpivotconstraint.__dna__addressof(bPivotConstraint.__DNA__FIELD__offset); CPointer<CArrayFacade<Float>> p_offset = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__rotAxis
Rotation-driven activation: This option provides easier one-stop setups for footrollsrotation axes to consider for this (ePivotConstraint_Axis)
This is how you get a reference on the corresponding field in the struct:
bPivotConstraint bpivotconstraint = ...; CPointer<Object> p = bpivotconstraint.__dna__addressof(bPivotConstraint.__DNA__FIELD__rotAxis); CPointer<Short> p_rotAxis = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__flag
General flags ePivotConstraint_Flag
This is how you get a reference on the corresponding field in the struct:
bPivotConstraint bpivotconstraint = ...; CPointer<Object> p = bpivotconstraint.__dna__addressof(bPivotConstraint.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public bPivotConstraint(long __address, Block __block, BlockTable __blockTable)
protected bPivotConstraint(bPivotConstraint that)
public CPointer<BlenderObject> getTar() throws java.io.IOException
Pivot Point: Either target object + offset, or just offset is usedtarget object (optional)
java.io.IOException
__DNA__FIELD__tar
public void setTar(CPointer<BlenderObject> tar) throws java.io.IOException
Pivot Point: Either target object + offset, or just offset is usedtarget object (optional)
java.io.IOException
__DNA__FIELD__tar
public CArrayFacade<java.lang.Byte> getSubtarget() throws java.io.IOException
subtarget name (optional), MAX_ID_NAME-2
java.io.IOException
__DNA__FIELD__subtarget
public void setSubtarget(CArrayFacade<java.lang.Byte> subtarget) throws java.io.IOException
subtarget name (optional), MAX_ID_NAME-2
java.io.IOException
__DNA__FIELD__subtarget
public CArrayFacade<java.lang.Float> getOffset() throws java.io.IOException
offset from the target to use, regardless of whether it exists
java.io.IOException
__DNA__FIELD__offset
public void setOffset(CArrayFacade<java.lang.Float> offset) throws java.io.IOException
offset from the target to use, regardless of whether it exists
java.io.IOException
__DNA__FIELD__offset
public short getRotAxis() throws java.io.IOException
Rotation-driven activation: This option provides easier one-stop setups for footrollsrotation axes to consider for this (ePivotConstraint_Axis)
java.io.IOException
__DNA__FIELD__rotAxis
public void setRotAxis(short rotAxis) throws java.io.IOException
Rotation-driven activation: This option provides easier one-stop setups for footrollsrotation axes to consider for this (ePivotConstraint_Axis)
java.io.IOException
__DNA__FIELD__rotAxis
public short getFlag() throws java.io.IOException
General flags ePivotConstraint_Flag
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
General flags ePivotConstraint_Flag
java.io.IOException
__DNA__FIELD__flag
public CPointer<bPivotConstraint> __io__addressof()