Düzenle

Aracılığıyla paylaş


SCNParticleSystem.HandleEvent 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

Event filter upon which the provided handler will be executed.

particleProperties
NSString[]
handler
SCNParticleEventHandler

Method to execute when the specified event takes place.

Attributes

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