Main Page | Compound List | Compound Members

VUEMaterial Class Reference


Your Ad Here


List of all members.

Public Member Functions

VUEFunction BumpFunction ()
 Returns the function used to generate the bump channel of the material.
VUEFunction ColorFunction ()
 Returns the function used to generate the color channel of the material.
VUEFunctionGraph FunctionGraph ()
 Returns the function graph of the material. It contains all the nodes that define the color, bump, transparency and other channels of the material.
double GetBumpDepth ()
 Returns the bump depth.
function GetOverallColor ()
 Returns the overall color as a tuple of red, green and blue values.
str GetReflectionMap ()
 Returns the name of the image being used as a reflection map. Returns None if no reflection map is being used.
function GetReflectionMapUV ()
 Returns a pair containing the reflection map uv values.
VUEFunction HighlightFunction ()
 Returns the function used to generate the Highlight channel of the material.
str Name ()
 Returns the name of the material.
VUEFunction ReflectionFunction ()
 Returns the function used to generate the reflection channel of the material.
None SetBumpDepth (double depth)
 Sets the bump depth.
None SetName (str cszNewName)
 Changes the name of the material.
None SetOverallColor (function color)
 Sets the overall color. This function expects a tuple of three values for the red, green and blue values.
None SetReflectionMap (str filename)
 Sets the reflection map to the image whose filename is given.
None SetReflectionMapUV (function uv)
 Sets the reflection map uv values to the pair provided.
VUEFunction TransparencyFunction ()
 Returns the function used to generate the transparency channel of the material.
VUEMaterial UnderlyingMaterial ()
 Returns the underlying material. In the case of a layered material, it returns the material corresponding to the next layer.

Member Function Documentation

VUEFunction BumpFunction  ) 
 

Returns the function used to generate the bump channel of the material.

Use in combination with SetEvaluationCallback() to customize the behavior of the material.

Warning:
Persistence of the function is not guaranteed. Other operations may result in the destruction of the function. You should use the function immediately after calling this method. Storing it for future use may result in errors.
See also:
ColorFunction, HighlightFunction, TransparencyFunction, ReflectionFunction

VUEFunction ColorFunction  ) 
 

Returns the function used to generate the color channel of the material.

Use in combination with SetEvaluationCallback() to customize the behavior of the material.

Warning:
Persistence of the function is not guaranteed. Other operations may result in the destruction of the function. You should use the function immediately after calling this method. Storing it for future use may result in errors.
See also:
BumpFunction, HighlightFunction, TransparencyFunction, ReflectionFunction

VUEFunctionGraph FunctionGraph  ) 
 

Returns the function graph of the material. It contains all the nodes that define the color, bump, transparency and other channels of the material.

double GetBumpDepth  ) 
 

Returns the bump depth.

function GetOverallColor  ) 
 

Returns the overall color as a tuple of red, green and blue values.

str GetReflectionMap  ) 
 

Returns the name of the image being used as a reflection map. Returns None if no reflection map is being used.

function GetReflectionMapUV  ) 
 

Returns a pair containing the reflection map uv values.

VUEFunction HighlightFunction  ) 
 

Returns the function used to generate the Highlight channel of the material.

Use in combination with SetEvaluationCallback() to customize the behavior of the material.

Note:
the function has no effect if the material is not set to have variable highlights.
Warning:
Persistence of the function is not guaranteed. Other operations may result in the destruction of the function. You should use the function immediately after calling this method. Storing it for future use may result in errors.
See also:
ColorFunction, BumpFunction, TransparencyFunction, ReflectionFunction

str Name  ) 
 

Returns the name of the material.

VUEFunction ReflectionFunction  ) 
 

Returns the function used to generate the reflection channel of the material.

Use in combination with SetEvaluationCallback() to customize the behavior of the material.

Note:
the function has no effect if the material is not set to have variable reflections.
Warning:
Persistence of the function is not guaranteed. Other operations may result in the destruction of the function. You should use the function immediately after calling this method. Storing it for future use may result in errors.
See also:
ColorFunction, BumpFunction, HighlightFunction, TransparencyFunction

None SetBumpDepth double  depth  ) 
 

Sets the bump depth.

None SetName str  cszNewName  ) 
 

Changes the name of the material.

Parameters:
cszNewName new name of the material.
Remarks:
If the string is longer than 50 characters, it will be truncated.

None SetOverallColor function  color  ) 
 

Sets the overall color. This function expects a tuple of three values for the red, green and blue values.

None SetReflectionMap str  filename  ) 
 

Sets the reflection map to the image whose filename is given.

None SetReflectionMapUV function  uv  ) 
 

Sets the reflection map uv values to the pair provided.

VUEFunction TransparencyFunction  ) 
 

Returns the function used to generate the transparency channel of the material.

Use in combination with SetEvaluationCallback() to customize the behavior of the material.

Note:
the function has no effect if the material is not set to have variable transparency.
Warning:
Persistence of the function is not guaranteed. Other operations may result in the destruction of the function. You should use the function immediately after calling this method. Storing it for future use may result in errors.
See also:
ColorFunction, BumpFunction, HighlightFunction, ReflectionFunction

VUEMaterial UnderlyingMaterial  ) 
 

Returns the underlying material. In the case of a layered material, it returns the material corresponding to the next layer.


Generated using doxygen on Wed Nov 29 17:50:20 2006.
©2003 e-on software, inc. All rights reserved.

Return to Vue Index


Your Ad Here