Edytuj

Udostępnij za pośrednictwem


SCNParticleEvent Enum

Definition

Enumeration of lifecycle events for particles emitted by a SCNParticleSystem. Used with HandleEvent(SCNParticleEvent, NSString[], SCNParticleEventHandler).

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum SCNParticleEvent
type SCNParticleEvent = 
Inheritance
SCNParticleEvent
Attributes

Fields

Name Value Description
Birth 0

This event is raised when a new particle is created.

Death 1

This event is raised when a new particle will be destroyed.

Collision 2

This event is raised when two particles collide with the scene geometry.

Applies to