RenderMaterial.SimulateMaterial Method (Material, Boolean)

RenderMaterialSimulateMaterial Method (Material, Boolean)

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)
Syntax
public virtual void SimulateMaterial(
	ref Material simulation,
	bool isForDataOnly
)
Public Overridable Sub SimulateMaterial ( 
	ByRef simulation As Material,
	isForDataOnly As Boolean
)

Parameters

simulation
Type: Rhino.DocObjectsMaterial
Set the properties of the input basic material to provide the simulation for this material.
isForDataOnly
Type: SystemBoolean
Called when only asking for a hash - don't write any textures to the disk - just provide the filenames they will get.
Version Information

Rhino for Windows

Supported in: 6.8
See Also