Show / Hide Table of Contents

Struct ParticleSystem.Particle

Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
public struct Particle

Properties

| Improve this Doc View Source

angularVelocity

Declaration
public float angularVelocity { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

angularVelocity3D

Declaration
public Vector3 angularVelocity3D { get; set; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

animatedVelocity

Declaration
public Vector3 animatedVelocity { get; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

axisOfRotation

Declaration
public Vector3 axisOfRotation { get; set; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

color

Declaration
[Obsolete("color property is deprecated. Use startColor or GetCurrentColor() instead.", false)]
public Color32 color { get; set; }
Property Value
Type Description
Color32
| Improve this Doc View Source

lifetime

Declaration
[Obsolete("Please use Particle.remainingLifetime instead. (UnityUpgradable) -> UnityEngine.ParticleSystem/Particle.remainingLifetime", false)]
public float lifetime { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

position

Declaration
public Vector3 position { get; set; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

randomSeed

Declaration
public uint randomSeed { get; set; }
Property Value
Type Description
UInt32
| Improve this Doc View Source

randomValue

Declaration
[Obsolete("randomValue property is deprecated. Use randomSeed instead to control random behavior of particles.", false)]
public float randomValue { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

remainingLifetime

Declaration
public float remainingLifetime { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

rotation

Declaration
public float rotation { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

rotation3D

Declaration
public Vector3 rotation3D { get; set; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

size

Declaration
[Obsolete("size property is deprecated. Use startSize or GetCurrentSize() instead.", false)]
public float size { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

startColor

Declaration
public Color32 startColor { get; set; }
Property Value
Type Description
Color32
| Improve this Doc View Source

startLifetime

Declaration
public float startLifetime { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

startSize

Declaration
public float startSize { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

startSize3D

Declaration
public Vector3 startSize3D { get; set; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

totalVelocity

Declaration
public Vector3 totalVelocity { get; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

velocity

Declaration
public Vector3 velocity { get; set; }
Property Value
Type Description
Vector3

Methods

| Improve this Doc View Source

GetCurrentColor(ParticleSystem)

Declaration
public Color32 GetCurrentColor(ParticleSystem system)
Parameters
Type Name Description
ParticleSystem system
Returns
Type Description
Color32
| Improve this Doc View Source

GetCurrentSize(ParticleSystem)

Declaration
public float GetCurrentSize(ParticleSystem system)
Parameters
Type Name Description
ParticleSystem system
Returns
Type Description
Single
| Improve this Doc View Source

GetCurrentSize3D(ParticleSystem)

Declaration
public Vector3 GetCurrentSize3D(ParticleSystem system)
Parameters
Type Name Description
ParticleSystem system
Returns
Type Description
Vector3

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX