SKUniform.Create Method

Definition

Overloads

Create(String, Vector2)
Create(String, Single)
Create(String, SKTexture)
Create(String, Vector4)
Create(String, Vector3)
Create(String, NMatrix4)
Create(String, Matrix4)
Create(String, NMatrix2)
Create(String, NMatrix3)
Create(String, Matrix3)
Create(String, Matrix2)
Create(String)

Create(String, Vector2)

[Foundation.Export("uniformWithName:vectorFloat2:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKUniform Create (string name, OpenTK.Vector2 value);
static member Create : string * OpenTK.Vector2 -> SpriteKit.SKUniform

Parameters

name
String
value
Vector2

Returns

Attributes

Create(String, Single)

[Foundation.Export("uniformWithName:float:")]
public static SpriteKit.SKUniform Create (string name, float value);
static member Create : string * single -> SpriteKit.SKUniform

Parameters

name
String
value
Single

Returns

Attributes

Create(String, SKTexture)

[Foundation.Export("uniformWithName:texture:")]
public static SpriteKit.SKUniform Create (string name, SpriteKit.SKTexture texture);
static member Create : string * SpriteKit.SKTexture -> SpriteKit.SKUniform

Parameters

name
String
texture
SKTexture

To be added.

This parameter can be null.

Returns

Attributes

Create(String, Vector4)

[Foundation.Export("uniformWithName:vectorFloat4:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKUniform Create (string name, OpenTK.Vector4 value);
static member Create : string * OpenTK.Vector4 -> SpriteKit.SKUniform

Parameters

name
String
value
Vector4

Returns

Attributes

Create(String, Vector3)

[Foundation.Export("uniformWithName:vectorFloat3:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKUniform Create (string name, OpenTK.Vector3 value);
static member Create : string * OpenTK.Vector3 -> SpriteKit.SKUniform

Parameters

name
String
value
Vector3

Returns

Attributes

Create(String, NMatrix4)

[Foundation.Export("uniformWithName:matrixFloat4x4:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKUniform Create (string name, OpenTK.NMatrix4 value);
static member Create : string * OpenTK.NMatrix4 -> SpriteKit.SKUniform

Parameters

name
String
value
NMatrix4

Returns

Attributes

Create(String, Matrix4)

Warning

This API is now obsolete.

[Foundation.Export("uniformWithName:matrixFloat4x4:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Obsolete("Use 'the '(string, MatrixFloat4x4)' overload instead.", false)]
public static SpriteKit.SKUniform Create (string name, OpenTK.Matrix4 value);
static member Create : string * OpenTK.Matrix4 -> SpriteKit.SKUniform

Parameters

name
String
value
Matrix4

Returns

Attributes

Create(String, NMatrix2)

[Foundation.Export("uniformWithName:matrixFloat2x2:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKUniform Create (string name, OpenTK.NMatrix2 value);
static member Create : string * OpenTK.NMatrix2 -> SpriteKit.SKUniform

Parameters

name
String
value
NMatrix2

Returns

Attributes

Create(String, NMatrix3)

[Foundation.Export("uniformWithName:matrixFloat3x3:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKUniform Create (string name, OpenTK.NMatrix3 value);
static member Create : string * OpenTK.NMatrix3 -> SpriteKit.SKUniform

Parameters

name
String
value
NMatrix3

Returns

Attributes

Create(String, Matrix3)

Warning

This API is now obsolete.

[Foundation.Export("uniformWithName:matrixFloat3x3:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Obsolete("Use the '(string, MatrixFloat3x3)' overload instead.", false)]
public static SpriteKit.SKUniform Create (string name, OpenTK.Matrix3 value);
static member Create : string * OpenTK.Matrix3 -> SpriteKit.SKUniform

Parameters

name
String
value
Matrix3

Returns

Attributes

Create(String, Matrix2)

Warning

This API is now obsolete.

[Foundation.Export("uniformWithName:matrixFloat2x2:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Obsolete("Use the '(string, MatrixFloat2x2)' overload instead.", false)]
public static SpriteKit.SKUniform Create (string name, OpenTK.Matrix2 value);
static member Create : string * OpenTK.Matrix2 -> SpriteKit.SKUniform

Parameters

name
String
value
Matrix2

Returns

Attributes

Create(String)

[Foundation.Export("uniformWithName:")]
public static SpriteKit.SKUniform Create (string name);
static member Create : string -> SpriteKit.SKUniform

Parameters

name
String

Returns

Attributes

Applies to