Creates new point light. Point light shines like the bulb from one point to all directions. The light is located at the coordinates of [0,0,0] with the default fade value.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XPointLight AddPointLight( float range ) |
Parameters
- range
- Type: System..::.Single
Defines the light range (corresponds to the distance beyond that the light has no effect).