Class ParticleSystemSharp
Inheritance
object
ParticleSystemSharp
Inherited Members
MonoBehaviour.EnableScriptReloadInCheckConsistency(bool)
Component.GetComponentInParent<T>(bool)
Component.GetComponentIndex()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, int)
Object.InstantiateAsync<T>(T, int, Transform)
Object.InstantiateAsync<T>(T, int, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
Object.InstantiateAsync<T>(T, InstantiateParameters)
Object.InstantiateAsync<T>(T, int, InstantiateParameters)
Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.InstantiateAsync<T>(T, int, Vector3, Quaternion, InstantiateParameters)
Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>, InstantiateParameters)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsOfType<T>(bool)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>(bool)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Assembly: solution.dll
Syntax
public sealed class ParticleSystemSharp : MonoBehaviour
Fields
rayBudgetState
Declaration
public RayBudgetState rayBudgetState
Field Value
Properties
AABBbound
Declaration
public AABBUtils.AABB AABBbound { get; }
Property Value
PSInstanceID
Declaration
public int PSInstanceID { get; }
Property Value
collision
Declaration
public ParticleSystemSharp.CollisionModuleSharp collision { get; }
Property Value
colorBySpeed
Declaration
public ParticleSystemSharp.ColorBySpeedModuleSharp colorBySpeed { get; }
Property Value
colorOverLifetime
Declaration
public ParticleSystemSharp.ColorOverLifetimeModuleSharp colorOverLifetime { get; }
Property Value
customData
Declaration
public ParticleSystemSharp.CustomDataModuleSharp customData { get; }
Property Value
emission
Declaration
public ParticleSystemSharp.EmissionModuleSharp emission { get; }
Property Value
externalForces
Declaration
public ParticleSystemSharp.ExternalForcesModuleSharp externalForces { get; }
Property Value
forceOverLifetime
Declaration
public ParticleSystemSharp.ForceOverLifetimeModuleSharp forceOverLifetime { get; }
Property Value
inheritVelocity
Declaration
public ParticleSystemSharp.InheritVelocityModuleSharp inheritVelocity { get; }
Property Value
isEmitting
Declaration
public bool isEmitting { get; }
Property Value
isPaused
Declaration
public bool isPaused { get; }
Property Value
isPlaying
Declaration
public bool isPlaying { get; }
Property Value
isStopped
Declaration
public bool isStopped { get; }
Property Value
isVisible
Declaration
public bool isVisible { get; }
Property Value
lifetimeByEmitterSpeed
Declaration
public ParticleSystemSharp.LifetimeByEmitterSpeedModuleSharp lifetimeByEmitterSpeed { get; }
Property Value
lights
Declaration
public ParticleSystemSharp.LightsModuleSharp lights { get; }
Property Value
limitVelocityOverLifetime
Declaration
public ParticleSystemSharp.LimitVelocityOverLifetimeModuleSharp limitVelocityOverLifetime { get; }
Property Value
main
Declaration
public ParticleSystemSharp.MainModuleSharp main { get; }
Property Value
needAABBJob
Declaration
public bool needAABBJob { get; }
Property Value
needCollisionJob
Declaration
public bool needCollisionJob { get; }
Property Value
needColorOverLifetimeJob
Declaration
public bool needColorOverLifetimeJob { get; }
Property Value
needColorOverVelocityJob
Declaration
public bool needColorOverVelocityJob { get; }
Property Value
needCustomGPUDataJob
Declaration
public bool needCustomGPUDataJob { get; }
Property Value
needDeathTypeSubEmitterCreateEmitCommandsJob
Declaration
public bool needDeathTypeSubEmitterCreateEmitCommandsJob { get; }
Property Value
needDeleteTrailJob
Declaration
public bool needDeleteTrailJob { get; }
Property Value
needEmissionJob
Declaration
public bool needEmissionJob { get; }
Property Value
needExternalForcesJob
Declaration
public bool needExternalForcesJob { get; }
Property Value
needForceAndSizeOverLifetimeJob
Declaration
public bool needForceAndSizeOverLifetimeJob { get; }
Property Value
needForceOverLifetimeJob
Declaration
public bool needForceOverLifetimeJob { get; }
Property Value
needGammaToLinearSpaceJob
Declaration
public bool needGammaToLinearSpaceJob { get; }
Property Value
needInheritVelocityCurrentJob
Declaration
public bool needInheritVelocityCurrentJob { get; }
Property Value
needInheritVelocityInitialJob
Declaration
public bool needInheritVelocityInitialJob { get; }
Property Value
needLightsJob
Declaration
public bool needLightsJob { get; }
Property Value
needLimitVelocityOverLifetimeJob
Declaration
public bool needLimitVelocityOverLifetimeJob { get; }
Property Value
needMeshIndexNonUniformJob
Declaration
public bool needMeshIndexNonUniformJob { get; }
Property Value
needMeshIndexUniformJob
Declaration
public bool needMeshIndexUniformJob { get; }
Property Value
needNoiseJob
Declaration
public bool needNoiseJob { get; }
Property Value
needPlaneCollisionJob
Declaration
public bool needPlaneCollisionJob { get; }
Property Value
needRotationBySpeedJob
Declaration
public bool needRotationBySpeedJob { get; }
Property Value
needRotationOverLifetimeJob
Declaration
public bool needRotationOverLifetimeJob { get; }
Property Value
needShapeJob
Declaration
public bool needShapeJob { get; }
Property Value
needSizeBySpeedJob
Declaration
public bool needSizeBySpeedJob { get; }
Property Value
needSizeOverLifetimeJob
Declaration
public bool needSizeOverLifetimeJob { get; }
Property Value
needTrailAABBJob
Declaration
public bool needTrailAABBJob { get; }
Property Value
needTrailJob
Declaration
public bool needTrailJob { get; }
Property Value
needTrailParticleJob
Declaration
public bool needTrailParticleJob { get; }
Property Value
needTrailRibbonJob
Declaration
public bool needTrailRibbonJob { get; }
Property Value
needTriggerJob
Declaration
public bool needTriggerJob { get; }
Property Value
needUpdateBirthTypeSubEmitterCreateEmitCommandsJob
Declaration
public bool needUpdateBirthTypeSubEmitterCreateEmitCommandsJob { get; }
Property Value
needUpdateCustomDataPassingJob1
Declaration
public bool needUpdateCustomDataPassingJob1 { get; }
Property Value
needUpdateCustomDataPassingJob2
Declaration
public bool needUpdateCustomDataPassingJob2 { get; }
Property Value
needUpdateCustomVertexStreamJob
Declaration
public bool needUpdateCustomVertexStreamJob { get; }
Property Value
needUpdateRandomSeedJob
Declaration
public bool needUpdateRandomSeedJob { get; }
Property Value
needUpdateStoreColorToCustomDataJob1
Declaration
public bool needUpdateStoreColorToCustomDataJob1 { get; }
Property Value
needUpdateStoreColorToCustomDataJob2
Declaration
public bool needUpdateStoreColorToCustomDataJob2 { get; }
Property Value
needUpdateUvAnimationTransformJob
Declaration
public bool needUpdateUvAnimationTransformJob { get; }
Property Value
needUploadAgePerCent
Declaration
public bool needUploadAgePerCent { get; }
Property Value
needUploadAnimFrame
Declaration
public bool needUploadAnimFrame { get; }
Property Value
needUploadBlendData
Declaration
public bool needUploadBlendData { get; }
Property Value
needUploadLifetime
Declaration
public bool needUploadLifetime { get; }
Property Value
needUploadMeshIndex
Declaration
public bool needUploadMeshIndex { get; }
Property Value
needUploadNoiseImpulse
Declaration
public bool needUploadNoiseImpulse { get; }
Property Value
needUploadNoiseSum
Declaration
public bool needUploadNoiseSum { get; }
Property Value
needUploadRotationSpeed
Declaration
public bool needUploadRotationSpeed { get; }
Property Value
needUploadUV0
Declaration
public bool needUploadUV0 { get; }
Property Value
needVelocityControlJob
Declaration
public bool needVelocityControlJob { get; }
Property Value
needVelocityIntegrateJob
Declaration
public bool needVelocityIntegrateJob { get; }
Property Value
needVelocityOverLifetimeJob
Declaration
public bool needVelocityOverLifetimeJob { get; }
Property Value
noise
Declaration
public ParticleSystemSharp.NoiseModuleSharp noise { get; }
Property Value
notUploadColor
Declaration
public bool notUploadColor { get; }
Property Value
particleCount
Declaration
public int particleCount { get; }
Property Value
particleSystemRenderer
Declaration
public ParticleSystemSharp.RendererModuleSharp particleSystemRenderer { get; }
Property Value
proceduralSimulationSupported
Declaration
public bool proceduralSimulationSupported { get; }
Property Value
randomSeed
Declaration
public int randomSeed { get; set; }
Property Value
renderParticle
Declaration
public bool renderParticle { get; }
Property Value
rotationBySpeed
Declaration
public ParticleSystemSharp.RotationBySpeedModuleSharp rotationBySpeed { get; }
Property Value
rotationOverLifetime
Declaration
public ParticleSystemSharp.RotationOverLifetimeModuleSharp rotationOverLifetime { get; }
Property Value
shape
Declaration
public ParticleSystemSharp.ShapeModuleSharp shape { get; }
Property Value
sizeBySpeed
Declaration
public ParticleSystemSharp.SizeBySpeedModuleSharp sizeBySpeed { get; }
Property Value
sizeOverLifetime
Declaration
public ParticleSystemSharp.SizeOverLifetimeModuleSharp sizeOverLifetime { get; }
Property Value
subEmitters
Declaration
public ParticleSystemSharp.SubEmittersModuleSharp subEmitters { get; }
Property Value
textureSheetAnimation
Declaration
public ParticleSystemSharp.TextureSheetAnimationModuleSharp textureSheetAnimation { get; }
Property Value
time
Declaration
public float time { get; set; }
Property Value
totalTime
Declaration
public float totalTime { get; }
Property Value
trailEnabled
Declaration
public bool trailEnabled { get; }
Property Value
trails
Declaration
public ParticleSystemSharp.TrailModuleSharp trails { get; }
Property Value
trigger
Declaration
public ParticleSystemSharp.TriggersModuleSharp trigger { get; }
Property Value
useApproximation
Declaration
public bool useApproximation { get; }
Property Value
useAutoRandomSeed
Declaration
public bool useAutoRandomSeed { get; set; }
Property Value
useCollision2D
Declaration
public bool useCollision2D { get; }
Property Value
useCollision3D
Declaration
public bool useCollision3D { get; }
Property Value
velocityOverLifetime
Declaration
public ParticleSystemSharp.VelocityOverLifetimeModuleSharp velocityOverLifetime { get; }
Property Value
Methods
Awake()
Declaration
Clear()
Declaration
Clear(bool)
Declaration
public void Clear(bool withChildren)
Parameters
| Type |
Name |
Description |
| bool |
withChildren |
|
DefaultValueChangedCallback()
Declaration
public static void DefaultValueChangedCallback()
Emit(int)
Declaration
public void Emit(int count)
Parameters
| Type |
Name |
Description |
| int |
count |
|
Emit(EmitParams, int)
Declaration
public void Emit(ParticleSystemSharp.EmitParams emitParams, int count)
Parameters
FinishUpdate()
Declaration
public bool FinishUpdate()
Returns
GetCollisionEvents(GameObject, List<MonoParticleCollisionEvent>)
Declaration
public int GetCollisionEvents(GameObject go, List<MonoParticleCollisionEvent> collisionEvents)
Parameters
Returns
GetCustomParticleData(List<Vector4>, ParticleSystemCustomData)
Declaration
public int GetCustomParticleData(List<Vector4> outputCustomData, ParticleSystemCustomData streamIndex)
Parameters
Returns
GetParticleSystemsInHierarchyOrder(GameObject)
Declaration
public List<ParticleSystemSharp> GetParticleSystemsInHierarchyOrder(GameObject root)
Parameters
Returns
GetParticles(Particle[])
Declaration
public int GetParticles(ParticleSystemSharp.Particle[] particles)
Parameters
| Type |
Name |
Description |
| Particle[] |
particles |
|
Returns
GetParticles(Particle[], int)
Declaration
public int GetParticles(ParticleSystemSharp.Particle[] particles, int size)
Parameters
Returns
GetSafeCollisionEventSize()
Declaration
public int GetSafeCollisionEventSize()
Returns
GetTriggerParticles(ParticleSystemTriggerEventType, List<Particle>)
Declaration
public int GetTriggerParticles(ParticleSystemTriggerEventType type, List<ParticleSystemSharp.Particle> particles)
Parameters
Returns
GetTriggerParticles(ParticleSystemTriggerEventType, List<Particle>, out ColliderData)
Declaration
public int GetTriggerParticles(ParticleSystemTriggerEventType type, List<ParticleSystemSharp.Particle> particles, out ParticleSystemSharp.ColliderData colliderData)
Parameters
Returns
IsAlive()
Declaration
Returns
IsAlive(bool)
Declaration
public bool IsAlive(bool withChildren)
Parameters
| Type |
Name |
Description |
| bool |
withChildren |
|
Returns
OnRenderJobsInitial()
Declaration
public void OnRenderJobsInitial()
Pause()
Declaration
Pause(bool)
Declaration
public void Pause(bool withChildren)
Parameters
| Type |
Name |
Description |
| bool |
withChildren |
|
Play()
Declaration
Play(bool)
Declaration
public void Play(bool withChildren)
Parameters
| Type |
Name |
Description |
| bool |
withChildren |
|
Play(bool, bool)
Declaration
public void Play(bool withChildren, bool restart)
Parameters
| Type |
Name |
Description |
| bool |
withChildren |
|
| bool |
restart |
|
Play(bool, bool, bool)
Declaration
public void Play(bool withChildren, bool restart, bool fixedTimeStep)
Parameters
| Type |
Name |
Description |
| bool |
withChildren |
|
| bool |
restart |
|
| bool |
fixedTimeStep |
|
SetCustomParticleData(List<Vector4>, ParticleSystemCustomData)
Declaration
public void SetCustomParticleData(List<Vector4> inputCustomData, ParticleSystemCustomData streamIndex)
Parameters
SetParticles(Particle[])
Declaration
public void SetParticles(ParticleSystemSharp.Particle[] particles)
Parameters
| Type |
Name |
Description |
| Particle[] |
particles |
|
SetParticles(Particle[], int)
Declaration
public void SetParticles(ParticleSystemSharp.Particle[] particles, int size)
Parameters
SetTriggerParticles(ParticleSystemTriggerEventType, List<Particle>)
Declaration
public void SetTriggerParticles(ParticleSystemTriggerEventType type, List<ParticleSystemSharp.Particle> particles)
Parameters
SetTriggerParticles(ParticleSystemTriggerEventType, List<Particle>, int, int)
Declaration
public void SetTriggerParticles(ParticleSystemTriggerEventType type, List<ParticleSystemSharp.Particle> particles, int offset, int count)
Parameters
Simulate(float)
Declaration
public void Simulate(float t)
Parameters
| Type |
Name |
Description |
| float |
t |
|
Simulate(float, bool)
Declaration
public void Simulate(float t, bool withChildren)
Parameters
| Type |
Name |
Description |
| float |
t |
|
| bool |
withChildren |
|
Simulate(float, bool, bool)
Declaration
public void Simulate(float t, bool withChildren, bool restart)
Parameters
Simulate(float, bool, bool, bool)
Declaration
public void Simulate(float t, bool withChildren, bool restart, bool fixedTimeStep)
Parameters
Simulate(float, float)
Declaration
public void Simulate(float time, float simulationTimeStep = null)
Parameters
| Type |
Name |
Description |
| float |
time |
|
| float |
simulationTimeStep |
|
Stop()
Declaration
Stop(bool)
Declaration
public void Stop(bool withChildren)
Parameters
| Type |
Name |
Description |
| bool |
withChildren |
|
Stop(bool, ParticleSystemStopBehavior)
Declaration
public void Stop(bool withChildren, ParticleSystemStopBehavior stopBehavior)
Parameters
TriggerSubEmitter(int)
Declaration
public void TriggerSubEmitter(int subEmitterIndex)
Parameters
| Type |
Name |
Description |
| int |
subEmitterIndex |
|
TriggerSubEmitter(int, ref Particle)
Declaration
public void TriggerSubEmitter(int subEmitterIndex, ref ParticleSystemSharp.Particle particle)
Parameters
TriggerSubEmitter(int, Particle[], int)
Declaration
public void TriggerSubEmitter(int subEmitterIndex, ParticleSystemSharp.Particle[] particles, int count)
Parameters
| Type |
Name |
Description |
| int |
subEmitterIndex |
|
| Particle[] |
particles |
|
| int |
count |
|
Update0()
Declaration
Extension Methods