MeiCam SDK For iOS  3.10.1
Instance Methods | List of all members
NvsAssetPackageParticleDescParser Class Reference

Particle effect package parsing class. More...

#import <NvsAssetPackageParticleDescParser.h>

Inheritance diagram for NvsAssetPackageParticleDescParser:

Instance Methods

(instancetype) - initWithEffectDesc:
 
(NvsParticleType- getParticleType
 Get particle type. More...
 
(int) - getParticlePartitionCount
 Get the count of particle partition. More...
 
(NvsEmitterPlace- getParticlePartitionPlace:
 Get the position type of the particle emitter partition with the specified index value. More...
 
(NSArray *) - getParticlePartitionEmitter:
 Get the name array of the particle emitter partition with the specified index value. More...
 
(NvsEmitterPlace- getLeftEyePlace
 Get the position type of the particle emitter at the left eye.Please refer to Particle position type. More...
 
(NSArray *) - getLeftEyeEmitter
 Get a array of the particle emitter names at the left eye. More...
 
(NvsEmitterPlace- getRightEyePlace
 Get the position type of the particle emitter at the right eye.Please refer to Particle position type. More...
 
(NSArray *) - getRightEyeEmitter
 Get a array of the particle emitter names at the right eye. More...
 

Detailed Description

Particle effect package parsing class.

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

Method Documentation

◆ getLeftEyeEmitter

- (NSArray *) getLeftEyeEmitter

Get a array of the particle emitter names at the left eye.

Returns
Return a array of the particle emitter names

◆ getLeftEyePlace

- (NvsEmitterPlace) getLeftEyePlace

Get the position type of the particle emitter at the left eye.Please refer to Particle position type.

Returns
Return the position type.

◆ getParticlePartitionCount

- (int) getParticlePartitionCount

Get the count of particle partition.

Returns
Return the count of partition

◆ getParticlePartitionEmitter:

- (NSArray *) getParticlePartitionEmitter: (unsigned int)  partitionIndex

Get the name array of the particle emitter partition with the specified index value.

Parameters
partitionIndexpartition index
Returns
Return a array of a partition particle emitter name

◆ getParticlePartitionPlace:

- (NvsEmitterPlace) getParticlePartitionPlace: (unsigned int)  partitionIndex

Get the position type of the particle emitter partition with the specified index value.

Parameters
partitionIndexpartition index
Returns
Return the position type

◆ getParticleType

- (NvsParticleType) getParticleType

Get particle type.

Returns
Return the particle type.Please refer to Particle type.

◆ getRightEyeEmitter

- (NSArray *) getRightEyeEmitter

Get a array of the particle emitter names at the right eye.

Returns
Return a array of the particle emitter names

◆ getRightEyePlace

- (NvsEmitterPlace) getRightEyePlace

Get the position type of the particle emitter at the right eye.Please refer to Particle position type.

Returns
Return the position type.

◆ initWithEffectDesc:

- (instancetype) initWithEffectDesc: (NSString *)  desc

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