|
InstancedMeshNodeUseSingleObjectColor 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: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public void UseSingleObjectColor(
Color4 objectColor
)
Parameters
- objectColor Color4
- color used for all instances
See Also