# <vgl-spot-light>
A basic object representation.
# Props
position
: 'rectangular' | 'spherical'
The coodinate system to determine the object position.
Defaults to [object Object]positionX
: number
The x coordinate of the object's local position.
Defaults to [object Object]positionY
: number
The y coordinate of the object's local position.
Defaults to [object Object]positionZ
: number
The z coordinate of the object's local position.
Defaults to [object Object]positionRadius
: number
The Euclidian distance from the origin to the object's local position.
Defaults to [object Object]positionPhi
: number
The polar angle from y axis to the object's local position.
Defaults to [object Object]positionTheta
: number
The equator angle around y axis to the object's local position.
Defaults to [object Object]rotation
: 'euler' | 'quaternion' | 'lookAt'
The rotation representing method.
Defaults to [object Object]rotationX
: number
The x coordinate of the object's local rotation.
Defaults to [object Object]rotationY
: number
The y coordinate of the object's local rotation.
Defaults to [object Object]rotationZ
: number
The z coordinate of the object's local rotation.
Defaults to [object Object]rotationW
: number
The w coordinate of the object's local rotation.
Defaults to [object Object]rotationOrder
: string
The rotation order of the object's local rotation.
Defaults to [object Object]lookAtX
: number
The global x coodinate of a point the object to face.
Defaults to [object Object]lookAtY
: number
The global y coodinate of a point the object to face.
Defaults to [object Object]lookAtZ
: number
The global z coodinate of a point the object to face.
Defaults to [object Object]scaleX
: number
The x coordinate of the object's local scale.
Defaults to [object Object]scaleY
: number
The y coordinate of the object's local scale.
Defaults to [object Object]scaleZ
: number
The z coordinate of the object's local scale.
Defaults to [object Object]castShadow
: boolean
Whether the object gets rendered into the shadow map.receiveShadow
: boolean
Whether the material receives shadows.name
: string
An arbitrary name of the instance.
Defaults to [object Object]hidden
: boolean
The object visibility.color
: string|number
The color of the light.
Defaults to [object Object]intensity
: number
Numeric value of the light's strength/intensity.
Defaults to [object Object]distance
: number
The maximum distance where the light reaches. The light never stops when set to 0.
Defaults to [object Object]decay
: number
The dim amount along the distance from the light.
Defaults to [object Object]angle
: number
The maximum extent of the spotlight in radians.
Defaults to [object Object]penumbra
: number
The percentage of the spotlight cone that is attenuated due to penumbra.
Defaults to [object Object]
# Slots
default
Objects defined in the slot will be handled as decsendants.