Class bPythonConstraint
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.bPythonConstraint
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__prop
Field descriptor (offset) for struct member 'prop'.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__targets
Field descriptor (offset) for struct member 'targets'.static long[]
__DNA__FIELD__tarnum
Field descriptor (offset) for struct member 'tarnum'.static long[]
__DNA__FIELD__text
Field descriptor (offset) for struct member 'text'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct bPythonConstraint.-
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 bPythonConstraint(long __address, Block __block, BlockTable __blockTable)
protected
bPythonConstraint(bPythonConstraint that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<bPythonConstraint>
__io__addressof()
Instantiates a pointer on this instance.int
getFlag()
Get method for struct member 'flag'.CPointer<IDProperty>
getProp()
Get method for struct member 'prop'.CArrayFacade<java.lang.Byte>
getSubtarget()
Get method for struct member 'subtarget'.CPointer<BlenderObject>
getTar()
Get method for struct member 'tar'.ListBase
getTargets()
Get method for struct member 'targets'.int
getTarnum()
Get method for struct member 'tarnum'.CPointer<Text>
getText()
Get method for struct member 'text'.void
setFlag(int flag)
Set method for struct member 'flag'.void
setProp(CPointer<IDProperty> prop)
Set method for struct member 'prop'.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
setTargets(ListBase targets)
Set method for struct member 'targets'.void
setTarnum(int tarnum)
Set method for struct member 'tarnum'.void
setText(CPointer<Text> text)
Set method for struct member 'text'.-
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 bPythonConstraint.It is required when allocating a new block to store data for bPythonConstraint.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__text
public static final long[] __DNA__FIELD__text
Field descriptor (offset) for struct member 'text'.Field Documentation
Blender Source Code
Text-buffer (containing script) to execute.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bPythonConstraint bpythonconstraint = ...; CPointer<Object> p = bpythonconstraint.__dna__addressof(bPythonConstraint.__DNA__FIELD__text); CPointer<CPointer<Text>> p_text = p.cast(new Class[]{CPointer.class, Text.class});
Metadata
- Field: 'text'
- Signature: 'Text*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__prop
public static final long[] __DNA__FIELD__prop
Field descriptor (offset) for struct member 'prop'.Field Documentation
Blender Source Code
'id-properties' used to store custom properties for constraint.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bPythonConstraint bpythonconstraint = ...; CPointer<Object> p = bpythonconstraint.__dna__addressof(bPythonConstraint.__DNA__FIELD__prop); CPointer<CPointer<IDProperty>> p_prop = p.cast(new Class[]{CPointer.class, IDProperty.class});
Metadata
- Field: 'prop'
- Signature: 'IDProperty*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Field Documentation
Blender Source Code
General settings/state indicators accessed by bitmapping.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bPythonConstraint bpythonconstraint = ...; CPointer<Object> p = bpythonconstraint.__dna__addressof(bPythonConstraint.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'flag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__tarnum
public static final long[] __DNA__FIELD__tarnum
Field descriptor (offset) for struct member 'tarnum'.Field Documentation
Blender Source Code
Number of targets - usually only 1-3 are needed.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bPythonConstraint bpythonconstraint = ...; CPointer<Object> p = bpythonconstraint.__dna__addressof(bPythonConstraint.__DNA__FIELD__tarnum); CPointer<Integer> p_tarnum = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'tarnum'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__targets
public static final long[] __DNA__FIELD__targets
Field descriptor (offset) for struct member 'targets'.Field Documentation
Blender Source Code
A list of targets that this constraint has (bConstraintTarget-s).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bPythonConstraint bpythonconstraint = ...; CPointer<Object> p = bpythonconstraint.__dna__addressof(bPythonConstraint.__DNA__FIELD__targets); CPointer<ListBase> p_targets = p.cast(new Class[]{ListBase.class});
Metadata
- Field: 'targets'
- Signature: 'ListBase'
- Actual Size (32bit/64bit): 8/16
-
__DNA__FIELD__tar
public static final long[] __DNA__FIELD__tar
Field descriptor (offset) for struct member 'tar'.Field Documentation
Blender Source Code
Target from previous implementation (version-patch sets this to NULL on file-load).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bPythonConstraint bpythonconstraint = ...; CPointer<Object> p = bpythonconstraint.__dna__addressof(bPythonConstraint.__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 from previous implementation (version-patch sets this to "" on file-load), MAX_ID_NAME-2.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bPythonConstraint bpythonconstraint = ...; CPointer<Object> p = bpythonconstraint.__dna__addressof(bPythonConstraint.__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
-
-
Constructor Detail
-
bPythonConstraint
public bPythonConstraint(long __address, Block __block, BlockTable __blockTable)
-
bPythonConstraint
protected bPythonConstraint(bPythonConstraint that)
-
-
Method Detail
-
getText
public CPointer<Text> getText() throws java.io.IOException
Get method for struct member 'text'.Field Documentation
Blender Source Code
Text-buffer (containing script) to execute.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__text
-
setText
public void setText(CPointer<Text> text) throws java.io.IOException
Set method for struct member 'text'.Field Documentation
Blender Source Code
Text-buffer (containing script) to execute.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__text
-
getProp
public CPointer<IDProperty> getProp() throws java.io.IOException
Get method for struct member 'prop'.Field Documentation
Blender Source Code
'id-properties' used to store custom properties for constraint.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prop
-
setProp
public void setProp(CPointer<IDProperty> prop) throws java.io.IOException
Set method for struct member 'prop'.Field Documentation
Blender Source Code
'id-properties' used to store custom properties for constraint.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prop
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Blender Source Code
General settings/state indicators accessed by bitmapping.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(int flag) throws java.io.IOException
Set method for struct member 'flag'.Field Documentation
Blender Source Code
General settings/state indicators accessed by bitmapping.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getTarnum
public int getTarnum() throws java.io.IOException
Get method for struct member 'tarnum'.Field Documentation
Blender Source Code
Number of targets - usually only 1-3 are needed.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tarnum
-
setTarnum
public void setTarnum(int tarnum) throws java.io.IOException
Set method for struct member 'tarnum'.Field Documentation
Blender Source Code
Number of targets - usually only 1-3 are needed.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tarnum
-
getTargets
public ListBase getTargets() throws java.io.IOException
Get method for struct member 'targets'.Field Documentation
Blender Source Code
A list of targets that this constraint has (bConstraintTarget-s).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__targets
-
setTargets
public void setTargets(ListBase targets) throws java.io.IOException
Set method for struct member 'targets'.Field Documentation
Blender Source Code
A list of targets that this constraint has (bConstraintTarget-s).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__targets
-
getTar
public CPointer<BlenderObject> getTar() throws java.io.IOException
Get method for struct member 'tar'.Field Documentation
Blender Source Code
Target from previous implementation (version-patch sets this to NULL on file-load).
- 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
Target from previous implementation (version-patch sets this to NULL on file-load).
- 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 from previous implementation (version-patch sets this to "" on file-load), 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 from previous implementation (version-patch sets this to "" on file-load), MAX_ID_NAME-2.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__subtarget
-
__io__addressof
public CPointer<bPythonConstraint> __io__addressof()
Instantiates a pointer on this instance.
-
-