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