Class bTrackToConstraint
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.bTrackToConstraint
-
public class bTrackToConstraint extends CFacade
Generated facet for DNA struct type 'bTrackToConstraint'.Class Documentation
Blender Source Code
Single-target subobject constraints ------------------
Track To Constraint
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__flags
Field descriptor (offset) for struct member 'flags'.static long[]
__DNA__FIELD__reserved1
Field descriptor (offset) for struct member 'reserved1'.static long[]
__DNA__FIELD__reserved2
Field descriptor (offset) for struct member 'reserved2'.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 bTrackToConstraint.-
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 bTrackToConstraint(long __address, Block __block, BlockTable __blockTable)
protected
bTrackToConstraint(bTrackToConstraint that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<bTrackToConstraint>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.int
getFlags()
Get method for struct member 'flags'.int
getReserved1()
Get method for struct member 'reserved1'.int
getReserved2()
Get method for struct member 'reserved2'.CArrayFacade<java.lang.Byte>
getSubtarget()
Get method for struct member 'subtarget'.CPointer<BlenderObject>
getTar()
Get method for struct member 'tar'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setFlags(int flags)
Set method for struct member 'flags'.void
setReserved1(int reserved1)
Set method for struct member 'reserved1'.void
setReserved2(int reserved2)
Set method for struct member 'reserved2'.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 bTrackToConstraint.It is required when allocating a new block to store data for bTrackToConstraint.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__tar
public static final long[] __DNA__FIELD__tar
Field descriptor (offset) for struct member 'tar'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bTrackToConstraint btracktoconstraint = ...; CPointer<Object> p = btracktoconstraint.__dna__addressof(bTrackToConstraint.__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__reserved1
public static final long[] __DNA__FIELD__reserved1
Field descriptor (offset) for struct member 'reserved1'.Field Documentation
Blender Source Code
I'll be using reserved1 and reserved2 as Track and Up flags, not sure if that's what they were intended for anyway. Not sure either if it would create backward incompatibility if I were to rename them.
theeth
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bTrackToConstraint btracktoconstraint = ...; CPointer<Object> p = btracktoconstraint.__dna__addressof(bTrackToConstraint.__DNA__FIELD__reserved1); CPointer<Integer> p_reserved1 = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'reserved1'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__reserved2
public static final long[] __DNA__FIELD__reserved2
Field descriptor (offset) for struct member 'reserved2'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bTrackToConstraint btracktoconstraint = ...; CPointer<Object> p = btracktoconstraint.__dna__addressof(bTrackToConstraint.__DNA__FIELD__reserved2); CPointer<Integer> p_reserved2 = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'reserved2'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__flags
public static final long[] __DNA__FIELD__flags
Field descriptor (offset) for struct member 'flags'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bTrackToConstraint btracktoconstraint = ...; CPointer<Object> p = btracktoconstraint.__dna__addressof(bTrackToConstraint.__DNA__FIELD__flags); CPointer<Integer> p_flags = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'flags'
- Signature: 'int'
- 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:
bTrackToConstraint btracktoconstraint = ...; CPointer<Object> p = btracktoconstraint.__dna__addressof(bTrackToConstraint.__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
-
__DNA__FIELD__subtarget
public static final long[] __DNA__FIELD__subtarget
Field descriptor (offset) for struct member 'subtarget'.Field Documentation
Blender Source Code
MAX_ID_NAME-2.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bTrackToConstraint btracktoconstraint = ...; CPointer<Object> p = btracktoconstraint.__dna__addressof(bTrackToConstraint.__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
-
bTrackToConstraint
public bTrackToConstraint(long __address, Block __block, BlockTable __blockTable)
-
bTrackToConstraint
protected bTrackToConstraint(bTrackToConstraint that)
-
-
Method Detail
-
getTar
public CPointer<BlenderObject> getTar() throws java.io.IOException
Get method for struct member 'tar'.- 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'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tar
-
getReserved1
public int getReserved1() throws java.io.IOException
Get method for struct member 'reserved1'.Field Documentation
Blender Source Code
I'll be using reserved1 and reserved2 as Track and Up flags, not sure if that's what they were intended for anyway. Not sure either if it would create backward incompatibility if I were to rename them.
theeth
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__reserved1
-
setReserved1
public void setReserved1(int reserved1) throws java.io.IOException
Set method for struct member 'reserved1'.Field Documentation
Blender Source Code
I'll be using reserved1 and reserved2 as Track and Up flags, not sure if that's what they were intended for anyway. Not sure either if it would create backward incompatibility if I were to rename them.
theeth
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__reserved1
-
getReserved2
public int getReserved2() throws java.io.IOException
Get method for struct member 'reserved2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__reserved2
-
setReserved2
public void setReserved2(int reserved2) throws java.io.IOException
Set method for struct member 'reserved2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__reserved2
-
getFlags
public int getFlags() throws java.io.IOException
Get method for struct member 'flags'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flags
-
setFlags
public void setFlags(int flags) throws java.io.IOException
Set method for struct member 'flags'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flags
-
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
-
getSubtarget
public CArrayFacade<java.lang.Byte> getSubtarget() throws java.io.IOException
Get method for struct member 'subtarget'.Field Documentation
Blender Source Code
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
MAX_ID_NAME-2.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__subtarget
-
__io__addressof
public CPointer<bTrackToConstraint> __io__addressof()
Instantiates a pointer on this instance.
-
-