![]() |
KudanAR - iOS
1.6.0
|
#import <ARImageNode.h>
Inherits ARMeshNode.
Instance Methods | |
(instancetype) | - initWithImage: |
(instancetype) | - initWithImagePath: |
(instancetype) | - initWithBundledFile: |
![]() | |
(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 | |
ARTexture * | texture |
![]() | |
ARMesh * | mesh |
ARMaterial * | material |
BOOL | cull |
![]() | |
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 | |
![]() | |
(instancetype) | + testMeshNodeWithRed:green:blue: |
(instancetype) | + testMeshNodeWithTexture: |
(instancetype) | + meshNodeWithTexture:width:height: |
(instancetype) | + meshNodeWithRed:green:blue:width:height: |
![]() | |
(instancetype) | + nodeWithName: |
![]() | |
enum | TransformSpace { ARNodeTransformSpaceLocal, ARNodeTransformSpaceParent, ARNodeTransformSpaceWorld } |
An ARImageNode is a subclass of ARMeshNode used for rendering images. This node displays imported images in the virtual world.
- (instancetype) initWithBundledFile: | (NSString *) | file |
file | Name of bundled file with extension. Initialises ARImageNode using an NSString that holds the file name and extension of a bundled file. |
- (instancetype) initWithImage: | (UIImage *) | NS_DESIGNATED_INITIALIZER |
image | The image to be displayed. Initialises ARImageNode using a UIImage. |
- (instancetype) initWithImagePath: | (NSString *) | path |
path | Full path of image file. Initialises ARImageNode using an NSString that holds the full path of an image file. |
|
readwritenonatomicassign |
The texture used for rendering the image. Created during the initialisation process.