編輯

共用方式為


SKAttributeValue.Create Method

Definition

Overloads

Create(Vector2)
Create(Vector3)
Create(Vector4)
Create(Single)

Create(Vector2)

[Foundation.Export("valueWithVectorFloat2:")]
public static SpriteKit.SKAttributeValue Create (OpenTK.Vector2 value);
static member Create : OpenTK.Vector2 -> SpriteKit.SKAttributeValue

Parameters

value
Vector2

Returns

Attributes

Applies to

Create(Vector3)

[Foundation.Export("valueWithVectorFloat3:")]
public static SpriteKit.SKAttributeValue Create (OpenTK.Vector3 value);
static member Create : OpenTK.Vector3 -> SpriteKit.SKAttributeValue

Parameters

value
Vector3

Returns

Attributes

Applies to

Create(Vector4)

[Foundation.Export("valueWithVectorFloat4:")]
public static SpriteKit.SKAttributeValue Create (OpenTK.Vector4 value);
static member Create : OpenTK.Vector4 -> SpriteKit.SKAttributeValue

Parameters

value
Vector4

Returns

Attributes

Applies to

Create(Single)

[Foundation.Export("valueWithFloat:")]
public static SpriteKit.SKAttributeValue Create (float value);
static member Create : single -> SpriteKit.SKAttributeValue

Parameters

value
Single

Returns

Attributes

Applies to