SCNNode_GameplayKit.SetEntity(SCNNode, GKEntity) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("setEntity:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void SetEntity(this SceneKit.SCNNode This, GameplayKit.GKEntity? entity);
[<Foundation.Export("setEntity:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member SetEntity : SceneKit.SCNNode * GameplayKit.GKEntity -> unit
Parameters
- This
- SCNNode
The instance on which this method operates.
- entity
- GKEntity
- Attributes