Class ArrayModifierData
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.ArrayModifierData
-
public class ArrayModifierData extends CFacade
Generated facet for DNA struct type 'ArrayModifierData'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__count
Field descriptor (offset) for struct member 'count'.static long[]
__DNA__FIELD__curve_ob
Field descriptor (offset) for struct member 'curve_ob'.static long[]
__DNA__FIELD__end_cap
Field descriptor (offset) for struct member 'end_cap'.static long[]
__DNA__FIELD__fit_type
Field descriptor (offset) for struct member 'fit_type'.static long[]
__DNA__FIELD__flags
Field descriptor (offset) for struct member 'flags'.static long[]
__DNA__FIELD__length
Field descriptor (offset) for struct member 'length'.static long[]
__DNA__FIELD__merge_dist
Field descriptor (offset) for struct member 'merge_dist'.static long[]
__DNA__FIELD__modifier
Field descriptor (offset) for struct member 'modifier'.static long[]
__DNA__FIELD__offset
Field descriptor (offset) for struct member 'offset'.static long[]
__DNA__FIELD__offset_ob
Field descriptor (offset) for struct member 'offset_ob'.static long[]
__DNA__FIELD__offset_type
Field descriptor (offset) for struct member 'offset_type'.static long[]
__DNA__FIELD__scale
Field descriptor (offset) for struct member 'scale'.static long[]
__DNA__FIELD__start_cap
Field descriptor (offset) for struct member 'start_cap'.static long[]
__DNA__FIELD__uv_offset
Field descriptor (offset) for struct member 'uv_offset'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct ArrayModifierData.-
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 ArrayModifierData(long __address, Block __block, BlockTable __blockTable)
protected
ArrayModifierData(ArrayModifierData that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<ArrayModifierData>
__io__addressof()
Instantiates a pointer on this instance.int
getCount()
Get method for struct member 'count'.CPointer<BlenderObject>
getCurve_ob()
Get method for struct member 'curve_ob'.CPointer<BlenderObject>
getEnd_cap()
Get method for struct member 'end_cap'.int
getFit_type()
Get method for struct member 'fit_type'.int
getFlags()
Get method for struct member 'flags'.float
getLength()
Get method for struct member 'length'.float
getMerge_dist()
Get method for struct member 'merge_dist'.ModifierData
getModifier()
Get method for struct member 'modifier'.CArrayFacade<java.lang.Float>
getOffset()
Get method for struct member 'offset'.CPointer<BlenderObject>
getOffset_ob()
Get method for struct member 'offset_ob'.int
getOffset_type()
Get method for struct member 'offset_type'.CArrayFacade<java.lang.Float>
getScale()
Get method for struct member 'scale'.CPointer<BlenderObject>
getStart_cap()
Get method for struct member 'start_cap'.CArrayFacade<java.lang.Float>
getUv_offset()
Get method for struct member 'uv_offset'.void
setCount(int count)
Set method for struct member 'count'.void
setCurve_ob(CPointer<BlenderObject> curve_ob)
Set method for struct member 'curve_ob'.void
setEnd_cap(CPointer<BlenderObject> end_cap)
Set method for struct member 'end_cap'.void
setFit_type(int fit_type)
Set method for struct member 'fit_type'.void
setFlags(int flags)
Set method for struct member 'flags'.void
setLength(float length)
Set method for struct member 'length'.void
setMerge_dist(float merge_dist)
Set method for struct member 'merge_dist'.void
setModifier(ModifierData modifier)
Set method for struct member 'modifier'.void
setOffset(CArrayFacade<java.lang.Float> offset)
Set method for struct member 'offset'.void
setOffset_ob(CPointer<BlenderObject> offset_ob)
Set method for struct member 'offset_ob'.void
setOffset_type(int offset_type)
Set method for struct member 'offset_type'.void
setScale(CArrayFacade<java.lang.Float> scale)
Set method for struct member 'scale'.void
setStart_cap(CPointer<BlenderObject> start_cap)
Set method for struct member 'start_cap'.void
setUv_offset(CArrayFacade<java.lang.Float> uv_offset)
Set method for struct member 'uv_offset'.-
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 ArrayModifierData.It is required when allocating a new block to store data for ArrayModifierData.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__modifier
public static final long[] __DNA__FIELD__modifier
Field descriptor (offset) for struct member 'modifier'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ArrayModifierData arraymodifierdata = ...; CPointer<Object> p = arraymodifierdata.__dna__addressof(ArrayModifierData.__DNA__FIELD__modifier); CPointer<ModifierData> p_modifier = p.cast(new Class[]{ModifierData.class});
Metadata
- Field: 'modifier'
- Signature: 'ModifierData'
- Actual Size (32bit/64bit): 100/120
-
__DNA__FIELD__start_cap
public static final long[] __DNA__FIELD__start_cap
Field descriptor (offset) for struct member 'start_cap'.Field Documentation
Blender Source Code
the object with which to cap the start of the array
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ArrayModifierData arraymodifierdata = ...; CPointer<Object> p = arraymodifierdata.__dna__addressof(ArrayModifierData.__DNA__FIELD__start_cap); CPointer<CPointer<BlenderObject>> p_start_cap = p.cast(new Class[]{CPointer.class, BlenderObject.class});
Metadata
- Field: 'start_cap'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__end_cap
public static final long[] __DNA__FIELD__end_cap
Field descriptor (offset) for struct member 'end_cap'.Field Documentation
Blender Source Code
the object with which to cap the end of the array
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ArrayModifierData arraymodifierdata = ...; CPointer<Object> p = arraymodifierdata.__dna__addressof(ArrayModifierData.__DNA__FIELD__end_cap); CPointer<CPointer<BlenderObject>> p_end_cap = p.cast(new Class[]{CPointer.class, BlenderObject.class});
Metadata
- Field: 'end_cap'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__curve_ob
public static final long[] __DNA__FIELD__curve_ob
Field descriptor (offset) for struct member 'curve_ob'.Field Documentation
Blender Source Code
the curve object to use for MOD_ARR_FITCURVE
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ArrayModifierData arraymodifierdata = ...; CPointer<Object> p = arraymodifierdata.__dna__addressof(ArrayModifierData.__DNA__FIELD__curve_ob); CPointer<CPointer<BlenderObject>> p_curve_ob = p.cast(new Class[]{CPointer.class, BlenderObject.class});
Metadata
- Field: 'curve_ob'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__offset_ob
public static final long[] __DNA__FIELD__offset_ob
Field descriptor (offset) for struct member 'offset_ob'.Field Documentation
Blender Source Code
the object to use for object offset
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ArrayModifierData arraymodifierdata = ...; CPointer<Object> p = arraymodifierdata.__dna__addressof(ArrayModifierData.__DNA__FIELD__offset_ob); CPointer<CPointer<BlenderObject>> p_offset_ob = p.cast(new Class[]{CPointer.class, BlenderObject.class});
Metadata
- Field: 'offset_ob'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__offset
public static final long[] __DNA__FIELD__offset
Field descriptor (offset) for struct member 'offset'.Field Documentation
Blender Source Code
a constant duplicate offset; 1 means the duplicates are 1 unit apart
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ArrayModifierData arraymodifierdata = ...; CPointer<Object> p = arraymodifierdata.__dna__addressof(ArrayModifierData.__DNA__FIELD__offset); CPointer<CArrayFacade<Float>> p_offset = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'offset'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__scale
public static final long[] __DNA__FIELD__scale
Field descriptor (offset) for struct member 'scale'.Field Documentation
Blender Source Code
a scaled factor for duplicate offsets; 1 means the duplicates are 1 object-width apart
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ArrayModifierData arraymodifierdata = ...; CPointer<Object> p = arraymodifierdata.__dna__addressof(ArrayModifierData.__DNA__FIELD__scale); CPointer<CArrayFacade<Float>> p_scale = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'scale'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__length
public static final long[] __DNA__FIELD__length
Field descriptor (offset) for struct member 'length'.Field Documentation
Blender Source Code
the length over which to distribute the duplicates
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ArrayModifierData arraymodifierdata = ...; CPointer<Object> p = arraymodifierdata.__dna__addressof(ArrayModifierData.__DNA__FIELD__length); CPointer<Float> p_length = p.cast(new Class[]{Float.class});
Metadata
- Field: 'length'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__merge_dist
public static final long[] __DNA__FIELD__merge_dist
Field descriptor (offset) for struct member 'merge_dist'.Field Documentation
Blender Source Code
the limit below which to merge vertices in adjacent duplicates
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ArrayModifierData arraymodifierdata = ...; CPointer<Object> p = arraymodifierdata.__dna__addressof(ArrayModifierData.__DNA__FIELD__merge_dist); CPointer<Float> p_merge_dist = p.cast(new Class[]{Float.class});
Metadata
- Field: 'merge_dist'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__fit_type
public static final long[] __DNA__FIELD__fit_type
Field descriptor (offset) for struct member 'fit_type'.Field Documentation
Blender Source Code
determines how duplicate count is calculated; one of:
MOD_ARR_FIXEDCOUNT -> fixed
MOD_ARR_FITLENGTH -> calculated to fit a set length
MOD_ARR_FITCURVE -> calculated to fit the length of a
Curve
object
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ArrayModifierData arraymodifierdata = ...; CPointer<Object> p = arraymodifierdata.__dna__addressof(ArrayModifierData.__DNA__FIELD__fit_type); CPointer<Integer> p_fit_type = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'fit_type'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__offset_type
public static final long[] __DNA__FIELD__offset_type
Field descriptor (offset) for struct member 'offset_type'.Field Documentation
Blender Source Code
flags specifying how total offset is calculated; binary OR of:
MOD_ARR_OFF_CONST -> total offset += offset
MOD_ARR_OFF_RELATIVE -> total offset += relative * object width
MOD_ARR_OFF_OBJ -> total offset += offset_ob's matrix total offset is the sum of the individual enabled offsets
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ArrayModifierData arraymodifierdata = ...; CPointer<Object> p = arraymodifierdata.__dna__addressof(ArrayModifierData.__DNA__FIELD__offset_type); CPointer<Integer> p_offset_type = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'offset_type'
- 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'.Field Documentation
Blender Source Code
general flags: MOD_ARR_MERGE -> merge vertices in adjacent duplicates
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ArrayModifierData arraymodifierdata = ...; CPointer<Object> p = arraymodifierdata.__dna__addressof(ArrayModifierData.__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__count
public static final long[] __DNA__FIELD__count
Field descriptor (offset) for struct member 'count'.Field Documentation
Blender Source Code
the number of duplicates to generate for MOD_ARR_FIXEDCOUNT
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ArrayModifierData arraymodifierdata = ...; CPointer<Object> p = arraymodifierdata.__dna__addressof(ArrayModifierData.__DNA__FIELD__count); CPointer<Integer> p_count = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'count'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__uv_offset
public static final long[] __DNA__FIELD__uv_offset
Field descriptor (offset) for struct member 'uv_offset'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ArrayModifierData arraymodifierdata = ...; CPointer<Object> p = arraymodifierdata.__dna__addressof(ArrayModifierData.__DNA__FIELD__uv_offset); CPointer<CArrayFacade<Float>> p_uv_offset = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'uv_offset'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
-
Constructor Detail
-
ArrayModifierData
public ArrayModifierData(long __address, Block __block, BlockTable __blockTable)
-
ArrayModifierData
protected ArrayModifierData(ArrayModifierData that)
-
-
Method Detail
-
getModifier
public ModifierData getModifier() throws java.io.IOException
Get method for struct member 'modifier'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__modifier
-
setModifier
public void setModifier(ModifierData modifier) throws java.io.IOException
Set method for struct member 'modifier'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__modifier
-
getStart_cap
public CPointer<BlenderObject> getStart_cap() throws java.io.IOException
Get method for struct member 'start_cap'.Field Documentation
Blender Source Code
the object with which to cap the start of the array
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__start_cap
-
setStart_cap
public void setStart_cap(CPointer<BlenderObject> start_cap) throws java.io.IOException
Set method for struct member 'start_cap'.Field Documentation
Blender Source Code
the object with which to cap the start of the array
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__start_cap
-
getEnd_cap
public CPointer<BlenderObject> getEnd_cap() throws java.io.IOException
Get method for struct member 'end_cap'.Field Documentation
Blender Source Code
the object with which to cap the end of the array
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__end_cap
-
setEnd_cap
public void setEnd_cap(CPointer<BlenderObject> end_cap) throws java.io.IOException
Set method for struct member 'end_cap'.Field Documentation
Blender Source Code
the object with which to cap the end of the array
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__end_cap
-
getCurve_ob
public CPointer<BlenderObject> getCurve_ob() throws java.io.IOException
Get method for struct member 'curve_ob'.Field Documentation
Blender Source Code
the curve object to use for MOD_ARR_FITCURVE
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__curve_ob
-
setCurve_ob
public void setCurve_ob(CPointer<BlenderObject> curve_ob) throws java.io.IOException
Set method for struct member 'curve_ob'.Field Documentation
Blender Source Code
the curve object to use for MOD_ARR_FITCURVE
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__curve_ob
-
getOffset_ob
public CPointer<BlenderObject> getOffset_ob() throws java.io.IOException
Get method for struct member 'offset_ob'.Field Documentation
Blender Source Code
the object to use for object offset
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset_ob
-
setOffset_ob
public void setOffset_ob(CPointer<BlenderObject> offset_ob) throws java.io.IOException
Set method for struct member 'offset_ob'.Field Documentation
Blender Source Code
the object to use for object offset
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset_ob
-
getOffset
public CArrayFacade<java.lang.Float> getOffset() throws java.io.IOException
Get method for struct member 'offset'.Field Documentation
Blender Source Code
a constant duplicate offset; 1 means the duplicates are 1 unit apart
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset
-
setOffset
public void setOffset(CArrayFacade<java.lang.Float> offset) throws java.io.IOException
Set method for struct member 'offset'.Field Documentation
Blender Source Code
a constant duplicate offset; 1 means the duplicates are 1 unit apart
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset
-
getScale
public CArrayFacade<java.lang.Float> getScale() throws java.io.IOException
Get method for struct member 'scale'.Field Documentation
Blender Source Code
a scaled factor for duplicate offsets; 1 means the duplicates are 1 object-width apart
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scale
-
setScale
public void setScale(CArrayFacade<java.lang.Float> scale) throws java.io.IOException
Set method for struct member 'scale'.Field Documentation
Blender Source Code
a scaled factor for duplicate offsets; 1 means the duplicates are 1 object-width apart
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scale
-
getLength
public float getLength() throws java.io.IOException
Get method for struct member 'length'.Field Documentation
Blender Source Code
the length over which to distribute the duplicates
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__length
-
setLength
public void setLength(float length) throws java.io.IOException
Set method for struct member 'length'.Field Documentation
Blender Source Code
the length over which to distribute the duplicates
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__length
-
getMerge_dist
public float getMerge_dist() throws java.io.IOException
Get method for struct member 'merge_dist'.Field Documentation
Blender Source Code
the limit below which to merge vertices in adjacent duplicates
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__merge_dist
-
setMerge_dist
public void setMerge_dist(float merge_dist) throws java.io.IOException
Set method for struct member 'merge_dist'.Field Documentation
Blender Source Code
the limit below which to merge vertices in adjacent duplicates
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__merge_dist
-
getFit_type
public int getFit_type() throws java.io.IOException
Get method for struct member 'fit_type'.Field Documentation
Blender Source Code
determines how duplicate count is calculated; one of:
MOD_ARR_FIXEDCOUNT -> fixed
MOD_ARR_FITLENGTH -> calculated to fit a set length
MOD_ARR_FITCURVE -> calculated to fit the length of a
Curve
object
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__fit_type
-
setFit_type
public void setFit_type(int fit_type) throws java.io.IOException
Set method for struct member 'fit_type'.Field Documentation
Blender Source Code
determines how duplicate count is calculated; one of:
MOD_ARR_FIXEDCOUNT -> fixed
MOD_ARR_FITLENGTH -> calculated to fit a set length
MOD_ARR_FITCURVE -> calculated to fit the length of a
Curve
object
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__fit_type
-
getOffset_type
public int getOffset_type() throws java.io.IOException
Get method for struct member 'offset_type'.Field Documentation
Blender Source Code
flags specifying how total offset is calculated; binary OR of:
MOD_ARR_OFF_CONST -> total offset += offset
MOD_ARR_OFF_RELATIVE -> total offset += relative * object width
MOD_ARR_OFF_OBJ -> total offset += offset_ob's matrix total offset is the sum of the individual enabled offsets
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset_type
-
setOffset_type
public void setOffset_type(int offset_type) throws java.io.IOException
Set method for struct member 'offset_type'.Field Documentation
Blender Source Code
flags specifying how total offset is calculated; binary OR of:
MOD_ARR_OFF_CONST -> total offset += offset
MOD_ARR_OFF_RELATIVE -> total offset += relative * object width
MOD_ARR_OFF_OBJ -> total offset += offset_ob's matrix total offset is the sum of the individual enabled offsets
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset_type
-
getFlags
public int getFlags() throws java.io.IOException
Get method for struct member 'flags'.Field Documentation
Blender Source Code
general flags: MOD_ARR_MERGE -> merge vertices in adjacent duplicates
- 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'.Field Documentation
Blender Source Code
general flags: MOD_ARR_MERGE -> merge vertices in adjacent duplicates
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flags
-
getCount
public int getCount() throws java.io.IOException
Get method for struct member 'count'.Field Documentation
Blender Source Code
the number of duplicates to generate for MOD_ARR_FIXEDCOUNT
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__count
-
setCount
public void setCount(int count) throws java.io.IOException
Set method for struct member 'count'.Field Documentation
Blender Source Code
the number of duplicates to generate for MOD_ARR_FIXEDCOUNT
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__count
-
getUv_offset
public CArrayFacade<java.lang.Float> getUv_offset() throws java.io.IOException
Get method for struct member 'uv_offset'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uv_offset
-
setUv_offset
public void setUv_offset(CArrayFacade<java.lang.Float> uv_offset) throws java.io.IOException
Set method for struct member 'uv_offset'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uv_offset
-
__io__addressof
public CPointer<ArrayModifierData> __io__addressof()
Instantiates a pointer on this instance.
-
-