Bagikan melalui


SCNTransformConstraint.CreatePositionConstraint Metode

Definisi

[Foundation.Export("positionConstraintInWorldSpace: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 CreatePositionConstraint (bool inWorldSpace, Func<SceneKit.SCNNode,SceneKit.SCNVector3,SceneKit.SCNVector3> transformHandler);
static member CreatePositionConstraint : bool * Func<SceneKit.SCNNode, SceneKit.SCNVector3, SceneKit.SCNVector3> -> SceneKit.SCNTransformConstraint

Parameter

inWorldSpace
Boolean
transformHandler
Func<SCNNode,SCNVector3,SCNVector3>

Mengembalikan

Atribut

Berlaku untuk