Class SpotLight
glTF spot light properties
Inherited Members
Namespace: GLTFast.Schema
Assembly: glTFast.dll
Syntax
[Serializable]
public class SpotLight
Fields
innerConeAngle
Angle, in radians, from centre of spotlight where falloff begins Must be greater than or equal to 0 and less than outerConeAngle
Declaration
public float innerConeAngle
Field Value
Type | Description |
---|---|
float |
outerConeAngle
Angle, in radians, from centre of spotlight where falloff ends. Must be greater than innerConeAngle and less than or equal to PI / 2.0.
Declaration
public float outerConeAngle
Field Value
Type | Description |
---|---|
float |