Support Forum       G3D Web Page     
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
G3D::ParticleSystemModel::Emitter::SpawnLocation Class Reference

Public Types

enum  Value {
  VERTICES,
  FACES,
  SURFACE,
  VOLUME
}
 

Public Member Functions

 SpawnLocation (const G3D::String &x)
 
 SpawnLocation (char v)
 
 SpawnLocation (int v)
 
 SpawnLocation (const G3D::Any &a)
 
 SpawnLocation ()
 
 SpawnLocation (const Value v)
 
void deserialize (G3D::BinaryInput &b)
 
unsigned int hashCode () const
 
 operator int () const
 
bool operator!= (const SpawnLocation ::Value other) const
 
bool operator!= (const SpawnLocation other) const
 
SpawnLocation operator+ (const int x) const
 
SpawnLocationoperator++ ()
 
SpawnLocationoperator+= (const int x)
 
SpawnLocation operator- (const int x) const
 
SpawnLocationoperator-- ()
 
SpawnLocationoperator-= (const int x)
 
bool operator< (const SpawnLocation other) const
 
bool operator< (const Value other) const
 
bool operator<= (const Value other) const
 
bool operator<= (const SpawnLocation other) const
 
SpawnLocationoperator= (const G3D::Any &a)
 
bool operator== (const SpawnLocation ::Value other) const
 
bool operator== (const SpawnLocation other) const
 
bool operator> (const SpawnLocation other) const
 
bool operator> (const Value other) const
 
bool operator>= (const SpawnLocation other) const
 
bool operator>= (const Value other) const
 
void serialize (G3D::BinaryOutput &b) const
 
G3D::Any toAny () const
 
const char * toString () const
 

Static Public Member Functions

static const char * classname ()
 
static int count ()
 
static Value nthValue (int n)
 
static const char * toString (int i, Value &v)
 

Public Attributes

enum G3D::ParticleSystemModel::Emitter::SpawnLocation::Value value
 

Member Enumeration Documentation

◆ Value

Enumerator
VERTICES 

Only available for a mesh shape.

FACES 

All faces are treated as equal probability for spawn locations.

Only available for a mesh shape.

SURFACE 

All faces are treated as a single surface with uniform probability with respect to area.

Spawning surface particles sets their normals based on the surface normal.

VOLUME 

Constructor & Destructor Documentation

◆ SpawnLocation() [1/6]

G3D::ParticleSystemModel::Emitter::SpawnLocation::SpawnLocation ( const G3D::String x)
inlineexplicit

◆ SpawnLocation() [2/6]

G3D::ParticleSystemModel::Emitter::SpawnLocation::SpawnLocation ( const G3D::Any a)
inlineexplicit

◆ SpawnLocation() [3/6]

G3D::ParticleSystemModel::Emitter::SpawnLocation::SpawnLocation ( char  v)
inlineexplicit

◆ SpawnLocation() [4/6]

G3D::ParticleSystemModel::Emitter::SpawnLocation::SpawnLocation ( )
inline

◆ SpawnLocation() [5/6]

G3D::ParticleSystemModel::Emitter::SpawnLocation::SpawnLocation ( const Value  v)
inline

◆ SpawnLocation() [6/6]

G3D::ParticleSystemModel::Emitter::SpawnLocation::SpawnLocation ( int  v)
inlineexplicit

Member Function Documentation

◆ classname()

static const char* G3D::ParticleSystemModel::Emitter::SpawnLocation::classname ( )
inlinestatic

◆ count()

static int G3D::ParticleSystemModel::Emitter::SpawnLocation::count ( )
inlinestatic

◆ deserialize()

void G3D::ParticleSystemModel::Emitter::SpawnLocation::deserialize ( G3D::BinaryInput b)
inline

◆ hashCode()

unsigned int G3D::ParticleSystemModel::Emitter::SpawnLocation::hashCode ( ) const
inline

◆ nthValue()

static Value G3D::ParticleSystemModel::Emitter::SpawnLocation::nthValue ( int  n)
inlinestatic

◆ operator int()

G3D::ParticleSystemModel::Emitter::SpawnLocation::operator int ( ) const
inline

◆ operator!=() [1/2]

bool G3D::ParticleSystemModel::Emitter::SpawnLocation::operator!= ( const SpawnLocation  other) const
inline

◆ operator!=() [2/2]

bool G3D::ParticleSystemModel::Emitter::SpawnLocation::operator!= ( const SpawnLocation ::Value  other) const
inline

◆ operator+()

SpawnLocation G3D::ParticleSystemModel::Emitter::SpawnLocation::operator+ ( const int  x) const
inline

◆ operator++()

SpawnLocation& G3D::ParticleSystemModel::Emitter::SpawnLocation::operator++ ( )
inline

◆ operator+=()

SpawnLocation& G3D::ParticleSystemModel::Emitter::SpawnLocation::operator+= ( const int  x)
inline

◆ operator-()

SpawnLocation G3D::ParticleSystemModel::Emitter::SpawnLocation::operator- ( const int  x) const
inline

◆ operator--()

SpawnLocation& G3D::ParticleSystemModel::Emitter::SpawnLocation::operator-- ( )
inline

◆ operator-=()

SpawnLocation& G3D::ParticleSystemModel::Emitter::SpawnLocation::operator-= ( const int  x)
inline

◆ operator<() [1/2]

bool G3D::ParticleSystemModel::Emitter::SpawnLocation::operator< ( const Value  other) const
inline

◆ operator<() [2/2]

bool G3D::ParticleSystemModel::Emitter::SpawnLocation::operator< ( const SpawnLocation  other) const
inline

◆ operator<=() [1/2]

bool G3D::ParticleSystemModel::Emitter::SpawnLocation::operator<= ( const SpawnLocation  other) const
inline

◆ operator<=() [2/2]

bool G3D::ParticleSystemModel::Emitter::SpawnLocation::operator<= ( const Value  other) const
inline

◆ operator=()

SpawnLocation& G3D::ParticleSystemModel::Emitter::SpawnLocation::operator= ( const G3D::Any a)
inline

◆ operator==() [1/2]

bool G3D::ParticleSystemModel::Emitter::SpawnLocation::operator== ( const SpawnLocation ::Value  other) const
inline

◆ operator==() [2/2]

bool G3D::ParticleSystemModel::Emitter::SpawnLocation::operator== ( const SpawnLocation  other) const
inline

◆ operator>() [1/2]

bool G3D::ParticleSystemModel::Emitter::SpawnLocation::operator> ( const SpawnLocation  other) const
inline

◆ operator>() [2/2]

bool G3D::ParticleSystemModel::Emitter::SpawnLocation::operator> ( const Value  other) const
inline

◆ operator>=() [1/2]

bool G3D::ParticleSystemModel::Emitter::SpawnLocation::operator>= ( const SpawnLocation  other) const
inline

◆ operator>=() [2/2]

bool G3D::ParticleSystemModel::Emitter::SpawnLocation::operator>= ( const Value  other) const
inline

◆ serialize()

void G3D::ParticleSystemModel::Emitter::SpawnLocation::serialize ( G3D::BinaryOutput b) const
inline

◆ toAny()

G3D::Any G3D::ParticleSystemModel::Emitter::SpawnLocation::toAny ( ) const
inline

◆ toString() [1/2]

const char* G3D::ParticleSystemModel::Emitter::SpawnLocation::toString ( ) const
inline

◆ toString() [2/2]

static const char* G3D::ParticleSystemModel::Emitter::SpawnLocation::toString ( int  i,
Value v 
)
inlinestatic

Member Data Documentation

◆ value

enum G3D::ParticleSystemModel::Emitter::SpawnLocation::Value G3D::ParticleSystemModel::Emitter::SpawnLocation::value

documentation generated on Wed Nov 24 2021 08:01:59 using doxygen 1.8.15