![]() |
KudanAR - iOS
1.6.0
|
#import <ARPointNode.h>
Inherits ARMeshNode.
Instance Methods | |
| (instancetype) | - initWithTexture: |
| (void) | - setPoints: |
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 | |
| NSUInteger | pointSize |
| NSUInteger | numberOfPoints |
Properties inherited from ARMeshNode | |
| ARMesh * | mesh |
| ARMaterial * | material |
| BOOL | cull |
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 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 } |
A class used to represent points sprites.
| - (instancetype) initWithTexture: | (ARTexture *) | texture |
Initialise point sprite with texture.
| texture | Point sprite texture. |
| - (void) setPoints: | (NSData *) | points |
Sets mesh vertex data using points and sets number of points.
| points | Points vertex data. |
|
readnonatomicassign |
Number of points to be rendered.
|
readwritenonatomicassign |
Point size default is texture width.