My Project
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
SFLight Class Reference
Inheritance diagram for SFLight:

Public Member Functions

Matrix4x4 _ModelMatrix (bool forceProjection)
 
Matrix4x4 _CookieMatrix ()
 
Rect _CalcCullBounds (Matrix4x4 vpMatrix)
 
Mesh _BuildShadowMesh (Mesh mesh, List< SFPolygon > polys, float minLightPenetration)
 

Public Attributes

float _radius = 0.5f
 
float _intensity = 1.0f
 
Color _color = Color.white
 
Texture2D _cookieTexture
 
LayerMask _shadowLayers = ~0
 
bool _parallaxLight = false
 

Static Public Attributes

static List< SFLight_lights = new List<SFLight>()
 

Properties

float radius [get, set]
 
float intensity [get, set]
 
Color color [get, set]
 
Texture2D cookieTexture [get, set]
 
LayerMask shadowLayers [get, set]
 
bool parallaxLight [get, set]
 
Rect _bounds [get]
 
Rect _CullBounds [get]
 

The documentation for this class was generated from the following file: