Click or drag to resize

RenderMaterialStandardSetColor Method

Sets the diffuse color of the standard material identified by key in a specific scene.

Namespace:  Lumiscaphe.Workshop.Interop
Assembly:  Lumiscaphe.Workshop.Interop (in Lumiscaphe.Workshop.Interop.dll) Version: 21.1.16.0
Syntax
public static void SetColor(
	RenderSceneManager manager,
	SceneGuid scene,
	RenderMaterialKey key,
	RenderMaterialStandardParameter parameter,
	RenderColorRgb color
)

Parameters

manager
Type: Lumiscaphe.Workshop.InteropRenderSceneManager
The scene manager.
scene
Type: Lumiscaphe.Workshop.InteropSceneGuid
The scene identifier.
key
Type: Lumiscaphe.Workshop.InteropRenderMaterialKey
The material key.
parameter
Type: Lumiscaphe.Workshop.InteropRenderMaterialStandardParameter
The parameter to set.
color
Type: Lumiscaphe.Workshop.InteropRenderColorRgb
The diffuse color.
Exceptions
ExceptionCondition
ObjectNullExceptionmanager == null, key == null
ObjectDestroyedExceptionRenderSceneManager::IsDestroyed == true
ObjectDisposedExceptionRenderMaterialKey::IsDisposed == true
Version Information

Lumiscaphe Workshop SDK

Supported in: 7.0 release 1
See Also