SCNParticleSystem.HandleEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).