Bewerken

Delen via


SCNSceneRendererDelegate_Extensions Class

Definition

Extension methods to the ISCNSceneRendererDelegate interface to support all the methods from the SCNSceneRendererDelegate protocol.

public static class SCNSceneRendererDelegate_Extensions
type SCNSceneRendererDelegate_Extensions = class
Inheritance
SCNSceneRendererDelegate_Extensions

Remarks

The extension methods for ISCNSceneRendererDelegate allow developers to treat instances of the interface as having all the optional methods of the original SCNSceneRendererDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

DidApplyAnimations(ISCNSceneRendererDelegate, ISCNSceneRenderer, Double)

Developers may override this method to react to the completion of animations.

DidApplyConstraints(ISCNSceneRendererDelegate, ISCNSceneRenderer, Double)
DidRenderScene(ISCNSceneRendererDelegate, ISCNSceneRenderer, SCNScene, Double)

This method is called shortly after the scene has been rendered.

DidSimulatePhysics(ISCNSceneRendererDelegate, ISCNSceneRenderer, Double)

This method is called shortly after physics have been simulated.

Update(ISCNSceneRendererDelegate, ISCNSceneRenderer, Double)

Developers may override this method to perform processing prior to any actions, animations, or physics simulations.

WillRenderScene(ISCNSceneRendererDelegate, ISCNSceneRenderer, SCNScene, Double)

Developers may override this method to do processing immediately prior to the rendering of the scene.

Applies to