Creates a new spotlight in the direction direction. The spotlight suggests the flashlight effect that illuminates the object in the given direction.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XSpotLight AddSpotLight( Vector3 direction ) |
Parameters
- direction
- Type: Vector3
The light direction Vector3 vector.