SCNParticleSystem.HandleEvent(SCNParticleEvent, NSString[], SCNParticleEventHandler) SCNParticleSystem.HandleEvent(SCNParticleEvent, NSString[], SCNParticleEventHandler) Method

Definition

Method to modify particle data in response to an event.

[Foundation.Export("handleEvent:forProperties:withBlock:")]
public virtual void HandleEvent (SceneKit.SCNParticleEvent evnt, Foundation.NSString[] particleProperties, SceneKit.SCNParticleEventHandler handler);
abstract member HandleEvent : SceneKit.SCNParticleEvent * Foundation.NSString[] * SceneKit.SCNParticleEventHandler -> unit
override this.HandleEvent : SceneKit.SCNParticleEvent * Foundation.NSString[] * SceneKit.SCNParticleEventHandler -> unit

Parameters

evnt
SCNParticleEvent SCNParticleEvent

Event filter upon which the provided handler will be executed.

particleProperties
NSString[]
handler
SCNParticleEventHandler SCNParticleEventHandler

Method to execute when the specified event takes place.

Remarks

You use this method to register a handler that will be invoked when the event specified is raised by the particle system (Birth, Date or Collision).

Applies to