Class MaterialGPencilStyle
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.MaterialGPencilStyle
-
public class MaterialGPencilStyle extends CFacade
Generated facet for DNA struct type 'MaterialGPencilStyle'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.static long[]
__DNA__FIELD__alignment_mode
Field descriptor (offset) for struct member 'alignment_mode'.static long[]
__DNA__FIELD__fill_rgba
Field descriptor (offset) for struct member 'fill_rgba'.static long[]
__DNA__FIELD__fill_style
Field descriptor (offset) for struct member 'fill_style'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__gradient_angle
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__gradient_radius
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__gradient_scale
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__gradient_shift
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__gradient_type
Field descriptor (offset) for struct member 'gradient_type'.static long[]
__DNA__FIELD__ima
Field descriptor (offset) for struct member 'ima'.static long[]
__DNA__FIELD__index
Field descriptor (offset) for struct member 'index'.static long[]
__DNA__FIELD__mix_factor
Field descriptor (offset) for struct member 'mix_factor'.static long[]
__DNA__FIELD__mix_rgba
Field descriptor (offset) for struct member 'mix_rgba'.static long[]
__DNA__FIELD__mix_stroke_factor
Field descriptor (offset) for struct member 'mix_stroke_factor'.static long[]
__DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.static long[]
__DNA__FIELD__sima
Field descriptor (offset) for struct member 'sima'.static long[]
__DNA__FIELD__stroke_rgba
Field descriptor (offset) for struct member 'stroke_rgba'.static long[]
__DNA__FIELD__stroke_style
Field descriptor (offset) for struct member 'stroke_style'.static long[]
__DNA__FIELD__texture_angle
Field descriptor (offset) for struct member 'texture_angle'.static long[]
__DNA__FIELD__texture_offset
Field descriptor (offset) for struct member 'texture_offset'.static long[]
__DNA__FIELD__texture_opacity
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__texture_pixsize
Field descriptor (offset) for struct member 'texture_pixsize'.static long[]
__DNA__FIELD__texture_scale
Field descriptor (offset) for struct member 'texture_scale'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct MaterialGPencilStyle.-
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 MaterialGPencilStyle(long __address, Block __block, BlockTable __blockTable)
protected
MaterialGPencilStyle(MaterialGPencilStyle that)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CPointer<MaterialGPencilStyle>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CArrayFacade<java.lang.Byte>
get_pad2()
Get method for struct member '_pad2'.int
getAlignment_mode()
Get method for struct member 'alignment_mode'.CArrayFacade<java.lang.Float>
getFill_rgba()
Get method for struct member 'fill_rgba'.short
getFill_style()
Get method for struct member 'fill_style'.short
getFlag()
Get method for struct member 'flag'.float
getGradient_angle()
Deprecated.Deprecatedfloat
getGradient_radius()
Deprecated.DeprecatedCArrayFacade<java.lang.Float>
getGradient_scale()
Deprecated.DeprecatedCArrayFacade<java.lang.Float>
getGradient_shift()
Deprecated.Deprecatedint
getGradient_type()
Get method for struct member 'gradient_type'.CPointer<Image>
getIma()
Get method for struct member 'ima'.short
getIndex()
Get method for struct member 'index'.float
getMix_factor()
Get method for struct member 'mix_factor'.CArrayFacade<java.lang.Float>
getMix_rgba()
Get method for struct member 'mix_rgba'.float
getMix_stroke_factor()
Get method for struct member 'mix_stroke_factor'.int
getMode()
Get method for struct member 'mode'.CPointer<Image>
getSima()
Get method for struct member 'sima'.CArrayFacade<java.lang.Float>
getStroke_rgba()
Get method for struct member 'stroke_rgba'.short
getStroke_style()
Get method for struct member 'stroke_style'.float
getTexture_angle()
Get method for struct member 'texture_angle'.CArrayFacade<java.lang.Float>
getTexture_offset()
Get method for struct member 'texture_offset'.float
getTexture_opacity()
Deprecated.Deprecatedfloat
getTexture_pixsize()
Get method for struct member 'texture_pixsize'.CArrayFacade<java.lang.Float>
getTexture_scale()
Get method for struct member 'texture_scale'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
set_pad2(CArrayFacade<java.lang.Byte> _pad2)
Set method for struct member '_pad2'.void
setAlignment_mode(int alignment_mode)
Set method for struct member 'alignment_mode'.void
setFill_rgba(CArrayFacade<java.lang.Float> fill_rgba)
Set method for struct member 'fill_rgba'.void
setFill_style(short fill_style)
Set method for struct member 'fill_style'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setGradient_angle(float gradient_angle)
Deprecated.Deprecatedvoid
setGradient_radius(float gradient_radius)
Deprecated.Deprecatedvoid
setGradient_scale(CArrayFacade<java.lang.Float> gradient_scale)
Deprecated.Deprecatedvoid
setGradient_shift(CArrayFacade<java.lang.Float> gradient_shift)
Deprecated.Deprecatedvoid
setGradient_type(int gradient_type)
Set method for struct member 'gradient_type'.void
setIma(CPointer<Image> ima)
Set method for struct member 'ima'.void
setIndex(short index)
Set method for struct member 'index'.void
setMix_factor(float mix_factor)
Set method for struct member 'mix_factor'.void
setMix_rgba(CArrayFacade<java.lang.Float> mix_rgba)
Set method for struct member 'mix_rgba'.void
setMix_stroke_factor(float mix_stroke_factor)
Set method for struct member 'mix_stroke_factor'.void
setMode(int mode)
Set method for struct member 'mode'.void
setSima(CPointer<Image> sima)
Set method for struct member 'sima'.void
setStroke_rgba(CArrayFacade<java.lang.Float> stroke_rgba)
Set method for struct member 'stroke_rgba'.void
setStroke_style(short stroke_style)
Set method for struct member 'stroke_style'.void
setTexture_angle(float texture_angle)
Set method for struct member 'texture_angle'.void
setTexture_offset(CArrayFacade<java.lang.Float> texture_offset)
Set method for struct member 'texture_offset'.void
setTexture_opacity(float texture_opacity)
Deprecated.Deprecatedvoid
setTexture_pixsize(float texture_pixsize)
Set method for struct member 'texture_pixsize'.void
setTexture_scale(CArrayFacade<java.lang.Float> texture_scale)
Set method for struct member 'texture_scale'.-
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 MaterialGPencilStyle.It is required when allocating a new block to store data for MaterialGPencilStyle.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__sima
public static final long[] __DNA__FIELD__sima
Field descriptor (offset) for struct member 'sima'.Field Documentation
Blender Source Code
Texture image for strokes.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__sima); CPointer<CPointer<Image>> p_sima = p.cast(new Class[]{CPointer.class, Image.class});
Metadata
- Field: 'sima'
- Signature: 'Image*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__ima
public static final long[] __DNA__FIELD__ima
Field descriptor (offset) for struct member 'ima'.Field Documentation
Blender Source Code
Texture image for filling.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__ima); CPointer<CPointer<Image>> p_ima = p.cast(new Class[]{CPointer.class, Image.class});
Metadata
- Field: 'ima'
- Signature: 'Image*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__stroke_rgba
public static final long[] __DNA__FIELD__stroke_rgba
Field descriptor (offset) for struct member 'stroke_rgba'.Field Documentation
Blender Source Code
Color for paint and strokes (alpha included).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__stroke_rgba); CPointer<CArrayFacade<Float>> p_stroke_rgba = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'stroke_rgba'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__fill_rgba
public static final long[] __DNA__FIELD__fill_rgba
Field descriptor (offset) for struct member 'fill_rgba'.Field Documentation
Blender Source Code
Color that should be used for drawing "fills" for strokes (alpha included).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__fill_rgba); CPointer<CArrayFacade<Float>> p_fill_rgba = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'fill_rgba'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__mix_rgba
public static final long[] __DNA__FIELD__mix_rgba
Field descriptor (offset) for struct member 'mix_rgba'.Field Documentation
Blender Source Code
Secondary color used for gradients and other stuff.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__mix_rgba); CPointer<CArrayFacade<Float>> p_mix_rgba = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'mix_rgba'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Field Documentation
Blender Source Code
Settings.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
Metadata
- Field: 'flag'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__index
public static final long[] __DNA__FIELD__index
Field descriptor (offset) for struct member 'index'.Field Documentation
Blender Source Code
Custom index for passes.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__index); CPointer<Short> p_index = p.cast(new Class[]{Short.class});
Metadata
- Field: 'index'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__stroke_style
public static final long[] __DNA__FIELD__stroke_style
Field descriptor (offset) for struct member 'stroke_style'.Field Documentation
Blender Python API
Select style used to draw strokesBlender Source Code
Style for drawing strokes (used to select shader type).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__stroke_style); CPointer<Short> p_stroke_style = p.cast(new Class[]{Short.class});
Metadata
- Field: 'stroke_style'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__fill_style
public static final long[] __DNA__FIELD__fill_style
Field descriptor (offset) for struct member 'fill_style'.Field Documentation
Blender Python API
Select style used to fill strokesBlender Source Code
Style for filling areas (used to select shader type).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__fill_style); CPointer<Short> p_fill_style = p.cast(new Class[]{Short.class});
Metadata
- Field: 'fill_style'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__mix_factor
public static final long[] __DNA__FIELD__mix_factor
Field descriptor (offset) for struct member 'mix_factor'.Field Documentation
Blender Python API
Mix FactorBlender Source Code
Factor used to define shader behavior (several uses).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__mix_factor); CPointer<Float> p_mix_factor = p.cast(new Class[]{Float.class});
Metadata
- Field: 'mix_factor'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__gradient_angle
public static final long[] __DNA__FIELD__gradient_angle
Deprecated.DeprecatedPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__gradient_angle); CPointer<Float> p_gradient_angle = p.cast(new Class[]{Float.class});
Metadata
- Field: 'gradient_angle'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
Field descriptor (offset) for struct member 'gradient_angle'.Field Documentation
Blender Source Code
Angle used for gradients orientation.
-
__DNA__FIELD__gradient_radius
public static final long[] __DNA__FIELD__gradient_radius
Deprecated.DeprecatedPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__gradient_radius); CPointer<Float> p_gradient_radius = p.cast(new Class[]{Float.class});
Metadata
- Field: 'gradient_radius'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
Field descriptor (offset) for struct member 'gradient_radius'.Field Documentation
Blender Source Code
Radius for radial gradients.
-
__DNA__FIELD___pad2
public static final long[] __DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD___pad2); CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad2'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__gradient_scale
public static final long[] __DNA__FIELD__gradient_scale
Deprecated.DeprecatedPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__gradient_scale); CPointer<CArrayFacade<Float>> p_gradient_scale = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'gradient_scale'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
Field descriptor (offset) for struct member 'gradient_scale'.Field Documentation
Blender Source Code
Uv coordinates scale.
-
__DNA__FIELD__gradient_shift
public static final long[] __DNA__FIELD__gradient_shift
Deprecated.DeprecatedPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__gradient_shift); CPointer<CArrayFacade<Float>> p_gradient_shift = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'gradient_shift'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
Field descriptor (offset) for struct member 'gradient_shift'.Field Documentation
Blender Source Code
Factor to shift filling in 2d space.
-
__DNA__FIELD__texture_angle
public static final long[] __DNA__FIELD__texture_angle
Field descriptor (offset) for struct member 'texture_angle'.Field Documentation
Blender Python API
Texture Orientation AngleBlender Source Code
Angle used for texture orientation.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__texture_angle); CPointer<Float> p_texture_angle = p.cast(new Class[]{Float.class});
Metadata
- Field: 'texture_angle'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__texture_scale
public static final long[] __DNA__FIELD__texture_scale
Field descriptor (offset) for struct member 'texture_scale'.Field Documentation
Blender Python API
Scale Factor for TextureBlender Source Code
Texture scale (separated of uv scale).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__texture_scale); CPointer<CArrayFacade<Float>> p_texture_scale = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'texture_scale'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__texture_offset
public static final long[] __DNA__FIELD__texture_offset
Field descriptor (offset) for struct member 'texture_offset'.Field Documentation
Blender Python API
Shift Texture in 2d SpaceBlender Source Code
Factor to shift texture in 2d space.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__texture_offset); CPointer<CArrayFacade<Float>> p_texture_offset = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'texture_offset'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__texture_opacity
public static final long[] __DNA__FIELD__texture_opacity
Deprecated.DeprecatedPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__texture_opacity); CPointer<Float> p_texture_opacity = p.cast(new Class[]{Float.class});
Metadata
- Field: 'texture_opacity'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
Field descriptor (offset) for struct member 'texture_opacity'.Field Documentation
Blender Source Code
Texture opacity.
-
__DNA__FIELD__texture_pixsize
public static final long[] __DNA__FIELD__texture_pixsize
Field descriptor (offset) for struct member 'texture_pixsize'.Field Documentation
Blender Source Code
Pixel size for uv along the stroke.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__texture_pixsize); CPointer<Float> p_texture_pixsize = p.cast(new Class[]{Float.class});
Metadata
- Field: 'texture_pixsize'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__mode
public static final long[] __DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.Field Documentation
Blender Python API
Select draw mode for strokeBlender Source Code
Drawing mode (line or dots).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__mode); CPointer<Integer> p_mode = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'mode'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__gradient_type
public static final long[] __DNA__FIELD__gradient_type
Field descriptor (offset) for struct member 'gradient_type'.Field Documentation
Blender Python API
Select type of gradient used to fill strokesBlender Source Code
Type of gradient.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__gradient_type); CPointer<Integer> p_gradient_type = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'gradient_type'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__mix_stroke_factor
public static final long[] __DNA__FIELD__mix_stroke_factor
Field descriptor (offset) for struct member 'mix_stroke_factor'.Field Documentation
Blender Python API
Mix Stroke FactorBlender Source Code
Factor used to mix texture and stroke color.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__mix_stroke_factor); CPointer<Float> p_mix_stroke_factor = p.cast(new Class[]{Float.class});
Metadata
- Field: 'mix_stroke_factor'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__alignment_mode
public static final long[] __DNA__FIELD__alignment_mode
Field descriptor (offset) for struct member 'alignment_mode'.Field Documentation
Blender Python API
Defines how align Dots and Boxes with drawing path and object rotationBlender Source Code
Mode used to align Dots and Boxes with stroke drawing path and object rotation
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD__alignment_mode); CPointer<Integer> p_alignment_mode = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'alignment_mode'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD___pad
public static final long[] __DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaterialGPencilStyle materialgpencilstyle = ...; CPointer<Object> p = materialgpencilstyle.__dna__addressof(MaterialGPencilStyle.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
MaterialGPencilStyle
public MaterialGPencilStyle(long __address, Block __block, BlockTable __blockTable)
-
MaterialGPencilStyle
protected MaterialGPencilStyle(MaterialGPencilStyle that)
-
-
Method Detail
-
getSima
public CPointer<Image> getSima() throws java.io.IOException
Get method for struct member 'sima'.Field Documentation
Blender Source Code
Texture image for strokes.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sima
-
setSima
public void setSima(CPointer<Image> sima) throws java.io.IOException
Set method for struct member 'sima'.Field Documentation
Blender Source Code
Texture image for strokes.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__sima
-
getIma
public CPointer<Image> getIma() throws java.io.IOException
Get method for struct member 'ima'.Field Documentation
Blender Source Code
Texture image for filling.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ima
-
setIma
public void setIma(CPointer<Image> ima) throws java.io.IOException
Set method for struct member 'ima'.Field Documentation
Blender Source Code
Texture image for filling.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ima
-
getStroke_rgba
public CArrayFacade<java.lang.Float> getStroke_rgba() throws java.io.IOException
Get method for struct member 'stroke_rgba'.Field Documentation
Blender Source Code
Color for paint and strokes (alpha included).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__stroke_rgba
-
setStroke_rgba
public void setStroke_rgba(CArrayFacade<java.lang.Float> stroke_rgba) throws java.io.IOException
Set method for struct member 'stroke_rgba'.Field Documentation
Blender Source Code
Color for paint and strokes (alpha included).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__stroke_rgba
-
getFill_rgba
public CArrayFacade<java.lang.Float> getFill_rgba() throws java.io.IOException
Get method for struct member 'fill_rgba'.Field Documentation
Blender Source Code
Color that should be used for drawing "fills" for strokes (alpha included).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__fill_rgba
-
setFill_rgba
public void setFill_rgba(CArrayFacade<java.lang.Float> fill_rgba) throws java.io.IOException
Set method for struct member 'fill_rgba'.Field Documentation
Blender Source Code
Color that should be used for drawing "fills" for strokes (alpha included).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__fill_rgba
-
getMix_rgba
public CArrayFacade<java.lang.Float> getMix_rgba() throws java.io.IOException
Get method for struct member 'mix_rgba'.Field Documentation
Blender Source Code
Secondary color used for gradients and other stuff.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mix_rgba
-
setMix_rgba
public void setMix_rgba(CArrayFacade<java.lang.Float> mix_rgba) throws java.io.IOException
Set method for struct member 'mix_rgba'.Field Documentation
Blender Source Code
Secondary color used for gradients and other stuff.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mix_rgba
-
getFlag
public short getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Blender Source Code
Settings.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(short flag) throws java.io.IOException
Set method for struct member 'flag'.Field Documentation
Blender Source Code
Settings.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getIndex
public short getIndex() throws java.io.IOException
Get method for struct member 'index'.Field Documentation
Blender Source Code
Custom index for passes.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__index
-
setIndex
public void setIndex(short index) throws java.io.IOException
Set method for struct member 'index'.Field Documentation
Blender Source Code
Custom index for passes.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__index
-
getStroke_style
public short getStroke_style() throws java.io.IOException
Get method for struct member 'stroke_style'.Field Documentation
Blender Python API
Select style used to draw strokesBlender Source Code
Style for drawing strokes (used to select shader type).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__stroke_style
-
setStroke_style
public void setStroke_style(short stroke_style) throws java.io.IOException
Set method for struct member 'stroke_style'.Field Documentation
Blender Python API
Select style used to draw strokesBlender Source Code
Style for drawing strokes (used to select shader type).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__stroke_style
-
getFill_style
public short getFill_style() throws java.io.IOException
Get method for struct member 'fill_style'.Field Documentation
Blender Python API
Select style used to fill strokesBlender Source Code
Style for filling areas (used to select shader type).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__fill_style
-
setFill_style
public void setFill_style(short fill_style) throws java.io.IOException
Set method for struct member 'fill_style'.Field Documentation
Blender Python API
Select style used to fill strokesBlender Source Code
Style for filling areas (used to select shader type).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__fill_style
-
getMix_factor
public float getMix_factor() throws java.io.IOException
Get method for struct member 'mix_factor'.Field Documentation
Blender Python API
Mix FactorBlender Source Code
Factor used to define shader behavior (several uses).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mix_factor
-
setMix_factor
public void setMix_factor(float mix_factor) throws java.io.IOException
Set method for struct member 'mix_factor'.Field Documentation
Blender Python API
Mix FactorBlender Source Code
Factor used to define shader behavior (several uses).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mix_factor
-
getGradient_angle
public float getGradient_angle() throws java.io.IOException
Deprecated.DeprecatedGet method for struct member 'gradient_angle'.Field Documentation
Blender Source Code
Angle used for gradients orientation.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gradient_angle
-
setGradient_angle
public void setGradient_angle(float gradient_angle) throws java.io.IOException
Deprecated.DeprecatedSet method for struct member 'gradient_angle'.Field Documentation
Blender Source Code
Angle used for gradients orientation.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gradient_angle
-
getGradient_radius
public float getGradient_radius() throws java.io.IOException
Deprecated.DeprecatedGet method for struct member 'gradient_radius'.Field Documentation
Blender Source Code
Radius for radial gradients.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gradient_radius
-
setGradient_radius
public void setGradient_radius(float gradient_radius) throws java.io.IOException
Deprecated.DeprecatedSet method for struct member 'gradient_radius'.Field Documentation
Blender Source Code
Radius for radial gradients.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gradient_radius
-
get_pad2
public CArrayFacade<java.lang.Byte> get_pad2() throws java.io.IOException
Get method for struct member '_pad2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad2
-
set_pad2
public void set_pad2(CArrayFacade<java.lang.Byte> _pad2) throws java.io.IOException
Set method for struct member '_pad2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad2
-
getGradient_scale
public CArrayFacade<java.lang.Float> getGradient_scale() throws java.io.IOException
Deprecated.DeprecatedGet method for struct member 'gradient_scale'.Field Documentation
Blender Source Code
Uv coordinates scale.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gradient_scale
-
setGradient_scale
public void setGradient_scale(CArrayFacade<java.lang.Float> gradient_scale) throws java.io.IOException
Deprecated.DeprecatedSet method for struct member 'gradient_scale'.Field Documentation
Blender Source Code
Uv coordinates scale.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gradient_scale
-
getGradient_shift
public CArrayFacade<java.lang.Float> getGradient_shift() throws java.io.IOException
Deprecated.DeprecatedGet method for struct member 'gradient_shift'.Field Documentation
Blender Source Code
Factor to shift filling in 2d space.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gradient_shift
-
setGradient_shift
public void setGradient_shift(CArrayFacade<java.lang.Float> gradient_shift) throws java.io.IOException
Deprecated.DeprecatedSet method for struct member 'gradient_shift'.Field Documentation
Blender Source Code
Factor to shift filling in 2d space.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gradient_shift
-
getTexture_angle
public float getTexture_angle() throws java.io.IOException
Get method for struct member 'texture_angle'.Field Documentation
Blender Python API
Texture Orientation AngleBlender Source Code
Angle used for texture orientation.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__texture_angle
-
setTexture_angle
public void setTexture_angle(float texture_angle) throws java.io.IOException
Set method for struct member 'texture_angle'.Field Documentation
Blender Python API
Texture Orientation AngleBlender Source Code
Angle used for texture orientation.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__texture_angle
-
getTexture_scale
public CArrayFacade<java.lang.Float> getTexture_scale() throws java.io.IOException
Get method for struct member 'texture_scale'.Field Documentation
Blender Python API
Scale Factor for TextureBlender Source Code
Texture scale (separated of uv scale).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__texture_scale
-
setTexture_scale
public void setTexture_scale(CArrayFacade<java.lang.Float> texture_scale) throws java.io.IOException
Set method for struct member 'texture_scale'.Field Documentation
Blender Python API
Scale Factor for TextureBlender Source Code
Texture scale (separated of uv scale).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__texture_scale
-
getTexture_offset
public CArrayFacade<java.lang.Float> getTexture_offset() throws java.io.IOException
Get method for struct member 'texture_offset'.Field Documentation
Blender Python API
Shift Texture in 2d SpaceBlender Source Code
Factor to shift texture in 2d space.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__texture_offset
-
setTexture_offset
public void setTexture_offset(CArrayFacade<java.lang.Float> texture_offset) throws java.io.IOException
Set method for struct member 'texture_offset'.Field Documentation
Blender Python API
Shift Texture in 2d SpaceBlender Source Code
Factor to shift texture in 2d space.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__texture_offset
-
getTexture_opacity
public float getTexture_opacity() throws java.io.IOException
Deprecated.DeprecatedGet method for struct member 'texture_opacity'.Field Documentation
Blender Source Code
Texture opacity.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__texture_opacity
-
setTexture_opacity
public void setTexture_opacity(float texture_opacity) throws java.io.IOException
Deprecated.DeprecatedSet method for struct member 'texture_opacity'.Field Documentation
Blender Source Code
Texture opacity.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__texture_opacity
-
getTexture_pixsize
public float getTexture_pixsize() throws java.io.IOException
Get method for struct member 'texture_pixsize'.Field Documentation
Blender Source Code
Pixel size for uv along the stroke.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__texture_pixsize
-
setTexture_pixsize
public void setTexture_pixsize(float texture_pixsize) throws java.io.IOException
Set method for struct member 'texture_pixsize'.Field Documentation
Blender Source Code
Pixel size for uv along the stroke.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__texture_pixsize
-
getMode
public int getMode() throws java.io.IOException
Get method for struct member 'mode'.Field Documentation
Blender Python API
Select draw mode for strokeBlender Source Code
Drawing mode (line or dots).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mode
-
setMode
public void setMode(int mode) throws java.io.IOException
Set method for struct member 'mode'.Field Documentation
Blender Python API
Select draw mode for strokeBlender Source Code
Drawing mode (line or dots).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mode
-
getGradient_type
public int getGradient_type() throws java.io.IOException
Get method for struct member 'gradient_type'.Field Documentation
Blender Python API
Select type of gradient used to fill strokesBlender Source Code
Type of gradient.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gradient_type
-
setGradient_type
public void setGradient_type(int gradient_type) throws java.io.IOException
Set method for struct member 'gradient_type'.Field Documentation
Blender Python API
Select type of gradient used to fill strokesBlender Source Code
Type of gradient.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gradient_type
-
getMix_stroke_factor
public float getMix_stroke_factor() throws java.io.IOException
Get method for struct member 'mix_stroke_factor'.Field Documentation
Blender Python API
Mix Stroke FactorBlender Source Code
Factor used to mix texture and stroke color.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mix_stroke_factor
-
setMix_stroke_factor
public void setMix_stroke_factor(float mix_stroke_factor) throws java.io.IOException
Set method for struct member 'mix_stroke_factor'.Field Documentation
Blender Python API
Mix Stroke FactorBlender Source Code
Factor used to mix texture and stroke color.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mix_stroke_factor
-
getAlignment_mode
public int getAlignment_mode() throws java.io.IOException
Get method for struct member 'alignment_mode'.Field Documentation
Blender Python API
Defines how align Dots and Boxes with drawing path and object rotationBlender Source Code
Mode used to align Dots and Boxes with stroke drawing path and object rotation
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__alignment_mode
-
setAlignment_mode
public void setAlignment_mode(int alignment_mode) throws java.io.IOException
Set method for struct member 'alignment_mode'.Field Documentation
Blender Python API
Defines how align Dots and Boxes with drawing path and object rotationBlender Source Code
Mode used to align Dots and Boxes with stroke drawing path and object rotation
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__alignment_mode
-
get_pad
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
Get method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
set_pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
Set method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
__io__addressof
public CPointer<MaterialGPencilStyle> __io__addressof()
Instantiates a pointer on this instance.
-
-