Creates a new directional light in the direction of [x,y,z]. 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( float x, float y, float z ) |
Parameters
- x
- Type: System..::.Single
The light direction in the X axis.
- y
- Type: System..::.Single
The light direction in the Y axis.
- z
- Type: System..::.Single
The light direction in the Z axis.