Class bShrinkwrapConstraint
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.bShrinkwrapConstraint
-
public class bShrinkwrapConstraint extends CFacade
Generated facet for DNA struct type 'bShrinkwrapConstraint'.Class Documentation
Blender Source Code
ShrinkWrap 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__dist
Field descriptor (offset) for struct member 'dist'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__projAxis
Field descriptor (offset) for struct member 'projAxis'.static long[]
__DNA__FIELD__projAxisSpace
Field descriptor (offset) for struct member 'projAxisSpace'.static long[]
__DNA__FIELD__projLimit
Field descriptor (offset) for struct member 'projLimit'.static long[]
__DNA__FIELD__shrinkMode
Field descriptor (offset) for struct member 'shrinkMode'.static long[]
__DNA__FIELD__shrinkType
Field descriptor (offset) for struct member 'shrinkType'.static long[]
__DNA__FIELD__target
Field descriptor (offset) for struct member 'target'.static long[]
__DNA__FIELD__trackAxis
Field descriptor (offset) for struct member 'trackAxis'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct bShrinkwrapConstraint.-
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 bShrinkwrapConstraint(long __address, Block __block, BlockTable __blockTable)
protected
bShrinkwrapConstraint(bShrinkwrapConstraint that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<bShrinkwrapConstraint>
__io__addressof()
Instantiates a pointer on this instance.byte
get_pad()
Get method for struct member '_pad'.float
getDist()
Get method for struct member 'dist'.byte
getFlag()
Get method for struct member 'flag'.byte
getProjAxis()
Get method for struct member 'projAxis'.byte
getProjAxisSpace()
Get method for struct member 'projAxisSpace'.float
getProjLimit()
Get method for struct member 'projLimit'.byte
getShrinkMode()
Get method for struct member 'shrinkMode'.short
getShrinkType()
Get method for struct member 'shrinkType'.CPointer<BlenderObject>
getTarget()
Get method for struct member 'target'.byte
getTrackAxis()
Get method for struct member 'trackAxis'.void
set_pad(byte _pad)
Set method for struct member '_pad'.void
setDist(float dist)
Set method for struct member 'dist'.void
setFlag(byte flag)
Set method for struct member 'flag'.void
setProjAxis(byte projAxis)
Set method for struct member 'projAxis'.void
setProjAxisSpace(byte projAxisSpace)
Set method for struct member 'projAxisSpace'.void
setProjLimit(float projLimit)
Set method for struct member 'projLimit'.void
setShrinkMode(byte shrinkMode)
Set method for struct member 'shrinkMode'.void
setShrinkType(short shrinkType)
Set method for struct member 'shrinkType'.void
setTarget(CPointer<BlenderObject> target)
Set method for struct member 'target'.void
setTrackAxis(byte trackAxis)
Set method for struct member 'trackAxis'.-
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 bShrinkwrapConstraint.It is required when allocating a new block to store data for bShrinkwrapConstraint.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__target
public static final long[] __DNA__FIELD__target
Field descriptor (offset) for struct member 'target'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bShrinkwrapConstraint bshrinkwrapconstraint = ...; CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__target); CPointer<CPointer<BlenderObject>> p_target = p.cast(new Class[]{CPointer.class, BlenderObject.class});
Metadata
- Field: 'target'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__dist
public static final long[] __DNA__FIELD__dist
Field descriptor (offset) for struct member 'dist'.Field Documentation
Blender Source Code
Distance to kept from target.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bShrinkwrapConstraint bshrinkwrapconstraint = ...; CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__dist); CPointer<Float> p_dist = p.cast(new Class[]{Float.class});
Metadata
- Field: 'dist'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__shrinkType
public static final long[] __DNA__FIELD__shrinkType
Field descriptor (offset) for struct member 'shrinkType'.Field Documentation
Blender Source Code
Shrink type (look on MOD shrinkwrap for values).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bShrinkwrapConstraint bshrinkwrapconstraint = ...; CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__shrinkType); CPointer<Short> p_shrinkType = p.cast(new Class[]{Short.class});
Metadata
- Field: 'shrinkType'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__projAxis
public static final long[] __DNA__FIELD__projAxis
Field descriptor (offset) for struct member 'projAxis'.Field Documentation
Blender Source Code
Axis to project/constrain.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bShrinkwrapConstraint bshrinkwrapconstraint = ...; CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__projAxis); CPointer<Byte> p_projAxis = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'projAxis'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__projAxisSpace
public static final long[] __DNA__FIELD__projAxisSpace
Field descriptor (offset) for struct member 'projAxisSpace'.Field Documentation
Blender Source Code
Space to project axis in.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bShrinkwrapConstraint bshrinkwrapconstraint = ...; CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__projAxisSpace); CPointer<Byte> p_projAxisSpace = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'projAxisSpace'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__projLimit
public static final long[] __DNA__FIELD__projLimit
Field descriptor (offset) for struct member 'projLimit'.Field Documentation
Blender Source Code
Distance to search.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bShrinkwrapConstraint bshrinkwrapconstraint = ...; CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__projLimit); CPointer<Float> p_projLimit = p.cast(new Class[]{Float.class});
Metadata
- Field: 'projLimit'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__shrinkMode
public static final long[] __DNA__FIELD__shrinkMode
Field descriptor (offset) for struct member 'shrinkMode'.Field Documentation
Blender Source Code
Inside/outside/on surface (see MOD shrinkwrap).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bShrinkwrapConstraint bshrinkwrapconstraint = ...; CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__shrinkMode); CPointer<Byte> p_shrinkMode = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'shrinkMode'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Field Documentation
Blender Source Code
Options.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bShrinkwrapConstraint bshrinkwrapconstraint = ...; CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__flag); CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'flag'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__trackAxis
public static final long[] __DNA__FIELD__trackAxis
Field descriptor (offset) for struct member 'trackAxis'.Field Documentation
Blender Source Code
Axis to align to normal.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bShrinkwrapConstraint bshrinkwrapconstraint = ...; CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__trackAxis); CPointer<Byte> p_trackAxis = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'trackAxis'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__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:
bShrinkwrapConstraint bshrinkwrapconstraint = ...; CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD___pad); CPointer<Byte> p__pad = p.cast(new Class[]{Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
-
Constructor Detail
-
bShrinkwrapConstraint
public bShrinkwrapConstraint(long __address, Block __block, BlockTable __blockTable)
-
bShrinkwrapConstraint
protected bShrinkwrapConstraint(bShrinkwrapConstraint that)
-
-
Method Detail
-
getTarget
public CPointer<BlenderObject> getTarget() throws java.io.IOException
Get method for struct member 'target'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__target
-
setTarget
public void setTarget(CPointer<BlenderObject> target) throws java.io.IOException
Set method for struct member 'target'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__target
-
getDist
public float getDist() throws java.io.IOException
Get method for struct member 'dist'.Field Documentation
Blender Source Code
Distance to kept from target.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__dist
-
setDist
public void setDist(float dist) throws java.io.IOException
Set method for struct member 'dist'.Field Documentation
Blender Source Code
Distance to kept from target.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__dist
-
getShrinkType
public short getShrinkType() throws java.io.IOException
Get method for struct member 'shrinkType'.Field Documentation
Blender Source Code
Shrink type (look on MOD shrinkwrap for values).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__shrinkType
-
setShrinkType
public void setShrinkType(short shrinkType) throws java.io.IOException
Set method for struct member 'shrinkType'.Field Documentation
Blender Source Code
Shrink type (look on MOD shrinkwrap for values).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__shrinkType
-
getProjAxis
public byte getProjAxis() throws java.io.IOException
Get method for struct member 'projAxis'.Field Documentation
Blender Source Code
Axis to project/constrain.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__projAxis
-
setProjAxis
public void setProjAxis(byte projAxis) throws java.io.IOException
Set method for struct member 'projAxis'.Field Documentation
Blender Source Code
Axis to project/constrain.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__projAxis
-
getProjAxisSpace
public byte getProjAxisSpace() throws java.io.IOException
Get method for struct member 'projAxisSpace'.Field Documentation
Blender Source Code
Space to project axis in.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__projAxisSpace
-
setProjAxisSpace
public void setProjAxisSpace(byte projAxisSpace) throws java.io.IOException
Set method for struct member 'projAxisSpace'.Field Documentation
Blender Source Code
Space to project axis in.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__projAxisSpace
-
getProjLimit
public float getProjLimit() throws java.io.IOException
Get method for struct member 'projLimit'.Field Documentation
Blender Source Code
Distance to search.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__projLimit
-
setProjLimit
public void setProjLimit(float projLimit) throws java.io.IOException
Set method for struct member 'projLimit'.Field Documentation
Blender Source Code
Distance to search.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__projLimit
-
getShrinkMode
public byte getShrinkMode() throws java.io.IOException
Get method for struct member 'shrinkMode'.Field Documentation
Blender Source Code
Inside/outside/on surface (see MOD shrinkwrap).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__shrinkMode
-
setShrinkMode
public void setShrinkMode(byte shrinkMode) throws java.io.IOException
Set method for struct member 'shrinkMode'.Field Documentation
Blender Source Code
Inside/outside/on surface (see MOD shrinkwrap).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__shrinkMode
-
getFlag
public byte getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Blender Source Code
Options.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(byte flag) throws java.io.IOException
Set method for struct member 'flag'.Field Documentation
Blender Source Code
Options.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getTrackAxis
public byte getTrackAxis() throws java.io.IOException
Get method for struct member 'trackAxis'.Field Documentation
Blender Source Code
Axis to align to normal.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__trackAxis
-
setTrackAxis
public void setTrackAxis(byte trackAxis) throws java.io.IOException
Set method for struct member 'trackAxis'.Field Documentation
Blender Source Code
Axis to align to normal.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__trackAxis
-
get_pad
public 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(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<bShrinkwrapConstraint> __io__addressof()
Instantiates a pointer on this instance.
-
-