Click or drag to resize
AB4D logo

InstancedMeshGeometryVisual3DUseSingleObjectColor Method

When UseSingleObjectColor is called, the specified objectColor is used as diffuse color for all instances. This overrides the color defined in the instances data. When color's alpha value is less than 1, then alpha blending is used. To use instance color after calling UseSingleObjectColor, call the UseInstanceObjectColor method.

Namespace: Ab3d.Visuals
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public void UseSingleObjectColor(
	Color objectColor
)

Parameters

objectColor  Color
color used for all instances
See Also