SCNSceneRenderer_Extensions SCNSceneRenderer_Extensions Class

Definition

Extension methods to the ISCNSceneRenderer interface to support all the methods from the SCNSceneRenderer protocol.

public static class SCNSceneRenderer_Extensions
type SCNSceneRenderer_Extensions = class
Inheritance
SCNSceneRenderer_ExtensionsSCNSceneRenderer_Extensions

Remarks

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

Methods

GetAudioEngine(ISCNSceneRenderer) GetAudioEngine(ISCNSceneRenderer)

Returns the audio engine that is used to render sounds in the scene

GetAudioEnvironmentNode(ISCNSceneRenderer) GetAudioEnvironmentNode(ISCNSceneRenderer)

Returns the audio environment node for the scene..

GetAudioListener(ISCNSceneRenderer) GetAudioListener(ISCNSceneRenderer)

Returns the node that represents the position of the listener in the scene.

GetColorPixelFormat(ISCNSceneRenderer) GetColorPixelFormat(ISCNSceneRenderer)

Returns the format for color pixels..

GetCommandQueue(ISCNSceneRenderer) GetCommandQueue(ISCNSceneRenderer)

Returns the command queue..

GetCurrentRenderCommandEncoder(ISCNSceneRenderer) GetCurrentRenderCommandEncoder(ISCNSceneRenderer)

Returns the current command encoder that is used for rendering.

GetCurrentTime(ISCNSceneRenderer) GetCurrentTime(ISCNSceneRenderer)
GetDebugOptions(ISCNSceneRenderer) GetDebugOptions(ISCNSceneRenderer)

Returns a value that controls which, if any, debug overlays to show in the rendered output..

GetDepthPixelFormat(ISCNSceneRenderer) GetDepthPixelFormat(ISCNSceneRenderer)

Returns the format for depth pixels.

GetDevice(ISCNSceneRenderer) GetDevice(ISCNSceneRenderer)

Returns the metal device that is used for rendering.

GetNodesInsideFrustum(ISCNSceneRenderer, SCNNode) GetNodesInsideFrustum(ISCNSceneRenderer, SCNNode)

Returns the nodes that are contained in the frustrum that is defined by the provided node.

GetRenderingApi(ISCNSceneRenderer) GetRenderingApi(ISCNSceneRenderer)

Returns the rendering API that is used to render the scene.

GetStencilPixelFormat(ISCNSceneRenderer) GetStencilPixelFormat(ISCNSceneRenderer)

Returns the format for stencil pixels..

HitTest(ISCNSceneRenderer, CGPoint, SCNHitTestOptions) HitTest(ISCNSceneRenderer, CGPoint, SCNHitTestOptions)
PrepareAsync(ISCNSceneRenderer, NSObject[]) PrepareAsync(ISCNSceneRenderer, NSObject[])

Asynchronously prepares content for smoothly rendering a new animated scene, returning a task that indicates whether scene preparation succeeded.

PresentScene(ISCNSceneRenderer, SCNScene, SKTransition, SCNNode, Action) PresentScene(ISCNSceneRenderer, SCNScene, SKTransition, SCNNode, Action)

Displays the provided scene.

PresentSceneAsync(ISCNSceneRenderer, SCNScene, SKTransition, SCNNode) PresentSceneAsync(ISCNSceneRenderer, SCNScene, SKTransition, SCNNode)

Asynchronously presents the scene, returning a task that represents the operation.

SetAudioListener(ISCNSceneRenderer, SCNNode) SetAudioListener(ISCNSceneRenderer, SCNNode)

Sets the node that represents the position of the listener in the scene.

SetCurrentTime(ISCNSceneRenderer, Double) SetCurrentTime(ISCNSceneRenderer, Double)
SetDebugOptions(ISCNSceneRenderer, SCNDebugOptions) SetDebugOptions(ISCNSceneRenderer, SCNDebugOptions)

Sets a value that controls which, if any, debug overlays to show in the rendered output.

Applies to