Creates a new spotlight in the direction of [x,y,z]. 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( 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.