Class bConstraintTarget
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.bConstraintTarget
-
public class bConstraintTarget extends CFacade
Generated facet for DNA struct type 'bConstraintTarget'.Class Documentation
Blender Source Code
Multiple-target constraints ------------------
This struct defines a constraint target. It is used during constraint solving regardless of how many targets the constraint has.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__matrix
Field descriptor (offset) for struct member 'matrix'.static long[]
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.static long[]
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.static long[]
__DNA__FIELD__rotOrder
Field descriptor (offset) for struct member 'rotOrder'.static long[]
__DNA__FIELD__space
Field descriptor (offset) for struct member 'space'.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 long[]
__DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.static long[]
__DNA__FIELD__weight
Field descriptor (offset) for struct member 'weight'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct bConstraintTarget.-
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 bConstraintTarget(long __address, Block __block, BlockTable __blockTable)
protected
bConstraintTarget(bConstraintTarget that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<bConstraintTarget>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.short
getFlag()
Get method for struct member 'flag'.CArrayFacade<CArrayFacade<java.lang.Float>>
getMatrix()
Get method for struct member 'matrix'.CPointer<bConstraintTarget>
getNext()
Get method for struct member 'next'.CPointer<bConstraintTarget>
getPrev()
Get method for struct member 'prev'.short
getRotOrder()
Get method for struct member 'rotOrder'.short
getSpace()
Get method for struct member 'space'.CArrayFacade<java.lang.Byte>
getSubtarget()
Get method for struct member 'subtarget'.CPointer<BlenderObject>
getTar()
Get method for struct member 'tar'.short
getType()
Get method for struct member 'type'.float
getWeight()
Get method for struct member 'weight'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setMatrix(CArrayFacade<CArrayFacade<java.lang.Float>> matrix)
Set method for struct member 'matrix'.void
setNext(CPointer<bConstraintTarget> next)
Set method for struct member 'next'.void
setPrev(CPointer<bConstraintTarget> prev)
Set method for struct member 'prev'.void
setRotOrder(short rotOrder)
Set method for struct member 'rotOrder'.void
setSpace(short space)
Set method for struct member 'space'.void
setSubtarget(CArrayFacade<java.lang.Byte> subtarget)
Set method for struct member 'subtarget'.void
setTar(CPointer<BlenderObject> tar)
Set method for struct member 'tar'.void
setType(short type)
Set method for struct member 'type'.void
setWeight(float weight)
Set method for struct member 'weight'.-
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 bConstraintTarget.It is required when allocating a new block to store data for bConstraintTarget.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__next
public static final long[] __DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bConstraintTarget bconstrainttarget = ...; CPointer<Object> p = bconstrainttarget.__dna__addressof(bConstraintTarget.__DNA__FIELD__next); CPointer<CPointer<bConstraintTarget>> p_next = p.cast(new Class[]{CPointer.class, bConstraintTarget.class});
Metadata
- Field: 'next'
- Signature: 'bConstraintTarget*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__prev
public static final long[] __DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bConstraintTarget bconstrainttarget = ...; CPointer<Object> p = bconstrainttarget.__dna__addressof(bConstraintTarget.__DNA__FIELD__prev); CPointer<CPointer<bConstraintTarget>> p_prev = p.cast(new Class[]{CPointer.class, bConstraintTarget.class});
Metadata
- Field: 'prev'
- Signature: 'bConstraintTarget*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__tar
public static final long[] __DNA__FIELD__tar
Field descriptor (offset) for struct member 'tar'.Field Documentation
Blender Source Code
Object
to use as target.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bConstraintTarget bconstrainttarget = ...; CPointer<Object> p = bconstrainttarget.__dna__addressof(bConstraintTarget.__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 - pchan or vgroup name, MAX_ID_NAME-2.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bConstraintTarget bconstrainttarget = ...; CPointer<Object> p = bconstrainttarget.__dna__addressof(bConstraintTarget.__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__matrix
public static final long[] __DNA__FIELD__matrix
Field descriptor (offset) for struct member 'matrix'.Field Documentation
Blender Source Code
Matrix used during constraint solving - should be cleared before each use.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bConstraintTarget bconstrainttarget = ...; CPointer<Object> p = bconstrainttarget.__dna__addressof(bConstraintTarget.__DNA__FIELD__matrix); CPointer<CArrayFacade<CArrayFacade<Float>>> p_matrix = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
Metadata
- Field: 'matrix'
- Signature: 'float[4][4]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__space
public static final long[] __DNA__FIELD__space
Field descriptor (offset) for struct member 'space'.Field Documentation
Blender Source Code
Space that target should be evaluated in (overrides bConstraint->tarspace).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bConstraintTarget bconstrainttarget = ...; CPointer<Object> p = bconstrainttarget.__dna__addressof(bConstraintTarget.__DNA__FIELD__space); CPointer<Short> p_space = p.cast(new Class[]{Short.class});
Metadata
- Field: 'space'
- 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
Runtime settings (for editor, etc.).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bConstraintTarget bconstrainttarget = ...; CPointer<Object> p = bconstrainttarget.__dna__addressof(bConstraintTarget.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
Metadata
- Field: 'flag'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__type
public static final long[] __DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.Field Documentation
Blender Source Code
Type of target (eConstraintObType).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bConstraintTarget bconstrainttarget = ...; CPointer<Object> p = bconstrainttarget.__dna__addressof(bConstraintTarget.__DNA__FIELD__type); CPointer<Short> p_type = p.cast(new Class[]{Short.class});
Metadata
- Field: 'type'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__rotOrder
public static final long[] __DNA__FIELD__rotOrder
Field descriptor (offset) for struct member 'rotOrder'.Field Documentation
Blender Source Code
Rotation order for target (as defined in BLI_math.h).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bConstraintTarget bconstrainttarget = ...; CPointer<Object> p = bconstrainttarget.__dna__addressof(bConstraintTarget.__DNA__FIELD__rotOrder); CPointer<Short> p_rotOrder = p.cast(new Class[]{Short.class});
Metadata
- Field: 'rotOrder'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__weight
public static final long[] __DNA__FIELD__weight
Field descriptor (offset) for struct member 'weight'.Field Documentation
Blender Source Code
Weight for armature deform.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bConstraintTarget bconstrainttarget = ...; CPointer<Object> p = bconstrainttarget.__dna__addressof(bConstraintTarget.__DNA__FIELD__weight); CPointer<Float> p_weight = p.cast(new Class[]{Float.class});
Metadata
- Field: 'weight'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD___pad
public static final long[] __DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bConstraintTarget bconstrainttarget = ...; CPointer<Object> p = bconstrainttarget.__dna__addressof(bConstraintTarget.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
bConstraintTarget
public bConstraintTarget(long __address, Block __block, BlockTable __blockTable)
-
bConstraintTarget
protected bConstraintTarget(bConstraintTarget that)
-
-
Method Detail
-
getNext
public CPointer<bConstraintTarget> getNext() throws java.io.IOException
Get method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
setNext
public void setNext(CPointer<bConstraintTarget> next) throws java.io.IOException
Set method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
getPrev
public CPointer<bConstraintTarget> getPrev() throws java.io.IOException
Get method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
setPrev
public void setPrev(CPointer<bConstraintTarget> prev) throws java.io.IOException
Set method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
getTar
public CPointer<BlenderObject> getTar() throws java.io.IOException
Get method for struct member 'tar'.Field Documentation
Blender Source Code
Object
to use as target.- 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
Object
to use as target.- 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 - pchan or vgroup name, 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 - pchan or vgroup name, MAX_ID_NAME-2.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__subtarget
-
getMatrix
public CArrayFacade<CArrayFacade<java.lang.Float>> getMatrix() throws java.io.IOException
Get method for struct member 'matrix'.Field Documentation
Blender Source Code
Matrix used during constraint solving - should be cleared before each use.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__matrix
-
setMatrix
public void setMatrix(CArrayFacade<CArrayFacade<java.lang.Float>> matrix) throws java.io.IOException
Set method for struct member 'matrix'.Field Documentation
Blender Source Code
Matrix used during constraint solving - should be cleared before each use.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__matrix
-
getSpace
public short getSpace() throws java.io.IOException
Get method for struct member 'space'.Field Documentation
Blender Source Code
Space that target should be evaluated in (overrides bConstraint->tarspace).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__space
-
setSpace
public void setSpace(short space) throws java.io.IOException
Set method for struct member 'space'.Field Documentation
Blender Source Code
Space that target should be evaluated in (overrides bConstraint->tarspace).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__space
-
getFlag
public short getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Blender Source Code
Runtime settings (for editor, etc.).
- 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
Runtime settings (for editor, etc.).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getType
public short getType() throws java.io.IOException
Get method for struct member 'type'.Field Documentation
Blender Source Code
Type of target (eConstraintObType).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__type
-
setType
public void setType(short type) throws java.io.IOException
Set method for struct member 'type'.Field Documentation
Blender Source Code
Type of target (eConstraintObType).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__type
-
getRotOrder
public short getRotOrder() throws java.io.IOException
Get method for struct member 'rotOrder'.Field Documentation
Blender Source Code
Rotation order for target (as defined in BLI_math.h).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rotOrder
-
setRotOrder
public void setRotOrder(short rotOrder) throws java.io.IOException
Set method for struct member 'rotOrder'.Field Documentation
Blender Source Code
Rotation order for target (as defined in BLI_math.h).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rotOrder
-
getWeight
public float getWeight() throws java.io.IOException
Get method for struct member 'weight'.Field Documentation
Blender Source Code
Weight for armature deform.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__weight
-
setWeight
public void setWeight(float weight) throws java.io.IOException
Set method for struct member 'weight'.Field Documentation
Blender Source Code
Weight for armature deform.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__weight
-
get_pad
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
Get method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
set_pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
Set method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
__io__addressof
public CPointer<bConstraintTarget> __io__addressof()
Instantiates a pointer on this instance.
-
-