Click or drag to resize

RenderMaterialSimulateMaterial Method (Material, RenderTextureTextureGeneration)

Override this function to provide a Rhino.DocObjects.Material definition for this material to be used by other rendering engines including the display.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.0
Syntax
public virtual void SimulateMaterial(
	ref Material simulation,
	RenderTextureTextureGeneration tg
)

Parameters

simulation
Type: Rhino.DocObjectsMaterial
Set the properties of the input basic material to provide the simulation for this material.
tg
Type: Rhino.RenderRenderTextureTextureGeneration
See RenderTexture.TextureGeneration.
See Also