|
ModelUtilsHasAnyLight(Visual3D, Boolean) Method |
Returns true if the Visual3D has any light defined. By default the AmbientLight is excluded.
Namespace: Ab3d.UtilitiesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static bool HasAnyLight(
Visual3D visual3D,
bool excludeAmbientLight = true
)
Parameters
- visual3D Visual3D
- Visual3D
- excludeAmbientLight Boolean (Optional)
- if true then AmbientLight is excluded (method retuns false if only AmbientLight is defined).
Return Value
Booleantrue if the Visual3D has any light defined (except AmbientLight)
See Also