<Material> Data Interface

Provides script language access to C++ objects of this type.

Class HierarchyType » Node » Material

Function Members

Function members are as follows:

Return Type Function Name Documentation
int32GetProgramsPopulates a <NodeBuffer> object with the <Program> node to which the <Material> node is connected.
int32GetResourcesPopulates a <NodeBuffer> object with all the Textures, <VariableNode> objects, and <Program> nodes to which the <Material> node is connected.
int32GetTexturesPopulates a <NodeBuffer> object with the <Texture> nodes to which the <Material> node is connected.
int32GetUniformsPopulates a <NodeBuffer> object with the <VariableNode> objects to which the <Material> node is connected.
int32SelectActivates a <Material> in a rendering device.

Object Members

Object members are as follows:

Type Name Accessor Name Documentation
<Color>AmbientColorGets or sets the ambient color of the <Material>.
<Color>DiffuseColorGets or sets the diffuse color of the <Material>.
<Color>EmissiveColorGets or sets the <Material> node object's emissive color.
<Color>IDColorGets or sets the ID color of the <Material>.
<Color>SpecularColorGets or sets the specular color of the <Material>.
int32AlphaBlendGets or sets a <Material> node object's Alpha parameter.
doubleAlphaReferenceGets or sets the <Material> node object's alpha reference value.
int32DepthTestGets or sets whether or not geometry rendered using the <Material> will be depth tested with the depth values in the rendering device's depth buffer prior to rendering.
int32DepthWriteGets or sets whether or not geometry rendered using the <Material> will be written to the rendering device's depth buffer.
int32FeatureIDGets or sets a <Material> node object's FeatureID parameter.
int32ImageWriteGets or sets whether or not geometry rendered using the <Material> will be written to the rendering device's image buffer.
<Program>InitialProgramGets or sets the initial shader <Program> to which the <Material> is linked.
<Node>InitialProgramLinkGets or sets the initial shader <Program> to which the <Material> is linked.
<Node>InitialRenderHookGets or sets the initial render hook to which the <Material> is linked.
<Node>InitialRenderHookLinkGets or sets the initial render hook to which the <Material> is linked.
<Node>InitialTexturePaletteGets or sets the initial texture palette to which the <Material> is linked.
<Node>InitialTexturePaletteLinkGets or sets the initial texture palette to which the <Material> is linked.
doubleOpacityGets or sets a <Material> node object's Opacity parameter.
<Node>ParameterGroupUndocumented.
<Program>ProgramGets or sets the shader <Program> to which the <Material> is linked.
<Node>ProgramLinkGets or sets the <Program> node to which the <Material> is linked. This member allows accessing or assigning a <NodeLink> reference to a <Program> node.
<Node>RenderHookGets or sets a <Material> node object's RenderHook parameter. The render hook executes after the <Material> activates its state, and supports initializing additional render state such as shader constants.
<Node>RenderHookLinkGets or sets a <Material> node object's RenderHookLink parameter. This allows accessing or assigning a <NodeLink> for the render hook.
doubleShininessGets or sets a <Material> node object's Opacity parameter.
int32SolidGets or sets a <Material> node object's SolidRender parameter.
<Texture>TextureGets or sets a <Material> node object's Texture parameter.
<Node>TextureLinkGets or sets a <Material> node object's TextureLink parameter.
int32TwoSidedSets or gets the a <Material> node object's TwoSided parameter.