![]() |
KudanAR - iOS
1.6.0
|
#import <ARPanoNode.h>
Inherits ARNode.
Instance Methods | |
(instancetype) | - initWithImages: |
![]() | |
(void) | - addChild: |
(void) | - addChildren: |
(void) | - removeChild: |
(void) | - removeAllChildren |
(void) | - remove |
(ARNode *) | - findChildWithName: |
(void) | - markWorldTransformAsDirty |
(void) | - translateByX:y:z: |
(void) | - translateByX:y:z:transformSpace: |
(void) | - translateByVector: |
(void) | - translateByVector:transformSpace: |
(void) | - scaleByUniform: |
(void) | - scaleByX:y:z: |
(void) | - scaleByVector: |
(void) | - rotateByDegrees:axisX:y:z: |
(void) | - rotateByRadians:axisX:y:z: |
(void) | - rotateByQuaternion: |
(ARVector3 *) | - positionToWorld: |
(ARVector3 *) | - positionToEye: |
(ARQuaternion *) | - orientationToWorld: |
(ARQuaternion *) | - orientationToEye: |
(CGPoint) | - viewPortFromNodePosition: |
(void) | - render |
(void) | - preRender |
(void) | - postRender |
(void) | - addTouchTarget:withAction: |
(void) | - didReceiveTouch |
(ARVector3 *) | - nodeFromViewPort: |
Additional Inherited Members | |
![]() | |
(instancetype) | + nodeWithName: |
![]() | |
enum | TransformSpace { ARNodeTransformSpaceLocal, ARNodeTransformSpaceParent, ARNodeTransformSpaceWorld } |
![]() | |
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 |
This node represents a cube panorama that can be added to the gyro controller. By moving the device around, it is possible to look around a 360 image. The node is created by using a taking a set of images and arranging them in a cube formation.
- (instancetype) initWithImages: | (NSArray *) | images |
Initialises an instance of the ARPanoNode and sets up a cube of images around the node. The set of image names used must be arranged in the correct order, or they will be out of place. The positions of the images cannot be altered once they have been loaded. The array of images names should be arranged as follows: Element 0 - Front. Element 1 - Back. Element 2 - Left. Element 3 - Right. Element 4 - Top. Element 5 - Bottom.
images | NSArray of 6 image names or paths to the image. |