MeiCam SDK For iOS  3.10.0
NvsAssetPackageParticleDescParser.h
Go to the documentation of this file.
1 //================================================================================
2 //
3 // (c) Copyright China Digital Video (Beijing) Limited, 2017. All rights reserved.
4 //
5 // This code and information is provided "as is" without warranty of any kind,
6 // either expressed or implied, including but not limited to the implied
7 // warranties of merchantability and/or fitness for a particular purpose.
8 //
9 //--------------------------------------------------------------------------------
10 // Birth Date: Jan 23. 2017
11 // Author: NewAuto video team
12 //================================================================================
13 #pragma once
14 
15 #import <Foundation/Foundation.h>
16 #import "NvsCommonDef.h"
17 
25 typedef enum
26 {
33 
34 
42 typedef enum
43 {
50 
51 
52 
62 
63 
64 - (instancetype)initWithEffectDesc:(NSString *)desc;
65 
75 
85 
96 - (NvsEmitterPlace) getParticlePartitionPlace:(unsigned int)partitionIndex;
97 
108  - (NSArray *) getParticlePartitionEmitter:(unsigned int)partitionIndex;
109 
111 //
112 
122 
131 - (NSArray *) getLeftEyeEmitter;
132 
142 
151 -(NSArray *) getRightEyeEmitter;
152 
153 @end
154 
NvsEmitterPlace_Right
@ NvsEmitterPlace_Right
The particle emitter is on the right of the current position.
Definition: NvsAssetPackageParticleDescParser.h:45
-[NvsAssetPackageParticleDescParser getParticlePartitionCount]
int getParticlePartitionCount()
Get the count of particle partition.
NvsParticleType_Normal
@ NvsParticleType_Normal
Particle effect without interaction.
Definition: NvsAssetPackageParticleDescParser.h:27
NvsEmitterPlace_Center
@ NvsEmitterPlace_Center
The particle emitter is in the middle of the current position.
Definition: NvsAssetPackageParticleDescParser.h:48
NvsEmitterPlace_Top
@ NvsEmitterPlace_Top
The particle emitter is above the current position.
Definition: NvsAssetPackageParticleDescParser.h:46
NvsParticleType_Mouth
@ NvsParticleType_Mouth
Particle effect controlled by mouth.
Definition: NvsAssetPackageParticleDescParser.h:31
NvsParticleType_Eye
@ NvsParticleType_Eye
Particle effect controlled by eye.
Definition: NvsAssetPackageParticleDescParser.h:30
NvsEmitterPlace
NvsEmitterPlace
Definition: NvsAssetPackageParticleDescParser.h:43
NvsParticleType
NvsParticleType
Definition: NvsAssetPackageParticleDescParser.h:26
-[NvsAssetPackageParticleDescParser getParticleType]
NvsParticleType getParticleType()
Get particle type.
-[NvsAssetPackageParticleDescParser getRightEyeEmitter]
NSArray * getRightEyeEmitter()
Get a array of the particle emitter names at the right eye.
-[NvsAssetPackageParticleDescParser getLeftEyeEmitter]
NSArray * getLeftEyeEmitter()
Get a array of the particle emitter names at the left eye.
-[NvsAssetPackageParticleDescParser getLeftEyePlace]
NvsEmitterPlace getLeftEyePlace()
Get the position type of the particle emitter at the left eye.Please refer to Particle position type.
NvsEmitterPlace_Left
@ NvsEmitterPlace_Left
The particle emitter is on the left of the current position.
Definition: NvsAssetPackageParticleDescParser.h:44
NvsParticleType_Touch
@ NvsParticleType_Touch
Particle effect controlled by touch screen.
Definition: NvsAssetPackageParticleDescParser.h:28
-[NvsAssetPackageParticleDescParser getRightEyePlace]
NvsEmitterPlace getRightEyePlace()
Get the position type of the particle emitter at the right eye.Please refer to Particle position type...
NvsAssetPackageParticleDescParser
Particle effect package parsing class.
Definition: NvsAssetPackageParticleDescParser.h:62
NVS_EXPORT
#define NVS_EXPORT
Definition: NvsCommonDef.h:20
NvsCommonDef.h
NvsEmitterPlace_Bottom
@ NvsEmitterPlace_Bottom
The particle emitter is below the current position.
Definition: NvsAssetPackageParticleDescParser.h:47
NvsParticleType_Gesture
@ NvsParticleType_Gesture
Particle effect controlled by gesture.
Definition: NvsAssetPackageParticleDescParser.h:29