Package org.blender.dna
Class LineStyleColorModifier_DistanceFromObject
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.LineStyleColorModifier_DistanceFromObject
-
public class LineStyleColorModifier_DistanceFromObject extends CFacade
Generated facet for DNA struct type 'LineStyleColorModifier_DistanceFromObject'.Class Documentation
Blender Source Code
Distance from
Object
modifiers
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__color_ramp
Field descriptor (offset) for struct member 'color_ramp'.static long[]
__DNA__FIELD__modifier
Field descriptor (offset) for struct member 'modifier'.static long[]
__DNA__FIELD__range_max
Field descriptor (offset) for struct member 'range_max'.static long[]
__DNA__FIELD__range_min
Field descriptor (offset) for struct member 'range_min'.static long[]
__DNA__FIELD__target
Field descriptor (offset) for struct member 'target'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct LineStyleColorModifier_DistanceFromObject.-
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 LineStyleColorModifier_DistanceFromObject(long __address, Block __block, BlockTable __blockTable)
protected
LineStyleColorModifier_DistanceFromObject(LineStyleColorModifier_DistanceFromObject that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<LineStyleColorModifier_DistanceFromObject>
__io__addressof()
Instantiates a pointer on this instance.CPointer<ColorBand>
getColor_ramp()
Get method for struct member 'color_ramp'.LineStyleModifier
getModifier()
Get method for struct member 'modifier'.float
getRange_max()
Get method for struct member 'range_max'.float
getRange_min()
Get method for struct member 'range_min'.CPointer<BlenderObject>
getTarget()
Get method for struct member 'target'.void
setColor_ramp(CPointer<ColorBand> color_ramp)
Set method for struct member 'color_ramp'.void
setModifier(LineStyleModifier modifier)
Set method for struct member 'modifier'.void
setRange_max(float range_max)
Set method for struct member 'range_max'.void
setRange_min(float range_min)
Set method for struct member 'range_min'.void
setTarget(CPointer<BlenderObject> target)
Set method for struct member 'target'.-
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 LineStyleColorModifier_DistanceFromObject.It is required when allocating a new block to store data for LineStyleColorModifier_DistanceFromObject.
- 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:
LineStyleColorModifier_DistanceFromObject linestylecolormodifier_distancefromobject = ...; CPointer<Object> p = linestylecolormodifier_distancefromobject.__dna__addressof(LineStyleColorModifier_DistanceFromObject.__DNA__FIELD__modifier); CPointer<LineStyleModifier> p_modifier = p.cast(new Class[]{LineStyleModifier.class});
Metadata
- Field: 'modifier'
- Signature: 'LineStyleModifier'
- Actual Size (32bit/64bit): 88/96
-
__DNA__FIELD__target
public static final long[] __DNA__FIELD__target
Field descriptor (offset) for struct member 'target'.Field Documentation
Blender Python API
Target object from which the distance is measuredPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LineStyleColorModifier_DistanceFromObject linestylecolormodifier_distancefromobject = ...; CPointer<Object> p = linestylecolormodifier_distancefromobject.__dna__addressof(LineStyleColorModifier_DistanceFromObject.__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__color_ramp
public static final long[] __DNA__FIELD__color_ramp
Field descriptor (offset) for struct member 'color_ramp'.Field Documentation
Blender Python API
(read-only) Color ramp used to change line colorPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LineStyleColorModifier_DistanceFromObject linestylecolormodifier_distancefromobject = ...; CPointer<Object> p = linestylecolormodifier_distancefromobject.__dna__addressof(LineStyleColorModifier_DistanceFromObject.__DNA__FIELD__color_ramp); CPointer<CPointer<ColorBand>> p_color_ramp = p.cast(new Class[]{CPointer.class, ColorBand.class});
Metadata
- Field: 'color_ramp'
- Signature: 'ColorBand*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__range_min
public static final long[] __DNA__FIELD__range_min
Field descriptor (offset) for struct member 'range_min'.Field Documentation
Blender Python API
Lower bound of the input range the mapping is appliedPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LineStyleColorModifier_DistanceFromObject linestylecolormodifier_distancefromobject = ...; CPointer<Object> p = linestylecolormodifier_distancefromobject.__dna__addressof(LineStyleColorModifier_DistanceFromObject.__DNA__FIELD__range_min); CPointer<Float> p_range_min = p.cast(new Class[]{Float.class});
Metadata
- Field: 'range_min'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__range_max
public static final long[] __DNA__FIELD__range_max
Field descriptor (offset) for struct member 'range_max'.Field Documentation
Blender Python API
Upper bound of the input range the mapping is appliedPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LineStyleColorModifier_DistanceFromObject linestylecolormodifier_distancefromobject = ...; CPointer<Object> p = linestylecolormodifier_distancefromobject.__dna__addressof(LineStyleColorModifier_DistanceFromObject.__DNA__FIELD__range_max); CPointer<Float> p_range_max = p.cast(new Class[]{Float.class});
Metadata
- Field: 'range_max'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
LineStyleColorModifier_DistanceFromObject
public LineStyleColorModifier_DistanceFromObject(long __address, Block __block, BlockTable __blockTable)
-
LineStyleColorModifier_DistanceFromObject
protected LineStyleColorModifier_DistanceFromObject(LineStyleColorModifier_DistanceFromObject that)
-
-
Method Detail
-
getModifier
public LineStyleModifier getModifier() throws java.io.IOException
Get method for struct member 'modifier'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__modifier
-
setModifier
public void setModifier(LineStyleModifier modifier) throws java.io.IOException
Set method for struct member 'modifier'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__modifier
-
getTarget
public CPointer<BlenderObject> getTarget() throws java.io.IOException
Get method for struct member 'target'.Field Documentation
Blender Python API
Target object from which the distance is measured- 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'.Field Documentation
Blender Python API
Target object from which the distance is measured- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__target
-
getColor_ramp
public CPointer<ColorBand> getColor_ramp() throws java.io.IOException
Get method for struct member 'color_ramp'.Field Documentation
Blender Python API
(read-only) Color ramp used to change line color- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__color_ramp
-
setColor_ramp
public void setColor_ramp(CPointer<ColorBand> color_ramp) throws java.io.IOException
Set method for struct member 'color_ramp'.Field Documentation
Blender Python API
(read-only) Color ramp used to change line color- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__color_ramp
-
getRange_min
public float getRange_min() throws java.io.IOException
Get method for struct member 'range_min'.Field Documentation
Blender Python API
Lower bound of the input range the mapping is applied- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__range_min
-
setRange_min
public void setRange_min(float range_min) throws java.io.IOException
Set method for struct member 'range_min'.Field Documentation
Blender Python API
Lower bound of the input range the mapping is applied- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__range_min
-
getRange_max
public float getRange_max() throws java.io.IOException
Get method for struct member 'range_max'.Field Documentation
Blender Python API
Upper bound of the input range the mapping is applied- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__range_max
-
setRange_max
public void setRange_max(float range_max) throws java.io.IOException
Set method for struct member 'range_max'.Field Documentation
Blender Python API
Upper bound of the input range the mapping is applied- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__range_max
-
__io__addressof
public CPointer<LineStyleColorModifier_DistanceFromObject> __io__addressof()
Instantiates a pointer on this instance.
-
-