Package org.blender.dna
Class WeightedNormalModifierData
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.WeightedNormalModifierData
-
public class WeightedNormalModifierData extends CFacade
Generated facet for DNA struct type 'WeightedNormalModifierData'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__defgrp_name
Field descriptor (offset) for struct member 'defgrp_name'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.static long[]
__DNA__FIELD__modifier
Field descriptor (offset) for struct member 'modifier'.static long[]
__DNA__FIELD__thresh
Field descriptor (offset) for struct member 'thresh'.static long[]
__DNA__FIELD__weight
Field descriptor (offset) for struct member 'weight'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct WeightedNormalModifierData.-
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 WeightedNormalModifierData(long __address, Block __block, BlockTable __blockTable)
protected
WeightedNormalModifierData(WeightedNormalModifierData that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<WeightedNormalModifierData>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
getDefgrp_name()
Get method for struct member 'defgrp_name'.byte
getFlag()
Get method for struct member 'flag'.byte
getMode()
Get method for struct member 'mode'.ModifierData
getModifier()
Get method for struct member 'modifier'.float
getThresh()
Get method for struct member 'thresh'.short
getWeight()
Get method for struct member 'weight'.void
setDefgrp_name(CArrayFacade<java.lang.Byte> defgrp_name)
Set method for struct member 'defgrp_name'.void
setFlag(byte flag)
Set method for struct member 'flag'.void
setMode(byte mode)
Set method for struct member 'mode'.void
setModifier(ModifierData modifier)
Set method for struct member 'modifier'.void
setThresh(float thresh)
Set method for struct member 'thresh'.void
setWeight(short weight)
Set method for struct member 'weight'.-
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 WeightedNormalModifierData.It is required when allocating a new block to store data for WeightedNormalModifierData.
- 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:
WeightedNormalModifierData weightednormalmodifierdata = ...; CPointer<Object> p = weightednormalmodifierdata.__dna__addressof(WeightedNormalModifierData.__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__defgrp_name
public static final long[] __DNA__FIELD__defgrp_name
Field descriptor (offset) for struct member 'defgrp_name'.Field Documentation
Blender Source Code
MAX_VGROUP_NAME.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
WeightedNormalModifierData weightednormalmodifierdata = ...; CPointer<Object> p = weightednormalmodifierdata.__dna__addressof(WeightedNormalModifierData.__DNA__FIELD__defgrp_name); CPointer<CArrayFacade<Byte>> p_defgrp_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'defgrp_name'
- Signature: 'char[64]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__mode
public static final long[] __DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
WeightedNormalModifierData weightednormalmodifierdata = ...; CPointer<Object> p = weightednormalmodifierdata.__dna__addressof(WeightedNormalModifierData.__DNA__FIELD__mode); CPointer<Byte> p_mode = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'mode'
- 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'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
WeightedNormalModifierData weightednormalmodifierdata = ...; CPointer<Object> p = weightednormalmodifierdata.__dna__addressof(WeightedNormalModifierData.__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__weight
public static final long[] __DNA__FIELD__weight
Field descriptor (offset) for struct member 'weight'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
WeightedNormalModifierData weightednormalmodifierdata = ...; CPointer<Object> p = weightednormalmodifierdata.__dna__addressof(WeightedNormalModifierData.__DNA__FIELD__weight); CPointer<Short> p_weight = p.cast(new Class[]{Short.class});
Metadata
- Field: 'weight'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__thresh
public static final long[] __DNA__FIELD__thresh
Field descriptor (offset) for struct member 'thresh'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
WeightedNormalModifierData weightednormalmodifierdata = ...; CPointer<Object> p = weightednormalmodifierdata.__dna__addressof(WeightedNormalModifierData.__DNA__FIELD__thresh); CPointer<Float> p_thresh = p.cast(new Class[]{Float.class});
Metadata
- Field: 'thresh'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
WeightedNormalModifierData
public WeightedNormalModifierData(long __address, Block __block, BlockTable __blockTable)
-
WeightedNormalModifierData
protected WeightedNormalModifierData(WeightedNormalModifierData 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
-
getDefgrp_name
public CArrayFacade<java.lang.Byte> getDefgrp_name() throws java.io.IOException
Get method for struct member 'defgrp_name'.Field Documentation
Blender Source Code
MAX_VGROUP_NAME.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__defgrp_name
-
setDefgrp_name
public void setDefgrp_name(CArrayFacade<java.lang.Byte> defgrp_name) throws java.io.IOException
Set method for struct member 'defgrp_name'.Field Documentation
Blender Source Code
MAX_VGROUP_NAME.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__defgrp_name
-
getMode
public byte getMode() throws java.io.IOException
Get method for struct member 'mode'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mode
-
setMode
public void setMode(byte mode) throws java.io.IOException
Set method for struct member 'mode'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mode
-
getFlag
public byte getFlag() throws java.io.IOException
Get method for struct member 'flag'.- 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'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getWeight
public short getWeight() throws java.io.IOException
Get method for struct member 'weight'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__weight
-
setWeight
public void setWeight(short weight) throws java.io.IOException
Set method for struct member 'weight'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__weight
-
getThresh
public float getThresh() throws java.io.IOException
Get method for struct member 'thresh'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__thresh
-
setThresh
public void setThresh(float thresh) throws java.io.IOException
Set method for struct member 'thresh'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__thresh
-
__io__addressof
public CPointer<WeightedNormalModifierData> __io__addressof()
Instantiates a pointer on this instance.
-
-