RhinoCommon API
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

public virtual void SimulateMaterial( ref Material simulation, RenderTextureTextureGeneration tg )
Public Overridable Sub SimulateMaterial ( ByRef simulation As Material, tg As RenderTextureTextureGeneration )
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.
