Project Mercury API Reference |
Particle Members |
Particle Structure Methods Fields Properties See Also Send Feedback |
[This is preliminary documentation and is subject to change.]
The Particle type exposes the following members.
Methods
Name | Description | |
---|---|---|
ApplyForce |
Applies a force to the particle.
| |
Equals |
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode |
Returns the hash code for this instance.
(Inherited from ValueType.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
Rotate |
Applies a rotation to the Particle.
| |
ToString |
Returns the fully qualified type name of this instance.
(Inherited from ValueType.) |
Fields
Name | Description | |
---|---|---|
Age |
Gets or sets the age of the particle in the range 0-1.
| |
Colour |
Gets or sets the colour of the particle. The W component is opacity.
| |
Inception |
Gets or sets the time at which the particle was released.
| |
Momentum |
Gets or sets the current momentum of the particle.
| |
Position |
Gets or sets the position of the particle.
| |
Rotation |
Gets or sets the rotation of the particle in radians.
| |
Scale |
Gets or sets the scale of the particle.
| |
Velocity |
Gets or sets the sum of the forces which are currently acting on the particle.
| |
VertexElements |
Contains the vertex element data for a Particle.
|
Properties
Name | Description | |
---|---|---|
SizeInBytes |
Gets the size of a Particle structure in bytes.
|