Editar

Compartilhar via


SCNTransformConstraint.CreateOrientationConstraint Method

Definition

[Foundation.Export("orientationConstraintInWorldSpace:withBlock:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static SceneKit.SCNTransformConstraint CreateOrientationConstraint (bool inWorldSpace, Func<SceneKit.SCNNode,SceneKit.SCNQuaternion,SceneKit.SCNQuaternion> transformHandler);
static member CreateOrientationConstraint : bool * Func<SceneKit.SCNNode, SceneKit.SCNQuaternion, SceneKit.SCNQuaternion> -> SceneKit.SCNTransformConstraint

Parameters

inWorldSpace
Boolean

Returns

Attributes

Applies to