Kuesa Runtime

SpotLight QML Type

Encapsulate a Spot Light object in a Qt 3D scene. More...

Since: Kuesa 1.1
Instantiates: SpotLight

Properties

Detailed Description

Property Documentation

innerConeAngle : float

Specifies the angle from center of the spot light where light begins to fall off. The value must be greater than or equal to 0 and less than outerConeAngle.


localDirection : vector3d

Specifies the local direction of the spot light. Local direction is affected by parent transform rotations.


outerConeAngle : float

Specifies the cut off angle of the spot light. Objects outside this angle receives no light from the SpotLight. The value must be greater than innerConeAngle and less than or equal to 180.


range : float

Specifies the destance at which the light intensity may be considered to have reached zero and has no effect. A range of 0 (default) indicates infinite range