![]() |
KudanAR - iOS
|
#import <ARBillboardNode.h>
Inheritance diagram for ARBillboardNode:
Collaboration diagram for ARBillboardNode:Properties | |
| ARVector3 * | forward |
| BOOL | lockX |
| BOOL | lockY |
| BOOL | lockZ |
Properties inherited from ARNode | |
| 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 and extreme viewing angles aren't an issue.
|
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.