Class DashGpencilModifierSegment
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.DashGpencilModifierSegment
-
public class DashGpencilModifierSegment extends CFacade
Generated facet for DNA struct type 'DashGpencilModifierSegment'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__dash
Field descriptor (offset) for struct member 'dash'.static long[]
__DNA__FIELD__dmd
Field descriptor (offset) for struct member 'dmd'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__gap
Field descriptor (offset) for struct member 'gap'.static long[]
__DNA__FIELD__mat_nr
Field descriptor (offset) for struct member 'mat_nr'.static long[]
__DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.static long[]
__DNA__FIELD__opacity
Field descriptor (offset) for struct member 'opacity'.static long[]
__DNA__FIELD__radius
Field descriptor (offset) for struct member 'radius'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct DashGpencilModifierSegment.-
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 DashGpencilModifierSegment(long __address, Block __block, BlockTable __blockTable)
protected
DashGpencilModifierSegment(DashGpencilModifierSegment that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<DashGpencilModifierSegment>
__io__addressof()
Instantiates a pointer on this instance.int
getDash()
Get method for struct member 'dash'.CPointer<DashGpencilModifierData>
getDmd()
Get method for struct member 'dmd'.int
getFlag()
Get method for struct member 'flag'.int
getGap()
Get method for struct member 'gap'.int
getMat_nr()
Get method for struct member 'mat_nr'.CArrayFacade<java.lang.Byte>
getName()
Get method for struct member 'name'.float
getOpacity()
Get method for struct member 'opacity'.float
getRadius()
Get method for struct member 'radius'.void
setDash(int dash)
Set method for struct member 'dash'.void
setDmd(CPointer<DashGpencilModifierData> dmd)
Set method for struct member 'dmd'.void
setFlag(int flag)
Set method for struct member 'flag'.void
setGap(int gap)
Set method for struct member 'gap'.void
setMat_nr(int mat_nr)
Set method for struct member 'mat_nr'.void
setName(CArrayFacade<java.lang.Byte> name)
Set method for struct member 'name'.void
setOpacity(float opacity)
Set method for struct member 'opacity'.void
setRadius(float radius)
Set method for struct member 'radius'.-
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 DashGpencilModifierSegment.It is required when allocating a new block to store data for DashGpencilModifierSegment.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__name
public static final long[] __DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.Field Documentation
Blender Python API
Name of the dash segmentPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DashGpencilModifierSegment dashgpencilmodifiersegment = ...; CPointer<Object> p = dashgpencilmodifiersegment.__dna__addressof(DashGpencilModifierSegment.__DNA__FIELD__name); CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'name'
- Signature: 'char[64]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__dmd
public static final long[] __DNA__FIELD__dmd
Field descriptor (offset) for struct member 'dmd'.Field Documentation
Blender Source Code
For path reference.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DashGpencilModifierSegment dashgpencilmodifiersegment = ...; CPointer<Object> p = dashgpencilmodifiersegment.__dna__addressof(DashGpencilModifierSegment.__DNA__FIELD__dmd); CPointer<CPointer<DashGpencilModifierData>> p_dmd = p.cast(new Class[]{CPointer.class, DashGpencilModifierData.class});
Metadata
- Field: 'dmd'
- Signature: 'DashGpencilModifierData*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__dash
public static final long[] __DNA__FIELD__dash
Field descriptor (offset) for struct member 'dash'.Field Documentation
Blender Python API
The number of consecutive points from the original stroke to include in this segmentPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DashGpencilModifierSegment dashgpencilmodifiersegment = ...; CPointer<Object> p = dashgpencilmodifiersegment.__dna__addressof(DashGpencilModifierSegment.__DNA__FIELD__dash); CPointer<Integer> p_dash = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'dash'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__gap
public static final long[] __DNA__FIELD__gap
Field descriptor (offset) for struct member 'gap'.Field Documentation
Blender Python API
The number of points skipped after this segmentPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DashGpencilModifierSegment dashgpencilmodifiersegment = ...; CPointer<Object> p = dashgpencilmodifiersegment.__dna__addressof(DashGpencilModifierSegment.__DNA__FIELD__gap); CPointer<Integer> p_gap = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'gap'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__radius
public static final long[] __DNA__FIELD__radius
Field descriptor (offset) for struct member 'radius'.Field Documentation
Blender Python API
The factor to apply to the original point's radius for the new pointsPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DashGpencilModifierSegment dashgpencilmodifiersegment = ...; CPointer<Object> p = dashgpencilmodifiersegment.__dna__addressof(DashGpencilModifierSegment.__DNA__FIELD__radius); CPointer<Float> p_radius = p.cast(new Class[]{Float.class});
Metadata
- Field: 'radius'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__opacity
public static final long[] __DNA__FIELD__opacity
Field descriptor (offset) for struct member 'opacity'.Field Documentation
Blender Python API
The factor to apply to the original point's opacity for the new pointsPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DashGpencilModifierSegment dashgpencilmodifiersegment = ...; CPointer<Object> p = dashgpencilmodifiersegment.__dna__addressof(DashGpencilModifierSegment.__DNA__FIELD__opacity); CPointer<Float> p_opacity = p.cast(new Class[]{Float.class});
Metadata
- Field: 'opacity'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__mat_nr
public static final long[] __DNA__FIELD__mat_nr
Field descriptor (offset) for struct member 'mat_nr'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DashGpencilModifierSegment dashgpencilmodifiersegment = ...; CPointer<Object> p = dashgpencilmodifiersegment.__dna__addressof(DashGpencilModifierSegment.__DNA__FIELD__mat_nr); CPointer<Integer> p_mat_nr = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'mat_nr'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__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:
DashGpencilModifierSegment dashgpencilmodifiersegment = ...; CPointer<Object> p = dashgpencilmodifiersegment.__dna__addressof(DashGpencilModifierSegment.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'flag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
DashGpencilModifierSegment
public DashGpencilModifierSegment(long __address, Block __block, BlockTable __blockTable)
-
DashGpencilModifierSegment
protected DashGpencilModifierSegment(DashGpencilModifierSegment that)
-
-
Method Detail
-
getName
public CArrayFacade<java.lang.Byte> getName() throws java.io.IOException
Get method for struct member 'name'.Field Documentation
Blender Python API
Name of the dash segment- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__name
-
setName
public void setName(CArrayFacade<java.lang.Byte> name) throws java.io.IOException
Set method for struct member 'name'.Field Documentation
Blender Python API
Name of the dash segment- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__name
-
getDmd
public CPointer<DashGpencilModifierData> getDmd() throws java.io.IOException
Get method for struct member 'dmd'.Field Documentation
Blender Source Code
For path reference.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__dmd
-
setDmd
public void setDmd(CPointer<DashGpencilModifierData> dmd) throws java.io.IOException
Set method for struct member 'dmd'.Field Documentation
Blender Source Code
For path reference.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__dmd
-
getDash
public int getDash() throws java.io.IOException
Get method for struct member 'dash'.Field Documentation
Blender Python API
The number of consecutive points from the original stroke to include in this segment- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__dash
-
setDash
public void setDash(int dash) throws java.io.IOException
Set method for struct member 'dash'.Field Documentation
Blender Python API
The number of consecutive points from the original stroke to include in this segment- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__dash
-
getGap
public int getGap() throws java.io.IOException
Get method for struct member 'gap'.Field Documentation
Blender Python API
The number of points skipped after this segment- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gap
-
setGap
public void setGap(int gap) throws java.io.IOException
Set method for struct member 'gap'.Field Documentation
Blender Python API
The number of points skipped after this segment- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gap
-
getRadius
public float getRadius() throws java.io.IOException
Get method for struct member 'radius'.Field Documentation
Blender Python API
The factor to apply to the original point's radius for the new points- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__radius
-
setRadius
public void setRadius(float radius) throws java.io.IOException
Set method for struct member 'radius'.Field Documentation
Blender Python API
The factor to apply to the original point's radius for the new points- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__radius
-
getOpacity
public float getOpacity() throws java.io.IOException
Get method for struct member 'opacity'.Field Documentation
Blender Python API
The factor to apply to the original point's opacity for the new points- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__opacity
-
setOpacity
public void setOpacity(float opacity) throws java.io.IOException
Set method for struct member 'opacity'.Field Documentation
Blender Python API
The factor to apply to the original point's opacity for the new points- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__opacity
-
getMat_nr
public int getMat_nr() throws java.io.IOException
Get method for struct member 'mat_nr'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mat_nr
-
setMat_nr
public void setMat_nr(int mat_nr) throws java.io.IOException
Set method for struct member 'mat_nr'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mat_nr
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(int flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
__io__addressof
public CPointer<DashGpencilModifierSegment> __io__addressof()
Instantiates a pointer on this instance.
-
-