public class ArrayModifierData extends CFacade
Modifier and Type | Field and 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 int |
__DNA__SDNA_INDEX
This is the sdna index of the struct ArrayModifierData.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
ArrayModifierData(ArrayModifierData that) |
|
ArrayModifierData(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and 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'.
|
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> |
getOffset()
Get method for struct member 'offset'.
|
CArrayFacade<java.lang.Float> |
getScale()
Get method for struct member 'scale'.
|
CPointer<BlenderObject> |
getStart_cap()
Get method for struct member 'start_cap'.
|
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_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 |
setOffset(CArrayFacade<java.lang.Float> offset)
Set method for struct member 'offset'.
|
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'.
|
__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 ArrayModifierData.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__modifier
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});
public static final long[] __DNA__FIELD__start_cap
the object with which to cap the start of the array
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});
public static final long[] __DNA__FIELD__end_cap
the object with which to cap the end of the array
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});
public static final long[] __DNA__FIELD__curve_ob
the curve object to use for MOD_ARR_FITCURVE
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});
public static final long[] __DNA__FIELD__offset_ob
the object to use for object offset
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});
public static final long[] __DNA__FIELD__offset
a constant duplicate offset; 1 means the duplicates are 1 unit apart
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});
public static final long[] __DNA__FIELD__scale
a scaled factor for duplicate offsets; 1 means the duplicates are 1 object-width apart
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});
public static final long[] __DNA__FIELD__length
the length over which to distribute the duplicates
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});
public static final long[] __DNA__FIELD__merge_dist
the limit below which to merge vertices in adjacent duplicates
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});
public static final long[] __DNA__FIELD__fit_type
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
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});
public static final long[] __DNA__FIELD__offset_type
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
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});
public static final long[] __DNA__FIELD__flags
general flags: MOD_ARR_MERGE -> merge vertices in adjacent duplicates
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});
public static final long[] __DNA__FIELD__count
the number of duplicates to generate for MOD_ARR_FIXEDCOUNT
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});
public ArrayModifierData(long __address, Block __block, BlockTable __blockTable)
protected ArrayModifierData(ArrayModifierData that)
public ModifierData getModifier() throws java.io.IOException
java.io.IOException
__DNA__FIELD__modifier
public void setModifier(ModifierData modifier) throws java.io.IOException
java.io.IOException
__DNA__FIELD__modifier
public CPointer<BlenderObject> getStart_cap() throws java.io.IOException
the object with which to cap the start of the array
java.io.IOException
__DNA__FIELD__start_cap
public void setStart_cap(CPointer<BlenderObject> start_cap) throws java.io.IOException
the object with which to cap the start of the array
java.io.IOException
__DNA__FIELD__start_cap
public CPointer<BlenderObject> getEnd_cap() throws java.io.IOException
the object with which to cap the end of the array
java.io.IOException
__DNA__FIELD__end_cap
public void setEnd_cap(CPointer<BlenderObject> end_cap) throws java.io.IOException
the object with which to cap the end of the array
java.io.IOException
__DNA__FIELD__end_cap
public CPointer<BlenderObject> getCurve_ob() throws java.io.IOException
the curve object to use for MOD_ARR_FITCURVE
java.io.IOException
__DNA__FIELD__curve_ob
public void setCurve_ob(CPointer<BlenderObject> curve_ob) throws java.io.IOException
the curve object to use for MOD_ARR_FITCURVE
java.io.IOException
__DNA__FIELD__curve_ob
public CPointer<BlenderObject> getOffset_ob() throws java.io.IOException
the object to use for object offset
java.io.IOException
__DNA__FIELD__offset_ob
public void setOffset_ob(CPointer<BlenderObject> offset_ob) throws java.io.IOException
the object to use for object offset
java.io.IOException
__DNA__FIELD__offset_ob
public CArrayFacade<java.lang.Float> getOffset() throws java.io.IOException
a constant duplicate offset; 1 means the duplicates are 1 unit apart
java.io.IOException
__DNA__FIELD__offset
public void setOffset(CArrayFacade<java.lang.Float> offset) throws java.io.IOException
a constant duplicate offset; 1 means the duplicates are 1 unit apart
java.io.IOException
__DNA__FIELD__offset
public CArrayFacade<java.lang.Float> getScale() throws java.io.IOException
a scaled factor for duplicate offsets; 1 means the duplicates are 1 object-width apart
java.io.IOException
__DNA__FIELD__scale
public void setScale(CArrayFacade<java.lang.Float> scale) throws java.io.IOException
a scaled factor for duplicate offsets; 1 means the duplicates are 1 object-width apart
java.io.IOException
__DNA__FIELD__scale
public float getLength() throws java.io.IOException
the length over which to distribute the duplicates
java.io.IOException
__DNA__FIELD__length
public void setLength(float length) throws java.io.IOException
the length over which to distribute the duplicates
java.io.IOException
__DNA__FIELD__length
public float getMerge_dist() throws java.io.IOException
the limit below which to merge vertices in adjacent duplicates
java.io.IOException
__DNA__FIELD__merge_dist
public void setMerge_dist(float merge_dist) throws java.io.IOException
the limit below which to merge vertices in adjacent duplicates
java.io.IOException
__DNA__FIELD__merge_dist
public int getFit_type() throws java.io.IOException
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
java.io.IOException
__DNA__FIELD__fit_type
public void setFit_type(int fit_type) throws java.io.IOException
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
java.io.IOException
__DNA__FIELD__fit_type
public int getOffset_type() throws java.io.IOException
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
java.io.IOException
__DNA__FIELD__offset_type
public void setOffset_type(int offset_type) throws java.io.IOException
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
java.io.IOException
__DNA__FIELD__offset_type
public int getFlags() throws java.io.IOException
general flags: MOD_ARR_MERGE -> merge vertices in adjacent duplicates
java.io.IOException
__DNA__FIELD__flags
public void setFlags(int flags) throws java.io.IOException
general flags: MOD_ARR_MERGE -> merge vertices in adjacent duplicates
java.io.IOException
__DNA__FIELD__flags
public int getCount() throws java.io.IOException
the number of duplicates to generate for MOD_ARR_FIXEDCOUNT
java.io.IOException
__DNA__FIELD__count
public void setCount(int count) throws java.io.IOException
the number of duplicates to generate for MOD_ARR_FIXEDCOUNT
java.io.IOException
__DNA__FIELD__count
public CPointer<ArrayModifierData> __io__addressof()