Bewerken

Delen via


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_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)

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

GetAudioEnvironmentNode(ISCNSceneRenderer)

Returns the audio environment node for the scene..

GetAudioListener(ISCNSceneRenderer)

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

GetColorPixelFormat(ISCNSceneRenderer)

Returns the format for color pixels..

GetCommandQueue(ISCNSceneRenderer)

Returns the command queue..

GetCurrentRenderCommandEncoder(ISCNSceneRenderer)

Returns the current command encoder that is used for rendering.

GetCurrentTime(ISCNSceneRenderer)
GetDebugOptions(ISCNSceneRenderer)

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

GetDepthPixelFormat(ISCNSceneRenderer)

Returns the format for depth pixels.

GetDevice(ISCNSceneRenderer)

Returns the metal device that is used for rendering.

GetNodesInsideFrustum(ISCNSceneRenderer, SCNNode)

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

GetRenderingApi(ISCNSceneRenderer)

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

GetStencilPixelFormat(ISCNSceneRenderer)

Returns the format for stencil pixels..

HitTest(ISCNSceneRenderer, CGPoint, SCNHitTestOptions)
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)

Displays the provided scene.

PresentSceneAsync(ISCNSceneRenderer, SCNScene, SKTransition, SCNNode)

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

SetAudioListener(ISCNSceneRenderer, SCNNode)

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

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

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

Applies to