public class bConstraint extends CFacade
A Constraint
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__data
Field descriptor (offset) for struct member 'data'.
|
static long[] |
__DNA__FIELD__enforce
Field descriptor (offset) for struct member 'enforce'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__headtail
Field descriptor (offset) for struct member 'headtail'.
|
static long[] |
__DNA__FIELD__ipo
Deprecated.
Deprecated
Pointer ArithmeticsThis is how you get a reference on the corresponding field in the struct: bConstraint bconstraint = ...; CPointer<Object> p = bconstraint.__dna__addressof(bConstraint.__DNA__FIELD__ipo); CPointer<CPointer<Ipo>> p_ipo = p.cast(new Class[]{CPointer.class, Ipo.class}); Metadata
|
static long[] |
__DNA__FIELD__lin_error
Field descriptor (offset) for struct member 'lin_error'.
|
static long[] |
__DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.
|
static long[] |
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.
|
static long[] |
__DNA__FIELD__ownspace
Field descriptor (offset) for struct member 'ownspace'.
|
static long[] |
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.
|
static long[] |
__DNA__FIELD__rot_error
Field descriptor (offset) for struct member 'rot_error'.
|
static long[] |
__DNA__FIELD__space_object
Field descriptor (offset) for struct member 'space_object'.
|
static long[] |
__DNA__FIELD__space_subtarget
Field descriptor (offset) for struct member 'space_subtarget'.
|
static long[] |
__DNA__FIELD__tarspace
Field descriptor (offset) for struct member 'tarspace'.
|
static long[] |
__DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.
|
static long[] |
__DNA__FIELD__ui_expand_flag
Field descriptor (offset) for struct member 'ui_expand_flag'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bConstraint.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bConstraint(bConstraint that) |
|
bConstraint(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bConstraint> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<java.lang.Object> |
getData()
Get method for struct member 'data'.
|
float |
getEnforce()
Get method for struct member 'enforce'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
float |
getHeadtail()
Get method for struct member 'headtail'.
|
CPointer<Ipo> |
getIpo()
Deprecated.
Deprecated
|
float |
getLin_error()
Get method for struct member 'lin_error'.
|
CArrayFacade<java.lang.Byte> |
getName()
Get method for struct member 'name'.
|
CPointer<bConstraint> |
getNext()
Get method for struct member 'next'.
|
byte |
getOwnspace()
Get method for struct member 'ownspace'.
|
CPointer<bConstraint> |
getPrev()
Get method for struct member 'prev'.
|
float |
getRot_error()
Get method for struct member 'rot_error'.
|
CPointer<BlenderObject> |
getSpace_object()
Get method for struct member 'space_object'.
|
CArrayFacade<java.lang.Byte> |
getSpace_subtarget()
Get method for struct member 'space_subtarget'.
|
byte |
getTarspace()
Get method for struct member 'tarspace'.
|
short |
getType()
Get method for struct member 'type'.
|
short |
getUi_expand_flag()
Get method for struct member 'ui_expand_flag'.
|
void |
setData(CPointer<java.lang.Object> data)
Set method for struct member 'data'.
|
void |
setEnforce(float enforce)
Set method for struct member 'enforce'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setHeadtail(float headtail)
Set method for struct member 'headtail'.
|
void |
setIpo(CPointer<Ipo> ipo)
Deprecated.
Deprecated
|
void |
setLin_error(float lin_error)
Set method for struct member 'lin_error'.
|
void |
setName(CArrayFacade<java.lang.Byte> name)
Set method for struct member 'name'.
|
void |
setNext(CPointer<bConstraint> next)
Set method for struct member 'next'.
|
void |
setOwnspace(byte ownspace)
Set method for struct member 'ownspace'.
|
void |
setPrev(CPointer<bConstraint> prev)
Set method for struct member 'prev'.
|
void |
setRot_error(float rot_error)
Set method for struct member 'rot_error'.
|
void |
setSpace_object(CPointer<BlenderObject> space_object)
Set method for struct member 'space_object'.
|
void |
setSpace_subtarget(CArrayFacade<java.lang.Byte> space_subtarget)
Set method for struct member 'space_subtarget'.
|
void |
setTarspace(byte tarspace)
Set method for struct member 'tarspace'.
|
void |
setType(short type)
Set method for struct member 'type'.
|
void |
setUi_expand_flag(short ui_expand_flag)
Set method for struct member 'ui_expand_flag'.
|
__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 bConstraint.
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:
bConstraint bconstraint = ...; CPointer<Object> p = bconstraint.__dna__addressof(bConstraint.__DNA__FIELD__next); CPointer<CPointer<bConstraint>> p_next = p.cast(new Class[]{CPointer.class, bConstraint.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
bConstraint bconstraint = ...; CPointer<Object> p = bconstraint.__dna__addressof(bConstraint.__DNA__FIELD__prev); CPointer<CPointer<bConstraint>> p_prev = p.cast(new Class[]{CPointer.class, bConstraint.class});
public static final long[] __DNA__FIELD__data
Constraint data (a valid constraint type).
This is how you get a reference on the corresponding field in the struct:
bConstraint bconstraint = ...; CPointer<Object> p = bconstraint.__dna__addressof(bConstraint.__DNA__FIELD__data); CPointer<CPointer<Object>> p_data = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__type
Constraint type.
This is how you get a reference on the corresponding field in the struct:
bConstraint bconstraint = ...; CPointer<Object> p = bconstraint.__dna__addressof(bConstraint.__DNA__FIELD__type); CPointer<Short> p_type = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__flag
Flag - General Settings.
This is how you get a reference on the corresponding field in the struct:
bConstraint bconstraint = ...; CPointer<Object> p = bconstraint.__dna__addressof(bConstraint.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__ownspace
Space that owner should be evaluated in.
This is how you get a reference on the corresponding field in the struct:
bConstraint bconstraint = ...; CPointer<Object> p = bconstraint.__dna__addressof(bConstraint.__DNA__FIELD__ownspace); CPointer<Byte> p_ownspace = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__tarspace
Space that target should be evaluated in (only used if 1 target).
This is how you get a reference on the corresponding field in the struct:
bConstraint bconstraint = ...; CPointer<Object> p = bconstraint.__dna__addressof(bConstraint.__DNA__FIELD__tarspace); CPointer<Byte> p_tarspace = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__ui_expand_flag
An "expand" bit for each of the constraint's (sub)panels (uiPanelDataExpansion).
This is how you get a reference on the corresponding field in the struct:
bConstraint bconstraint = ...; CPointer<Object> p = bconstraint.__dna__addressof(bConstraint.__DNA__FIELD__ui_expand_flag); CPointer<Short> p_ui_expand_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__space_object
Object
to use as target for Custom Space of owner.
This is how you get a reference on the corresponding field in the struct:
bConstraint bconstraint = ...; CPointer<Object> p = bconstraint.__dna__addressof(bConstraint.__DNA__FIELD__space_object); CPointer<CPointer<BlenderObject>> p_space_object = p.cast(new Class[]{CPointer.class, BlenderObject.class});
public static final long[] __DNA__FIELD__space_subtarget
Subtarget for Custom Space of owner - pchan or vgroup name, MAX_ID_NAME-2.
This is how you get a reference on the corresponding field in the struct:
bConstraint bconstraint = ...; CPointer<Object> p = bconstraint.__dna__addressof(bConstraint.__DNA__FIELD__space_subtarget); CPointer<CArrayFacade<Byte>> p_space_subtarget = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__name
Constraint name, MAX_NAME.
This is how you get a reference on the corresponding field in the struct:
bConstraint bconstraint = ...; CPointer<Object> p = bconstraint.__dna__addressof(bConstraint.__DNA__FIELD__name); CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__enforce
Amount of influence exherted by constraint (0.0-1.0).
This is how you get a reference on the corresponding field in the struct:
bConstraint bconstraint = ...; CPointer<Object> p = bconstraint.__dna__addressof(bConstraint.__DNA__FIELD__enforce); CPointer<Float> p_enforce = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__headtail
Point along subtarget bone where the actual target is. 0=head (default for all), 1=tail.
This is how you get a reference on the corresponding field in the struct:
bConstraint bconstraint = ...; CPointer<Object> p = bconstraint.__dna__addressof(bConstraint.__DNA__FIELD__headtail); CPointer<Float> p_headtail = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__ipo
This is how you get a reference on the corresponding field in the struct:
bConstraint bconstraint = ...; CPointer<Object> p = bconstraint.__dna__addressof(bConstraint.__DNA__FIELD__ipo); CPointer<CPointer<Ipo>> p_ipo = p.cast(new Class[]{CPointer.class, Ipo.class});
old animation system, deprecated for 2.5. Local influence ipo or driver
public static final long[] __DNA__FIELD__lin_error
below are readonly fields that are set at runtime by the solver for use in the GE (only IK atm) Residual error on constraint expressed in blender unit.
This is how you get a reference on the corresponding field in the struct:
bConstraint bconstraint = ...; CPointer<Object> p = bconstraint.__dna__addressof(bConstraint.__DNA__FIELD__lin_error); CPointer<Float> p_lin_error = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__rot_error
Residual error on constraint expressed in radiant.
This is how you get a reference on the corresponding field in the struct:
bConstraint bconstraint = ...; CPointer<Object> p = bconstraint.__dna__addressof(bConstraint.__DNA__FIELD__rot_error); CPointer<Float> p_rot_error = p.cast(new Class[]{Float.class});
public bConstraint(long __address, Block __block, BlockTable __blockTable)
protected bConstraint(bConstraint that)
public CPointer<bConstraint> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<bConstraint> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<bConstraint> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<bConstraint> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public CPointer<java.lang.Object> getData() throws java.io.IOException
Constraint data (a valid constraint type).
java.io.IOException
__DNA__FIELD__data
public void setData(CPointer<java.lang.Object> data) throws java.io.IOException
Constraint data (a valid constraint type).
java.io.IOException
__DNA__FIELD__data
public short getType() throws java.io.IOException
Constraint type.
java.io.IOException
__DNA__FIELD__type
public void setType(short type) throws java.io.IOException
Constraint type.
java.io.IOException
__DNA__FIELD__type
public short getFlag() throws java.io.IOException
Flag - General Settings.
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
Flag - General Settings.
java.io.IOException
__DNA__FIELD__flag
public byte getOwnspace() throws java.io.IOException
Space that owner should be evaluated in.
java.io.IOException
__DNA__FIELD__ownspace
public void setOwnspace(byte ownspace) throws java.io.IOException
Space that owner should be evaluated in.
java.io.IOException
__DNA__FIELD__ownspace
public byte getTarspace() throws java.io.IOException
Space that target should be evaluated in (only used if 1 target).
java.io.IOException
__DNA__FIELD__tarspace
public void setTarspace(byte tarspace) throws java.io.IOException
Space that target should be evaluated in (only used if 1 target).
java.io.IOException
__DNA__FIELD__tarspace
public short getUi_expand_flag() throws java.io.IOException
An "expand" bit for each of the constraint's (sub)panels (uiPanelDataExpansion).
java.io.IOException
__DNA__FIELD__ui_expand_flag
public void setUi_expand_flag(short ui_expand_flag) throws java.io.IOException
An "expand" bit for each of the constraint's (sub)panels (uiPanelDataExpansion).
java.io.IOException
__DNA__FIELD__ui_expand_flag
public CPointer<BlenderObject> getSpace_object() throws java.io.IOException
Object
to use as target for Custom Space of owner.
java.io.IOException
__DNA__FIELD__space_object
public void setSpace_object(CPointer<BlenderObject> space_object) throws java.io.IOException
Object
to use as target for Custom Space of owner.
java.io.IOException
__DNA__FIELD__space_object
public CArrayFacade<java.lang.Byte> getSpace_subtarget() throws java.io.IOException
Subtarget for Custom Space of owner - pchan or vgroup name, MAX_ID_NAME-2.
java.io.IOException
__DNA__FIELD__space_subtarget
public void setSpace_subtarget(CArrayFacade<java.lang.Byte> space_subtarget) throws java.io.IOException
Subtarget for Custom Space of owner - pchan or vgroup name, MAX_ID_NAME-2.
java.io.IOException
__DNA__FIELD__space_subtarget
public CArrayFacade<java.lang.Byte> getName() throws java.io.IOException
Constraint name, MAX_NAME.
java.io.IOException
__DNA__FIELD__name
public void setName(CArrayFacade<java.lang.Byte> name) throws java.io.IOException
Constraint name, MAX_NAME.
java.io.IOException
__DNA__FIELD__name
public float getEnforce() throws java.io.IOException
Amount of influence exherted by constraint (0.0-1.0).
java.io.IOException
__DNA__FIELD__enforce
public void setEnforce(float enforce) throws java.io.IOException
Amount of influence exherted by constraint (0.0-1.0).
java.io.IOException
__DNA__FIELD__enforce
public float getHeadtail() throws java.io.IOException
Point along subtarget bone where the actual target is. 0=head (default for all), 1=tail.
java.io.IOException
__DNA__FIELD__headtail
public void setHeadtail(float headtail) throws java.io.IOException
Point along subtarget bone where the actual target is. 0=head (default for all), 1=tail.
java.io.IOException
__DNA__FIELD__headtail
public CPointer<Ipo> getIpo() throws java.io.IOException
old animation system, deprecated for 2.5. Local influence ipo or driver
java.io.IOException
__DNA__FIELD__ipo
public void setIpo(CPointer<Ipo> ipo) throws java.io.IOException
old animation system, deprecated for 2.5. Local influence ipo or driver
java.io.IOException
__DNA__FIELD__ipo
public float getLin_error() throws java.io.IOException
below are readonly fields that are set at runtime by the solver for use in the GE (only IK atm) Residual error on constraint expressed in blender unit.
java.io.IOException
__DNA__FIELD__lin_error
public void setLin_error(float lin_error) throws java.io.IOException
below are readonly fields that are set at runtime by the solver for use in the GE (only IK atm) Residual error on constraint expressed in blender unit.
java.io.IOException
__DNA__FIELD__lin_error
public float getRot_error() throws java.io.IOException
Residual error on constraint expressed in radiant.
java.io.IOException
__DNA__FIELD__rot_error
public void setRot_error(float rot_error) throws java.io.IOException
Residual error on constraint expressed in radiant.
java.io.IOException
__DNA__FIELD__rot_error
public CPointer<bConstraint> __io__addressof()