Upravit

Sdílet prostřednictvím


ISCNSceneRenderer Interface

Definition

Interface representing the required methods (if any) of the protocol SCNSceneRenderer.

[Foundation.Protocol(Name="SCNSceneRenderer", WrapperType=typeof(SceneKit.SCNSceneRendererWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface ISCNSceneRenderer : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="SCNSceneRenderer", WrapperType=typeof(SceneKit.SCNSceneRendererWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public interface ISCNSceneRenderer : IDisposable, ObjCRuntime.INativeObject
type ISCNSceneRenderer = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by SCNSceneRenderer.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the SCNSceneRenderer protocol.

Optional methods (if any) are provided by the SCNSceneRenderer_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

AutoenablesDefaultLighting
Context
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
JitteringEnabled
Loops
OverlayScene
Playing
PointOfView
Scene
SceneTimeInSeconds
ShowsStatistics
WeakSceneRendererDelegate

Methods

HitTest(CGPoint, NSDictionary)
IsNodeInsideFrustum(SCNNode, SCNNode)
Prepare(NSObject, Func<Boolean>)
Prepare(NSObject[], Action<Boolean>)
ProjectPoint(SCNVector3)
UnprojectPoint(SCNVector3)

Extension 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..

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