Editar

Compartir a través de


SCNGeometry.HandleBinding(String, SCNBindingHandler) Method

Definition

Assigns the specified handler that will be run before rendering is handled by the program that is identified by the specified GLSL symbol name.

[Foundation.Export("handleBindingOfSymbol:usingBlock:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void HandleBinding (string symbol, SceneKit.SCNBindingHandler handler);
abstract member HandleBinding : string * SceneKit.SCNBindingHandler -> unit
override this.HandleBinding : string * SceneKit.SCNBindingHandler -> unit

Parameters

symbol
String
Attributes

Applies to