![]() |
KudanAR - iOS
|
#import <ARGPSNode.h>
Inheritance diagram for ARGPSNode:
Collaboration diagram for ARGPSNode:Instance Methods | |
| (instancetype) | - initWithLocation:bearing: |
| (instancetype) | - initWithLocation: |
| (void) | - updateWorldPosition |
Instance Methods inherited from ARNode | |
| (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: |
Properties | |
| CLLocation * | location |
| double | bearing |
| double | deviceHeight |
| BOOL | interpolateMotionUsingHeading |
| CLLocationDirection | course |
| CLLocationSpeed | speed |
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 |
Additional Inherited Members | |
Class Methods inherited from ARNode | |
| (instancetype) | + nodeWithName: |
Protected Member Functions inherited from ARNode | |
| (typedef) | - NS_ENUM |
A node used for placing content in the real world. Children of this node will be placed at the coordinate specified during initiation. GPSNodes must be added to the ARGPSManager world to function correctly.
| - (instancetype) initWithLocation: | (CLLocation *) | location |
Initiates the node using a latitude and a longitude. The node will face true north.
| location | The real world location of the node. |
| - (instancetype) initWithLocation: | (CLLocation *) | location | |
| bearing: | (double) | bearing | |
Initiates the node using a latitude, a longitude and a bearing.
| location | The real world location of the node. |
| bearing | The bearing of the node relative to true north. |
| - (void) updateWorldPosition |
Updates the location of the node relative to the device. Called during a change in device motion by the ARGPSManager.
|
readwritenonatomicassign |
The direction the node is facing expressed as a bearing relative to true north.
|
readnonatomicassign |
The direction the device is heading during motion.
|
readwritenonatomicassign |
The height of the device in metres from the ground used to correctly position objects at floor level.
|
readwritenonatomicassign |
Whether the node's motion is interpolated between location updates of device movement. Accuracy depends on the precision of the device GPS.
|
readwritenonatomicassign |
The real world location of the node.
|
readnonatomicassign |
The speed of the device during motion.