![]() |
KudanAR - iOS
1.6.0
|
#import <ARSpotLight.h>
Inherits ARPointLight.
Properties | |
float | innerSpotAngle |
float | outerSpotAngle |
ARVector3 * | spotDirection |
![]() | |
float | attenuation |
![]() | |
ARVector3 * | colour |
float | ambientCoefficient |
![]() | |
NSString * | name |
ARNode * | parent |
NSArray< ARNode * > * | children |
NSArray * | descendants |
ARVector3 * | position |
ARVector3 * | scale |
ARQuaternion * | orientation |
ARMatrix4 * | localTransform |
ARMatrix4 * | worldTransform |
ARMatrix4 * | fullTransform |
ARQuaternion * | fullOrientation |
ARQuaternion * | worldOrientation |
ARVector3 * | worldScale |
ARVector3 * | worldPosition |
ARVector3 * | fullPosition |
ARNode * | world |
NSUInteger | childCount |
BOOL | visible |
An ARSpotLight represents a light in the scene that shines from a specific position along a specific direction with a cone-shaped area of effect. It can be translated and rotated just like any other node. It can be seen as a combination of an ARPointLight and an ARDirectionLight, as both the position and orientation of an ARSpotLight will affect the overall level of illumination on each object in the scene.
|
readwritenonatomicassign |
The angle between the centre of the light direction vector and the side of the light cone at which the light intensity begins to decay, expressed in radians. Should be no more than M_PI / 2. Should not be greater than the outer spot angle.
|
readwritenonatomicassign |
The angle between the centre of the light direction vector and the side of the light cone at which the light intensity becomes 0, expressed in radians. Should be no more than M_PI / 2. Should not be less than the inner spot angle.
|
readwritenonatomicassign |
The normalised direction that the spotlight is pointing in.