Creates a new directional light in the direction direction. The directional light is a light that illuminates the object from an infinite distance in the given direction.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XDirectionalLight AddDirectionalLight( Vector3 direction ) |
Parameters
- direction
- Type: Vector3
The light direction Vector3 vector.