Script interface for a Particle.

angularVelocity | The angular velocity of the particle. |

angularVelocity3D | The 3D angular velocity of the particle. |

animatedVelocity | The animated velocity of the particle. |

axisOfRotation | Mesh particles will rotate around this axis. |

position | The position of the particle. |

randomSeed | The random seed of the particle. |

remainingLifetime | The remaining lifetime of the particle. |

rotation | The rotation of the particle. |

rotation3D | The 3D rotation of the particle. |

startColor | The initial color of the particle. The current color of the particle is calculated procedurally based on this value and the active color modules. |

startLifetime | The starting lifetime of the particle. |

startSize | The initial size of the particle. The current size of the particle is calculated procedurally based on this value and the active size modules. |

startSize3D | The initial 3D size of the particle. The current size of the particle is calculated procedurally based on this value and the active size modules. |

totalVelocity | The total velocity of the particle. |

velocity | The velocity of the particle. |

GetCurrentColor | Calculate the current color of the particle by applying the relevant curves to its startColor property. |

GetCurrentSize | Calculate the current size of the particle by applying the relevant curves to its startSize property. |

GetCurrentSize3D | Calculate the current 3D size of the particle by applying the relevant curves to its startSize3D property. |

Copyright © 2019 Unity Technologies. Publication 2019.1