MeiCam SDK For Android  1.0.0
Classes | Public Member Functions | List of all members
com.meicam.sdk.NvsAssetPackageParticleDescParser Class Reference

Particle effect package parsing class. More...

Classes

class  NvsParticleEmitterDesc
 

Public Member Functions

 NvsAssetPackageParticleDescParser (String fxDescription)
 
int GetParticleType ()
 Gets particle type. More...
 
int GetLeftEyePlace ()
 Gets placed particle emitter position in the left eye. More...
 
List< String > GetLeftEyeEmitter ()
 Gets a list of the particle emitter name placed in the left eye. More...
 
int GetRightEyePlace ()
 Gets the position of particle emitter on the right eye. More...
 
List< String > GetRightEyeEmitter ()
 Gets a list of the particle emitter name placed in the right eye. More...
 
int GetParticlePartitionCount ()
 Gets the count of particle fragments. More...
 
int GetParticlePartitionPlace (int partitionIndex)
 Gets the position where a partition particle emitter should be placed. More...
 
List< String > GetParticlePartitionEmitter (int partitionIndex)
 Gets a list of a partition particle emitter name. More...
 

Static Public Attributes

Particle type

static final int PARTICLE_TYPE_NORMAL = 0
 Particle effect without interaction. More...
 
static final int PARTICLE_TYPE_TOUCH = 1
 Particle effect controlled by touch screen. More...
 
static final int PARTICLE_TYPE_GESTURE = 2
 Particle effect controlled by gesture. More...
 
static final int PARTICLE_TYPE_EYE = 3
 Particle effect controlled by eye. More...
 
static final int PARTICLE_TYPE_MOUTH = 4
 Particle effect controlled by mouth. More...
 
the particle emitter position

static final int EMITTER_PLACE_LEFT = 0
 The particle emitter is on the left side of the current part. More...
 
static final int EMITTER_PLACE_RIGHT = 1
 The particle emitter is on the right side of the current part. More...
 
static final int EMITTER_PLACE_TOP = 2
 The particle emitter is above the current part. More...
 
static final int EMITTER_PLACE_BOTTOM = 3
 The particle emitter is below the current part. More...
 
static final int EMITTER_PLACE_CENTER = 4
 The particle emitter is in the middle of the current part. More...
 

Detailed Description

Particle effect package parsing class.

Warning
In the NvsAssetPackageParticleDescParser class, all public APIs are used in the UI thread! ! !

Constructor & Destructor Documentation

com.meicam.sdk.NvsAssetPackageParticleDescParser.NvsAssetPackageParticleDescParser ( String  fxDescription)
inline

Member Function Documentation

List<String> com.meicam.sdk.NvsAssetPackageParticleDescParser.GetLeftEyeEmitter ( )
inline

Gets a list of the particle emitter name placed in the left eye.

Returns
Returns a list of the particle emitter name
int com.meicam.sdk.NvsAssetPackageParticleDescParser.GetLeftEyePlace ( )
inline

Gets placed particle emitter position in the left eye.

Returns
Returns the placed position.
int com.meicam.sdk.NvsAssetPackageParticleDescParser.GetParticlePartitionCount ( )
inline

Gets the count of particle fragments.

Returns
Returns the count of fragments
List<String> com.meicam.sdk.NvsAssetPackageParticleDescParser.GetParticlePartitionEmitter ( int  partitionIndex)
inline

Gets a list of a partition particle emitter name.

Parameters
partitionIndexpartition index
Returns
Returns a list of a partition particle emitter name
int com.meicam.sdk.NvsAssetPackageParticleDescParser.GetParticlePartitionPlace ( int  partitionIndex)
inline

Gets the position where a partition particle emitter should be placed.

Parameters
partitionIndexpartition index
Returns
Return the placed position
int com.meicam.sdk.NvsAssetPackageParticleDescParser.GetParticleType ( )
inline

Gets particle type.

Returns
Returns the particle type.
List<String> com.meicam.sdk.NvsAssetPackageParticleDescParser.GetRightEyeEmitter ( )
inline

Gets a list of the particle emitter name placed in the right eye.

Returns
Returns a list of the particle emitter name
int com.meicam.sdk.NvsAssetPackageParticleDescParser.GetRightEyePlace ( )
inline

Gets the position of particle emitter on the right eye.

Returns
Returns the placed position.

Member Data Documentation

final int com.meicam.sdk.NvsAssetPackageParticleDescParser.EMITTER_PLACE_BOTTOM = 3
static

The particle emitter is below the current part.

final int com.meicam.sdk.NvsAssetPackageParticleDescParser.EMITTER_PLACE_CENTER = 4
static

The particle emitter is in the middle of the current part.

final int com.meicam.sdk.NvsAssetPackageParticleDescParser.EMITTER_PLACE_LEFT = 0
static

The particle emitter is on the left side of the current part.

final int com.meicam.sdk.NvsAssetPackageParticleDescParser.EMITTER_PLACE_RIGHT = 1
static

The particle emitter is on the right side of the current part.

final int com.meicam.sdk.NvsAssetPackageParticleDescParser.EMITTER_PLACE_TOP = 2
static

The particle emitter is above the current part.

final int com.meicam.sdk.NvsAssetPackageParticleDescParser.PARTICLE_TYPE_EYE = 3
static

Particle effect controlled by eye.

final int com.meicam.sdk.NvsAssetPackageParticleDescParser.PARTICLE_TYPE_GESTURE = 2
static

Particle effect controlled by gesture.

final int com.meicam.sdk.NvsAssetPackageParticleDescParser.PARTICLE_TYPE_MOUTH = 4
static

Particle effect controlled by mouth.

final int com.meicam.sdk.NvsAssetPackageParticleDescParser.PARTICLE_TYPE_NORMAL = 0
static

Particle effect without interaction.

final int com.meicam.sdk.NvsAssetPackageParticleDescParser.PARTICLE_TYPE_TOUCH = 1
static

Particle effect controlled by touch screen.


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