ParticleData

See Also

ParticleDataType


Constant variables that defines the type currently used by a particular particle data. For each type assigned to a particle data an array large enough to contains the maximum amount of particle defined will be created times the data size defined by the type they represents (as listed below).

  • kSelfData: Particle data type that is pointing to itsef. (nil)
  • kDurationData: Total time the particle is alive. (float)
  • kLifetimeData: The maximum life time of particles. (float)
  • kSizeData: Size of the particle. (vec2)
  • kRotationData: Rotation data of the particle. (vec3)
  • kScaleData: Scale data of particles. (vec3)
  • kColor0Data: First channel of RGB data of particles. (vec3)
  • kColor1Data: Second channel of RGB data of particles. (vec3)
  • kColor2Data: Third channel of RGB data of particles. (vec3)
  • kColor3Data: Fourth channel of RGB data of particles. (vec3)
  • kAlpha0Data: First channel of the particles alpha data. (float)
  • kAlpha1Data: Second channel of the particles alpha data. (float)
  • kAlpha2Data: Third channel of the particles alpha data. (float)
  • kAlpha3Data: Fourth channel of the particles alpha data. (float)
  • kUser0Data: First channel of particles userdata. (vec3)
  • kUser1Data: Second channel of particles userdata. (vec3)
  • kUser2Data: Third channel of particles userdata. (vec3)
  • kUser3Data: Fourth channel of particles userdata. (vec3)
  • kVelocityData: Velocity vector of each particle. (vec3)
  • kForceData: Force vector of each particle. (vec3)
  • kAngleData: Angular emission data. (vec3)
  • kOffsetData: The location offset for each particle. (vec3)
  • kTexCoord0Data: First texture coordinate channel of each particle. (vec2)
  • kTexCoord1Data: Second texture coordinate channel of each particle. (vec2)
  • kTexCoord2Data: Third texture coordinate channel of each particle. (vec2)
  • kTexCoord3Data: Forth texture coordinate channel of each particle. (vec2)
  • kBasisMatrixData: Local 4x4 matrix relative to the emission point of the particle. (mat4)
  • kWorldMatrixData: 4x4 matrix representing the current world location of each particle. (mat4)




NRG - API 2022.4.384543 - Fri Nov 4 2022
Copyright © 2022 nrgcore.com. All Rights Reserved. Terms of Service - Privacy Policy - EULA