Share via


SCNNode.FromGeometry(SCNGeometry) Method

Definition

[Foundation.Export("nodeWithGeometry:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNNode FromGeometry(SceneKit.SCNGeometry? geometry);
[<Foundation.Export("nodeWithGeometry:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromGeometry : SceneKit.SCNGeometry -> SceneKit.SCNNode

Parameters

geometry
SCNGeometry

Returns

Attributes

Applies to