Returns a new instance of the XDirectionalLight directional light in the direction direction.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XDirectionalLight( Vector3 direction ) |
Parameters
- direction
- Type: Vector3
Light direction vector.