![]() |
KudanAR - iOS
1.6.0
|
#import <ARBillboardNode.h>
Inherits ARNode.
Properties | |
ARVector3 * | forward |
BOOL | lockX |
BOOL | lockY |
BOOL | lockZ |
![]() | |
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 ARBillboardNode is a subclass of ARNode that changes its orientation to ensure it always maintains its given forward vector direction relative to the camera. This is useful for showing content that rotates and follows the device as it moves around the scene and is especially useful for videos or other 2D content, as it will always be visible.
ARBillboardNodes can be used in conjunction with ArbiTrack to make 3D models or videos turn to follow the camera, or with the Image Tracker to have objects face the camera independently of the marker's orientation.
|
readwritenonatomicassign |
The vector that should be aimed at the camera. For example, a vector of (0, 1, 0) would cause the Y-axis of the node's local space to point towards the camera.
|
readwritenonatomicassign |
Determines whether rotation around the X axis is locked. Default is NO.
|
readwritenonatomicassign |
Determines whether rotation around the Y axis is locked. Default is NO.
|
readwritenonatomicassign |
Determines whether rotation around the Z axis is locked. Default is NO.