Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Particles.Particle Struct Reference

A particle in the particle system. More...

Public Member Functions

 Particle (IntPtr pointer)
 
Get< T > (ParticleFieldAccessor fieldAccessor)
 Gets the specified field value. More...
 
void Set< T > (ParticleFieldAccessor fieldAccessor, ref T value)
 Sets the specified field value. More...
 
void Set< T > (ParticleFieldAccessor fieldAccessor, T value)
 Sets the specified field value. More...
 
Get< T > (ParticleFieldAccessor< T > fieldAccessor)
 Gets the specified field value. More...
 
void Set< T > (ParticleFieldAccessor< T > fieldAccessor, ref T value)
 Sets the specified field value. More...
 
void Set< T > (ParticleFieldAccessor< T > fieldAccessor, T value)
 Sets the specified field value. More...
 

Public Attributes

readonly IntPtr Pointer
 

Properties

IntPtr this[ParticleFieldAccessor fieldAccessor] [get]
 Gets the pointer to the specifield field. More...
 

Detailed Description

A particle in the particle system.

Definition at line 12 of file Particle.cs.

Constructor & Destructor Documentation

SiliconStudio.Paradox.Particles.Particle.Particle ( IntPtr  pointer)

Definition at line 16 of file Particle.cs.

Member Function Documentation

T SiliconStudio.Paradox.Particles.Particle.Get< T > ( ParticleFieldAccessor  fieldAccessor)

Gets the specified field value.

Template Parameters
TThe field type.
Parameters
fieldAccessorThe field accessor.
Returns
The field value.
Type Constraints
T :struct 

Definition at line 27 of file Particle.cs.

T SiliconStudio.Paradox.Particles.Particle.Get< T > ( ParticleFieldAccessor< T >  fieldAccessor)

Gets the specified field value.

Template Parameters
TThe field type.
Parameters
fieldAccessorThe field accessor.
Returns
The field value.
Type Constraints
T :struct 

Definition at line 60 of file Particle.cs.

void SiliconStudio.Paradox.Particles.Particle.Set< T > ( ParticleFieldAccessor  fieldAccessor,
ref T  value 
)

Sets the specified field value.

Template Parameters
TThe field type.
Parameters
fieldAccessorThe field accessor.
valueThe field value.
Type Constraints
T :struct 

Definition at line 38 of file Particle.cs.

void SiliconStudio.Paradox.Particles.Particle.Set< T > ( ParticleFieldAccessor  fieldAccessor,
value 
)

Sets the specified field value.

Template Parameters
TThe field type.
Parameters
fieldAccessorThe field accessor.
valueThe field value.
Type Constraints
T :struct 

Definition at line 49 of file Particle.cs.

void SiliconStudio.Paradox.Particles.Particle.Set< T > ( ParticleFieldAccessor< T >  fieldAccessor,
ref T  value 
)

Sets the specified field value.

Template Parameters
TThe field type.
Parameters
fieldAccessorThe field accessor.
valueThe field value.
Type Constraints
T :struct 

Definition at line 71 of file Particle.cs.

void SiliconStudio.Paradox.Particles.Particle.Set< T > ( ParticleFieldAccessor< T >  fieldAccessor,
value 
)

Sets the specified field value.

Template Parameters
TThe field type.
Parameters
fieldAccessorThe field accessor.
valueThe field value.
Type Constraints
T :struct 

Definition at line 82 of file Particle.cs.

Member Data Documentation

readonly IntPtr SiliconStudio.Paradox.Particles.Particle.Pointer

Definition at line 14 of file Particle.cs.

Property Documentation

IntPtr SiliconStudio.Paradox.Particles.Particle.this[ParticleFieldAccessor fieldAccessor]
get

Gets the pointer to the specifield field.

The field pointer, as an IntPtr.

Parameters
fieldAccessorThe field accessor.
Returns
The field pointer.

Definition at line 96 of file Particle.cs.


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