public class Material extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.
|
static long[] |
__DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.
|
static long[] |
__DNA__FIELD___pad3
Field descriptor (offset) for struct member '_pad3'.
|
static long[] |
__DNA__FIELD__a
Field descriptor (offset) for struct member 'a'.
|
static long[] |
__DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.
|
static long[] |
__DNA__FIELD__alpha
Deprecated.
Deprecated
Pointer ArithmeticsThis is how you get a reference on the corresponding field in the struct: Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__alpha); CPointer<Float> p_alpha = p.cast(new Class[]{Float.class}); Metadata
|
static long[] |
__DNA__FIELD__alpha_threshold
Field descriptor (offset) for struct member 'alpha_threshold'.
|
static long[] |
__DNA__FIELD__b
Field descriptor (offset) for struct member 'b'.
|
static long[] |
__DNA__FIELD__blend_flag
Field descriptor (offset) for struct member 'blend_flag'.
|
static long[] |
__DNA__FIELD__blend_method
Field descriptor (offset) for struct member 'blend_method'.
|
static long[] |
__DNA__FIELD__blend_shadow
Field descriptor (offset) for struct member 'blend_shadow'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__g
Field descriptor (offset) for struct member 'g'.
|
static long[] |
__DNA__FIELD__gloss_mir
Deprecated.
Deprecated
Pointer ArithmeticsThis is how you get a reference on the corresponding field in the struct: Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__gloss_mir); CPointer<Float> p_gloss_mir = p.cast(new Class[]{Float.class}); Metadata
|
static long[] |
__DNA__FIELD__gp_style
Field descriptor (offset) for struct member 'gp_style'.
|
static long[] |
__DNA__FIELD__gpumaterial
Field descriptor (offset) for struct member 'gpumaterial'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__index
Field descriptor (offset) for struct member 'index'.
|
static long[] |
__DNA__FIELD__ipo
Deprecated.
Deprecated
Pointer ArithmeticsThis is how you get a reference on the corresponding field in the struct: Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__ipo); CPointer<CPointer<Ipo>> p_ipo = p.cast(new Class[]{CPointer.class, Ipo.class}); Metadata
|
static long[] |
__DNA__FIELD__line_col
Field descriptor (offset) for struct member 'line_col'.
|
static long[] |
__DNA__FIELD__line_priority
Field descriptor (offset) for struct member 'line_priority'.
|
static long[] |
__DNA__FIELD__lineart
Field descriptor (offset) for struct member 'lineart'.
|
static long[] |
__DNA__FIELD__metallic
Field descriptor (offset) for struct member 'metallic'.
|
static long[] |
__DNA__FIELD__nodetree
Field descriptor (offset) for struct member 'nodetree'.
|
static long[] |
__DNA__FIELD__paint_active_slot
Field descriptor (offset) for struct member 'paint_active_slot'.
|
static long[] |
__DNA__FIELD__paint_clone_slot
Field descriptor (offset) for struct member 'paint_clone_slot'.
|
static long[] |
__DNA__FIELD__pr_flag
Field descriptor (offset) for struct member 'pr_flag'.
|
static long[] |
__DNA__FIELD__pr_texture
Field descriptor (offset) for struct member 'pr_texture'.
|
static long[] |
__DNA__FIELD__pr_type
Field descriptor (offset) for struct member 'pr_type'.
|
static long[] |
__DNA__FIELD__preview
Field descriptor (offset) for struct member 'preview'.
|
static long[] |
__DNA__FIELD__r
Field descriptor (offset) for struct member 'r'.
|
static long[] |
__DNA__FIELD__ray_mirror
Deprecated.
Deprecated
Pointer ArithmeticsThis is how you get a reference on the corresponding field in the struct: Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__ray_mirror); CPointer<Float> p_ray_mirror = p.cast(new Class[]{Float.class}); Metadata
|
static long[] |
__DNA__FIELD__refract_depth
Field descriptor (offset) for struct member 'refract_depth'.
|
static long[] |
__DNA__FIELD__roughness
Field descriptor (offset) for struct member 'roughness'.
|
static long[] |
__DNA__FIELD__spec
Field descriptor (offset) for struct member 'spec'.
|
static long[] |
__DNA__FIELD__specb
Field descriptor (offset) for struct member 'specb'.
|
static long[] |
__DNA__FIELD__specg
Field descriptor (offset) for struct member 'specg'.
|
static long[] |
__DNA__FIELD__specr
Field descriptor (offset) for struct member 'specr'.
|
static long[] |
__DNA__FIELD__texpaintslot
Field descriptor (offset) for struct member 'texpaintslot'.
|
static long[] |
__DNA__FIELD__tot_slots
Field descriptor (offset) for struct member 'tot_slots'.
|
static long[] |
__DNA__FIELD__use_nodes
Field descriptor (offset) for struct member 'use_nodes'.
|
static long[] |
__DNA__FIELD__vcol_alpha
Field descriptor (offset) for struct member 'vcol_alpha'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct Material.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
Material(long __address,
Block __block,
BlockTable __blockTable) |
protected |
Material(Material that) |
Modifier and Type | Method and Description |
---|---|
CPointer<Material> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad1()
Get method for struct member '_pad1'.
|
CArrayFacade<java.lang.Byte> |
get_pad2()
Get method for struct member '_pad2'.
|
CArrayFacade<java.lang.Byte> |
get_pad3()
Get method for struct member '_pad3'.
|
float |
getA()
Get method for struct member 'a'.
|
CPointer<AnimData> |
getAdt()
Get method for struct member 'adt'.
|
float |
getAlpha_threshold()
Get method for struct member 'alpha_threshold'.
|
float |
getAlpha()
Deprecated.
Deprecated
|
float |
getB()
Get method for struct member 'b'.
|
byte |
getBlend_flag()
Get method for struct member 'blend_flag'.
|
byte |
getBlend_method()
Get method for struct member 'blend_method'.
|
byte |
getBlend_shadow()
Get method for struct member 'blend_shadow'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
float |
getG()
Get method for struct member 'g'.
|
float |
getGloss_mir()
Deprecated.
Deprecated
|
CPointer<MaterialGPencilStyle> |
getGp_style()
Get method for struct member 'gp_style'.
|
ListBase |
getGpumaterial()
Get method for struct member 'gpumaterial'.
|
ID |
getId()
Get method for struct member 'id'.
|
short |
getIndex()
Get method for struct member 'index'.
|
CPointer<Ipo> |
getIpo()
Deprecated.
Deprecated
|
CArrayFacade<java.lang.Float> |
getLine_col()
Get method for struct member 'line_col'.
|
short |
getLine_priority()
Get method for struct member 'line_priority'.
|
MaterialLineArt |
getLineart()
Get method for struct member 'lineart'.
|
float |
getMetallic()
Get method for struct member 'metallic'.
|
CPointer<bNodeTree> |
getNodetree()
Get method for struct member 'nodetree'.
|
short |
getPaint_active_slot()
Get method for struct member 'paint_active_slot'.
|
short |
getPaint_clone_slot()
Get method for struct member 'paint_clone_slot'.
|
short |
getPr_flag()
Get method for struct member 'pr_flag'.
|
short |
getPr_texture()
Get method for struct member 'pr_texture'.
|
byte |
getPr_type()
Get method for struct member 'pr_type'.
|
CPointer<PreviewImage> |
getPreview()
Get method for struct member 'preview'.
|
float |
getR()
Get method for struct member 'r'.
|
float |
getRay_mirror()
Deprecated.
Deprecated
|
float |
getRefract_depth()
Get method for struct member 'refract_depth'.
|
float |
getRoughness()
Get method for struct member 'roughness'.
|
float |
getSpec()
Get method for struct member 'spec'.
|
float |
getSpecb()
Get method for struct member 'specb'.
|
float |
getSpecg()
Get method for struct member 'specg'.
|
float |
getSpecr()
Get method for struct member 'specr'.
|
CPointer<TexPaintSlot> |
getTexpaintslot()
Get method for struct member 'texpaintslot'.
|
short |
getTot_slots()
Get method for struct member 'tot_slots'.
|
byte |
getUse_nodes()
Get method for struct member 'use_nodes'.
|
short |
getVcol_alpha()
Get method for struct member 'vcol_alpha'.
|
void |
set_pad1(CArrayFacade<java.lang.Byte> _pad1)
Set method for struct member '_pad1'.
|
void |
set_pad2(CArrayFacade<java.lang.Byte> _pad2)
Set method for struct member '_pad2'.
|
void |
set_pad3(CArrayFacade<java.lang.Byte> _pad3)
Set method for struct member '_pad3'.
|
void |
setA(float a)
Set method for struct member 'a'.
|
void |
setAdt(CPointer<AnimData> adt)
Set method for struct member 'adt'.
|
void |
setAlpha_threshold(float alpha_threshold)
Set method for struct member 'alpha_threshold'.
|
void |
setAlpha(float alpha)
Deprecated.
Deprecated
|
void |
setB(float b)
Set method for struct member 'b'.
|
void |
setBlend_flag(byte blend_flag)
Set method for struct member 'blend_flag'.
|
void |
setBlend_method(byte blend_method)
Set method for struct member 'blend_method'.
|
void |
setBlend_shadow(byte blend_shadow)
Set method for struct member 'blend_shadow'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setG(float g)
Set method for struct member 'g'.
|
void |
setGloss_mir(float gloss_mir)
Deprecated.
Deprecated
|
void |
setGp_style(CPointer<MaterialGPencilStyle> gp_style)
Set method for struct member 'gp_style'.
|
void |
setGpumaterial(ListBase gpumaterial)
Set method for struct member 'gpumaterial'.
|
void |
setId(ID id)
Set method for struct member 'id'.
|
void |
setIndex(short index)
Set method for struct member 'index'.
|
void |
setIpo(CPointer<Ipo> ipo)
Deprecated.
Deprecated
|
void |
setLine_col(CArrayFacade<java.lang.Float> line_col)
Set method for struct member 'line_col'.
|
void |
setLine_priority(short line_priority)
Set method for struct member 'line_priority'.
|
void |
setLineart(MaterialLineArt lineart)
Set method for struct member 'lineart'.
|
void |
setMetallic(float metallic)
Set method for struct member 'metallic'.
|
void |
setNodetree(CPointer<bNodeTree> nodetree)
Set method for struct member 'nodetree'.
|
void |
setPaint_active_slot(short paint_active_slot)
Set method for struct member 'paint_active_slot'.
|
void |
setPaint_clone_slot(short paint_clone_slot)
Set method for struct member 'paint_clone_slot'.
|
void |
setPr_flag(short pr_flag)
Set method for struct member 'pr_flag'.
|
void |
setPr_texture(short pr_texture)
Set method for struct member 'pr_texture'.
|
void |
setPr_type(byte pr_type)
Set method for struct member 'pr_type'.
|
void |
setPreview(CPointer<PreviewImage> preview)
Set method for struct member 'preview'.
|
void |
setR(float r)
Set method for struct member 'r'.
|
void |
setRay_mirror(float ray_mirror)
Deprecated.
Deprecated
|
void |
setRefract_depth(float refract_depth)
Set method for struct member 'refract_depth'.
|
void |
setRoughness(float roughness)
Set method for struct member 'roughness'.
|
void |
setSpec(float spec)
Set method for struct member 'spec'.
|
void |
setSpecb(float specb)
Set method for struct member 'specb'.
|
void |
setSpecg(float specg)
Set method for struct member 'specg'.
|
void |
setSpecr(float specr)
Set method for struct member 'specr'.
|
void |
setTexpaintslot(CPointer<TexPaintSlot> texpaintslot)
Set method for struct member 'texpaintslot'.
|
void |
setTot_slots(short tot_slots)
Set method for struct member 'tot_slots'.
|
void |
setUse_nodes(byte use_nodes)
Set method for struct member 'use_nodes'.
|
void |
setVcol_alpha(short vcol_alpha)
Set method for struct member 'vcol_alpha'.
|
__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 Material.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__id
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
public static final long[] __DNA__FIELD__adt
Animation data (must be immediately after id for utilities to use it).
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__adt); CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD___pad1
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD___pad1); CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__r
Colors from Blender Internal that we are still using.
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__r); CPointer<Float> p_r = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__g
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__g); CPointer<Float> p_g = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__b
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__b); CPointer<Float> p_b = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__a
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__a); CPointer<Float> p_a = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__specr
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__specr); CPointer<Float> p_specr = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__specg
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__specg); CPointer<Float> p_specg = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__specb
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__specb); CPointer<Float> p_specb = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__alpha
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__alpha); CPointer<Float> p_alpha = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__ray_mirror
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__ray_mirror); CPointer<Float> p_ray_mirror = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__spec
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__spec); CPointer<Float> p_spec = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__gloss_mir
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__gloss_mir); CPointer<Float> p_gloss_mir = p.cast(new Class[]{Float.class});
Renamed and inversed to roughness.
public static final long[] __DNA__FIELD__roughness
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__roughness); CPointer<Float> p_roughness = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__metallic
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__metallic); CPointer<Float> p_metallic = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__use_nodes
Nodes
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__use_nodes); CPointer<Byte> p_use_nodes = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__pr_type
Preview render.
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__pr_type); CPointer<Byte> p_pr_type = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__pr_texture
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__pr_texture); CPointer<Short> p_pr_texture = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__pr_flag
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__pr_flag); CPointer<Short> p_pr_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__index
Index for render passes.
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__index); CPointer<Short> p_index = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__nodetree
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__nodetree); CPointer<CPointer<bNodeTree>> p_nodetree = p.cast(new Class[]{CPointer.class, bNodeTree.class});
public static final long[] __DNA__FIELD__ipo
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__ipo); CPointer<CPointer<Ipo>> p_ipo = p.cast(new Class[]{CPointer.class, Ipo.class});
Old animation system, deprecated for 2.5.
public static final long[] __DNA__FIELD__preview
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__preview); CPointer<CPointer<PreviewImage>> p_preview = p.cast(new Class[]{CPointer.class, PreviewImage.class});
public static final long[] __DNA__FIELD__line_col
Freestyle line settings.
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__line_col); CPointer<CArrayFacade<Float>> p_line_col = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__line_priority
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__line_priority); CPointer<Short> p_line_priority = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__vcol_alpha
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__vcol_alpha); CPointer<Short> p_vcol_alpha = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__paint_active_slot
Texture painting slots.
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__paint_active_slot); CPointer<Short> p_paint_active_slot = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__paint_clone_slot
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__paint_clone_slot); CPointer<Short> p_paint_clone_slot = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__tot_slots
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__tot_slots); CPointer<Short> p_tot_slots = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD___pad2
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD___pad2); CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__alpha_threshold
Transparency.
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__alpha_threshold); CPointer<Float> p_alpha_threshold = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__refract_depth
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__refract_depth); CPointer<Float> p_refract_depth = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__blend_method
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__blend_method); CPointer<Byte> p_blend_method = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__blend_shadow
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__blend_shadow); CPointer<Byte> p_blend_shadow = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__blend_flag
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__blend_flag); CPointer<Byte> p_blend_flag = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD___pad3
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD___pad3); CPointer<CArrayFacade<Byte>> p__pad3 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__texpaintslot
Cached slots for texture painting, must be refreshed in refresh_texpaint_image_cache before using.
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__texpaintslot); CPointer<CPointer<TexPaintSlot>> p_texpaintslot = p.cast(new Class[]{CPointer.class, TexPaintSlot.class});
public static final long[] __DNA__FIELD__gpumaterial
Runtime cache for GLSL materials.
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__gpumaterial); CPointer<ListBase> p_gpumaterial = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__gp_style
Grease pencil color.
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__gp_style); CPointer<CPointer<MaterialGPencilStyle>> p_gp_style = p.cast(new Class[]{CPointer.class, MaterialGPencilStyle.class});
public static final long[] __DNA__FIELD__lineart
This is how you get a reference on the corresponding field in the struct:
Material material = ...; CPointer<Object> p = material.__dna__addressof(Material.__DNA__FIELD__lineart); CPointer<MaterialLineArt> p_lineart = p.cast(new Class[]{MaterialLineArt.class});
public Material(long __address, Block __block, BlockTable __blockTable)
protected Material(Material that)
public ID getId() throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public void setId(ID id) throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public CPointer<AnimData> getAdt() throws java.io.IOException
Animation data (must be immediately after id for utilities to use it).
java.io.IOException
__DNA__FIELD__adt
public void setAdt(CPointer<AnimData> adt) throws java.io.IOException
Animation data (must be immediately after id for utilities to use it).
java.io.IOException
__DNA__FIELD__adt
public short getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public CArrayFacade<java.lang.Byte> get_pad1() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad1
public void set_pad1(CArrayFacade<java.lang.Byte> _pad1) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad1
public float getR() throws java.io.IOException
Colors from Blender Internal that we are still using.
java.io.IOException
__DNA__FIELD__r
public void setR(float r) throws java.io.IOException
Colors from Blender Internal that we are still using.
java.io.IOException
__DNA__FIELD__r
public float getG() throws java.io.IOException
java.io.IOException
__DNA__FIELD__g
public void setG(float g) throws java.io.IOException
java.io.IOException
__DNA__FIELD__g
public float getB() throws java.io.IOException
java.io.IOException
__DNA__FIELD__b
public void setB(float b) throws java.io.IOException
java.io.IOException
__DNA__FIELD__b
public float getA() throws java.io.IOException
java.io.IOException
__DNA__FIELD__a
public void setA(float a) throws java.io.IOException
java.io.IOException
__DNA__FIELD__a
public float getSpecr() throws java.io.IOException
java.io.IOException
__DNA__FIELD__specr
public void setSpecr(float specr) throws java.io.IOException
java.io.IOException
__DNA__FIELD__specr
public float getSpecg() throws java.io.IOException
java.io.IOException
__DNA__FIELD__specg
public void setSpecg(float specg) throws java.io.IOException
java.io.IOException
__DNA__FIELD__specg
public float getSpecb() throws java.io.IOException
java.io.IOException
__DNA__FIELD__specb
public void setSpecb(float specb) throws java.io.IOException
java.io.IOException
__DNA__FIELD__specb
public float getAlpha() throws java.io.IOException
java.io.IOException
__DNA__FIELD__alpha
public void setAlpha(float alpha) throws java.io.IOException
java.io.IOException
__DNA__FIELD__alpha
public float getRay_mirror() throws java.io.IOException
java.io.IOException
__DNA__FIELD__ray_mirror
public void setRay_mirror(float ray_mirror) throws java.io.IOException
java.io.IOException
__DNA__FIELD__ray_mirror
public float getSpec() throws java.io.IOException
java.io.IOException
__DNA__FIELD__spec
public void setSpec(float spec) throws java.io.IOException
java.io.IOException
__DNA__FIELD__spec
public float getGloss_mir() throws java.io.IOException
Renamed and inversed to roughness.
java.io.IOException
__DNA__FIELD__gloss_mir
public void setGloss_mir(float gloss_mir) throws java.io.IOException
Renamed and inversed to roughness.
java.io.IOException
__DNA__FIELD__gloss_mir
public float getRoughness() throws java.io.IOException
java.io.IOException
__DNA__FIELD__roughness
public void setRoughness(float roughness) throws java.io.IOException
java.io.IOException
__DNA__FIELD__roughness
public float getMetallic() throws java.io.IOException
java.io.IOException
__DNA__FIELD__metallic
public void setMetallic(float metallic) throws java.io.IOException
java.io.IOException
__DNA__FIELD__metallic
public byte getUse_nodes() throws java.io.IOException
Nodes
java.io.IOException
__DNA__FIELD__use_nodes
public void setUse_nodes(byte use_nodes) throws java.io.IOException
Nodes
java.io.IOException
__DNA__FIELD__use_nodes
public byte getPr_type() throws java.io.IOException
Preview render.
java.io.IOException
__DNA__FIELD__pr_type
public void setPr_type(byte pr_type) throws java.io.IOException
Preview render.
java.io.IOException
__DNA__FIELD__pr_type
public short getPr_texture() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pr_texture
public void setPr_texture(short pr_texture) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pr_texture
public short getPr_flag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pr_flag
public void setPr_flag(short pr_flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pr_flag
public short getIndex() throws java.io.IOException
Index for render passes.
java.io.IOException
__DNA__FIELD__index
public void setIndex(short index) throws java.io.IOException
Index for render passes.
java.io.IOException
__DNA__FIELD__index
public CPointer<bNodeTree> getNodetree() throws java.io.IOException
java.io.IOException
__DNA__FIELD__nodetree
public void setNodetree(CPointer<bNodeTree> nodetree) throws java.io.IOException
java.io.IOException
__DNA__FIELD__nodetree
public CPointer<Ipo> getIpo() throws java.io.IOException
Old animation system, deprecated for 2.5.
java.io.IOException
__DNA__FIELD__ipo
public void setIpo(CPointer<Ipo> ipo) throws java.io.IOException
Old animation system, deprecated for 2.5.
java.io.IOException
__DNA__FIELD__ipo
public CPointer<PreviewImage> getPreview() throws java.io.IOException
java.io.IOException
__DNA__FIELD__preview
public void setPreview(CPointer<PreviewImage> preview) throws java.io.IOException
java.io.IOException
__DNA__FIELD__preview
public CArrayFacade<java.lang.Float> getLine_col() throws java.io.IOException
Freestyle line settings.
java.io.IOException
__DNA__FIELD__line_col
public void setLine_col(CArrayFacade<java.lang.Float> line_col) throws java.io.IOException
Freestyle line settings.
java.io.IOException
__DNA__FIELD__line_col
public short getLine_priority() throws java.io.IOException
java.io.IOException
__DNA__FIELD__line_priority
public void setLine_priority(short line_priority) throws java.io.IOException
java.io.IOException
__DNA__FIELD__line_priority
public short getVcol_alpha() throws java.io.IOException
java.io.IOException
__DNA__FIELD__vcol_alpha
public void setVcol_alpha(short vcol_alpha) throws java.io.IOException
java.io.IOException
__DNA__FIELD__vcol_alpha
public short getPaint_active_slot() throws java.io.IOException
Texture painting slots.
java.io.IOException
__DNA__FIELD__paint_active_slot
public void setPaint_active_slot(short paint_active_slot) throws java.io.IOException
Texture painting slots.
java.io.IOException
__DNA__FIELD__paint_active_slot
public short getPaint_clone_slot() throws java.io.IOException
java.io.IOException
__DNA__FIELD__paint_clone_slot
public void setPaint_clone_slot(short paint_clone_slot) throws java.io.IOException
java.io.IOException
__DNA__FIELD__paint_clone_slot
public short getTot_slots() throws java.io.IOException
java.io.IOException
__DNA__FIELD__tot_slots
public void setTot_slots(short tot_slots) throws java.io.IOException
java.io.IOException
__DNA__FIELD__tot_slots
public CArrayFacade<java.lang.Byte> get_pad2() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad2
public void set_pad2(CArrayFacade<java.lang.Byte> _pad2) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad2
public float getAlpha_threshold() throws java.io.IOException
Transparency.
java.io.IOException
__DNA__FIELD__alpha_threshold
public void setAlpha_threshold(float alpha_threshold) throws java.io.IOException
Transparency.
java.io.IOException
__DNA__FIELD__alpha_threshold
public float getRefract_depth() throws java.io.IOException
java.io.IOException
__DNA__FIELD__refract_depth
public void setRefract_depth(float refract_depth) throws java.io.IOException
java.io.IOException
__DNA__FIELD__refract_depth
public byte getBlend_method() throws java.io.IOException
java.io.IOException
__DNA__FIELD__blend_method
public void setBlend_method(byte blend_method) throws java.io.IOException
java.io.IOException
__DNA__FIELD__blend_method
public byte getBlend_shadow() throws java.io.IOException
java.io.IOException
__DNA__FIELD__blend_shadow
public void setBlend_shadow(byte blend_shadow) throws java.io.IOException
java.io.IOException
__DNA__FIELD__blend_shadow
public byte getBlend_flag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__blend_flag
public void setBlend_flag(byte blend_flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__blend_flag
public CArrayFacade<java.lang.Byte> get_pad3() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad3
public void set_pad3(CArrayFacade<java.lang.Byte> _pad3) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad3
public CPointer<TexPaintSlot> getTexpaintslot() throws java.io.IOException
Cached slots for texture painting, must be refreshed in refresh_texpaint_image_cache before using.
java.io.IOException
__DNA__FIELD__texpaintslot
public void setTexpaintslot(CPointer<TexPaintSlot> texpaintslot) throws java.io.IOException
Cached slots for texture painting, must be refreshed in refresh_texpaint_image_cache before using.
java.io.IOException
__DNA__FIELD__texpaintslot
public ListBase getGpumaterial() throws java.io.IOException
Runtime cache for GLSL materials.
java.io.IOException
__DNA__FIELD__gpumaterial
public void setGpumaterial(ListBase gpumaterial) throws java.io.IOException
Runtime cache for GLSL materials.
java.io.IOException
__DNA__FIELD__gpumaterial
public CPointer<MaterialGPencilStyle> getGp_style() throws java.io.IOException
Grease pencil color.
java.io.IOException
__DNA__FIELD__gp_style
public void setGp_style(CPointer<MaterialGPencilStyle> gp_style) throws java.io.IOException
Grease pencil color.
java.io.IOException
__DNA__FIELD__gp_style
public MaterialLineArt getLineart() throws java.io.IOException
java.io.IOException
__DNA__FIELD__lineart
public void setLineart(MaterialLineArt lineart) throws java.io.IOException
java.io.IOException
__DNA__FIELD__lineart