RenderMaterialSimulateMaterial Method (Material, Boolean) |
Note: This API is now obsolete.
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: 5.1
Syntax [ObsoleteAttribute("ToMaterial with TextureGeneration instead, and don't override this virtual function")]
public virtual void SimulateMaterial(
ref Material simulation,
bool isForDataOnly
)
<ObsoleteAttribute("ToMaterial with TextureGeneration instead, and don't override this virtual function")>
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.
See Also