Class bPivotConstraint
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.bPivotConstraint
-
public class bPivotConstraint extends CFacade
Generated facet for DNA struct type 'bPivotConstraint'.Class Documentation
Blender Source Code
Pivot Constraint
-
-
Field Summary
Fields Modifier and Type Field 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.-
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 bPivotConstraint(long __address, Block __block, BlockTable __blockTable)
protected
bPivotConstraint(bPivotConstraint that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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'.-
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 bPivotConstraint.It is required when allocating a new block to store data for bPivotConstraint.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__tar
public static final long[] __DNA__FIELD__tar
Field descriptor (offset) for struct member 'tar'.Field Documentation
Blender Source Code
Pivot Point: Either target object + offset, or just offset is used Target object (optional).
Pointer Arithmetics
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});
Metadata
- Field: 'tar'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__subtarget
public static final long[] __DNA__FIELD__subtarget
Field descriptor (offset) for struct member 'subtarget'.Field Documentation
Blender Source Code
Subtarget name (optional), MAX_ID_NAME-2.
Pointer Arithmetics
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});
Metadata
- Field: 'subtarget'
- Signature: 'char[64]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__offset
public static final long[] __DNA__FIELD__offset
Field descriptor (offset) for struct member 'offset'.Field Documentation
Blender Source Code
Offset from the target to use, regardless of whether it exists.
Pointer Arithmetics
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});
Metadata
- Field: 'offset'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__rotAxis
public static final long[] __DNA__FIELD__rotAxis
Field descriptor (offset) for struct member 'rotAxis'.Field Documentation
Blender Source Code
Rotation-driven activation: This option provides easier one-stop setups for foot-rolls. Rotation axes to consider for this (ePivotConstraint_Axis ).
Pointer Arithmetics
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});
Metadata
- Field: 'rotAxis'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Field Documentation
Blender Source Code
General flags ePivotConstraint_Flag .
Pointer Arithmetics
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});
Metadata
- Field: 'flag'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
-
Constructor Detail
-
bPivotConstraint
public bPivotConstraint(long __address, Block __block, BlockTable __blockTable)
-
bPivotConstraint
protected bPivotConstraint(bPivotConstraint that)
-
-
Method Detail
-
getTar
public CPointer<BlenderObject> getTar() throws java.io.IOException
Get method for struct member 'tar'.Field Documentation
Blender Source Code
Pivot Point: Either target object + offset, or just offset is used Target object (optional).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tar
-
setTar
public void setTar(CPointer<BlenderObject> tar) throws java.io.IOException
Set method for struct member 'tar'.Field Documentation
Blender Source Code
Pivot Point: Either target object + offset, or just offset is used Target object (optional).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tar
-
getSubtarget
public CArrayFacade<java.lang.Byte> getSubtarget() throws java.io.IOException
Get method for struct member 'subtarget'.Field Documentation
Blender Source Code
Subtarget name (optional), MAX_ID_NAME-2.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__subtarget
-
setSubtarget
public void setSubtarget(CArrayFacade<java.lang.Byte> subtarget) throws java.io.IOException
Set method for struct member 'subtarget'.Field Documentation
Blender Source Code
Subtarget name (optional), MAX_ID_NAME-2.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__subtarget
-
getOffset
public CArrayFacade<java.lang.Float> getOffset() throws java.io.IOException
Get method for struct member 'offset'.Field Documentation
Blender Source Code
Offset from the target to use, regardless of whether it exists.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset
-
setOffset
public void setOffset(CArrayFacade<java.lang.Float> offset) throws java.io.IOException
Set method for struct member 'offset'.Field Documentation
Blender Source Code
Offset from the target to use, regardless of whether it exists.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset
-
getRotAxis
public short getRotAxis() throws java.io.IOException
Get method for struct member 'rotAxis'.Field Documentation
Blender Source Code
Rotation-driven activation: This option provides easier one-stop setups for foot-rolls. Rotation axes to consider for this (ePivotConstraint_Axis ).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rotAxis
-
setRotAxis
public void setRotAxis(short rotAxis) throws java.io.IOException
Set method for struct member 'rotAxis'.Field Documentation
Blender Source Code
Rotation-driven activation: This option provides easier one-stop setups for foot-rolls. Rotation axes to consider for this (ePivotConstraint_Axis ).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rotAxis
-
getFlag
public short getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Blender Source Code
General flags ePivotConstraint_Flag .
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(short flag) throws java.io.IOException
Set method for struct member 'flag'.Field Documentation
Blender Source Code
General flags ePivotConstraint_Flag .
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
__io__addressof
public CPointer<bPivotConstraint> __io__addressof()
Instantiates a pointer on this instance.
-
-