![]() |
KudanAR - iOS
1.6.0
|
#import <ARAlphaVideoNode.h>
Inherits ARMeshNode.
Instance Methods | |
(instancetype) | - initWithVideoTexture: |
(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 | |
ARVideoTexture * | videoTexture |
![]() | |
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 ARAlphaVideoNode is a subclass of ARMeshNode that renders a supplied alpha video file on a flat mesh in the scene. It can be initialised using either a video file bundled in your app or with an ARVideoTexture containing an Alpha Video.
- (instancetype) initWithBundledFile: | (NSString *) | file |
Initialises an ARAlphaVideoNode using a video file at the specified path.
Example of use:
file | The file in the app bundle to initialise with. The file path is relative to the app bundle and includes the file extension. |
- (instancetype) initWithVideoTexture: | (ARVideoTexture *) | NS_DESIGNATED_INITIALIZER |
Initialises an ARAlphaVideoNode using an ARVideoTexture.
Example of use:
videoTexture | The ARVideoTexture to initialise the object with. |
|
readwritenonatomicassign |
The ARVideoTexture used by this Alpha Video Node. This is the video that will be played when then node becomes active and visible.