Particle

struct in UnityEngine

Cambiar al Manual

Descripción

Script interface for a Particle.

Variables

angularVelocityLa velocidad angular de la partícula.
angularVelocity3DLa velocidad angular de la partícula.
animatedVelocityThe animated velocity of the particle.
axisOfRotationMesh particles will rotate around this axis.
positionLa posición de la partícula.
randomSeedThe random seed of the particle.
remainingLifetimeLa cantidad de partículas actual (Read Only).
rotationLa rotación de la partícula.
rotation3DLa rotación de la partícula.
startColorThe initial color of the particle. The current color of the particle is calculated procedurally based on this value and the active color modules.
startLifetimeThe starting lifetime of the particle.
startSizeThe initial size of the particle. The current size of the particle is calculated procedurally based on this value and the active size modules.
startSize3DThe initial 3D size of the particle. The current size of the particle is calculated procedurally based on this value and the active size modules.
totalVelocityThe total velocity of the particle.
velocityLa velocidad de la partícula.

Funciones Públicas

GetCurrentColorCalculate the current color of the particle by applying the relevant curves to its startColor property.
GetCurrentSizeCalculate the current size of the particle by applying the relevant curves to its startSize property.
GetCurrentSize3DCalculate the current 3D size of the particle by applying the relevant curves to its startSize3D property.