KudanAR - iOS  1.6.0
ARImageNode Class Reference

#import <ARImageNode.h>

Inherits ARMeshNode.

Instance Methods

(instancetype) - initWithImage:
 
(instancetype) - initWithImagePath:
 
(instancetype) - initWithBundledFile:
 
- 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

ARTexturetexture
 
- Properties inherited from ARMeshNode
ARMeshmesh
 
ARMaterialmaterial
 
BOOL cull
 
- Properties inherited from ARNode
NSString * name
 
ARNodeparent
 
NSArray< ARNode * > * children
 
NSArray * descendants
 
ARVector3position
 
ARVector3scale
 
ARQuaternionorientation
 
ARMatrix4localTransform
 
ARMatrix4worldTransform
 
ARMatrix4fullTransform
 
ARQuaternionfullOrientation
 
ARQuaternionworldOrientation
 
ARVector3worldScale
 
ARVector3worldPosition
 
ARVector3fullPosition
 
ARNodeworld
 
NSUInteger childCount
 
BOOL visible
 

Additional Inherited Members

- Class Methods inherited from ARMeshNode
(instancetype) + testMeshNodeWithRed:green:blue:
 
(instancetype) + testMeshNodeWithTexture:
 
(instancetype) + meshNodeWithTexture:width:height:
 
(instancetype) + meshNodeWithRed:green:blue:width:height:
 
- Class Methods inherited from ARNode
(instancetype) + nodeWithName:
 
- Protected Types inherited from ARNode
enum  TransformSpace { ARNodeTransformSpaceLocal, ARNodeTransformSpaceParent, ARNodeTransformSpaceWorld }
 

Detailed Description

An ARImageNode is a subclass of ARMeshNode used for rendering images. This node displays imported images in the virtual world.

Method Documentation

◆ initWithBundledFile:

- (instancetype) initWithBundledFile: (NSString *)  file
Parameters
fileName of bundled file with extension. Initialises ARImageNode using an NSString that holds the file name and extension of a bundled file.

◆ initWithImage:

- (instancetype) initWithImage: (UIImage *)  NS_DESIGNATED_INITIALIZER
Parameters
imageThe image to be displayed. Initialises ARImageNode using a UIImage.

◆ initWithImagePath:

- (instancetype) initWithImagePath: (NSString *)  path
Parameters
pathFull path of image file. Initialises ARImageNode using an NSString that holds the full path of an image file.

Property Documentation

◆ texture

- (ARTexture*) texture
readwritenonatomicassign

The texture used for rendering the image. Created during the initialisation process.


The documentation for this class was generated from the following files: