Compartir a través de


SKEffectNode.Shader Propiedad

Definición

Obtiene o establece el sombreador personalizado que se va a usar al combinar el nodo en el búfer de fotogramas de su elemento primario.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual SpriteKit.SKShader Shader { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("shader", ObjCRuntime.ArgumentSemantic.Strong)] get; [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setShader:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.Shader : SpriteKit.SKShader with get, set

Valor de propiedad

(Se incluye más documentación para este nodo)

Este valor puede ser null.

Atributos

Se aplica a