C# Class Spine.Unity.Modules.SpriteAttachmentExtensions

Mostrar archivo Open project: EsotericSoftware/spine-runtimes

Public Methods

Method Description
AddUnitySprite ( this skeletonData, string slotName, Sprite sprite, string skinName, Shader shader, bool applyPMA ) : RegionAttachment
AddUnitySprite ( this skeletonData, string slotName, Sprite sprite, string skinName = "", string shaderName = SpriteAttacher.DefaultPMAShader, bool applyPMA = true ) : RegionAttachment
AttachUnitySprite ( this skeleton, string slotName, Sprite sprite, Shader shader, bool applyPMA ) : RegionAttachment
AttachUnitySprite ( this skeleton, string slotName, Sprite sprite, string shaderName = SpriteAttacher.DefaultPMAShader, bool applyPMA = true ) : RegionAttachment

Method Details

AddUnitySprite() public static method

public static AddUnitySprite ( this skeletonData, string slotName, Sprite sprite, string skinName, Shader shader, bool applyPMA ) : RegionAttachment
skeletonData this
slotName string
sprite UnityEngine.Sprite
skinName string
shader UnityEngine.Shader
applyPMA bool
return RegionAttachment

AddUnitySprite() public static method

public static AddUnitySprite ( this skeletonData, string slotName, Sprite sprite, string skinName = "", string shaderName = SpriteAttacher.DefaultPMAShader, bool applyPMA = true ) : RegionAttachment
skeletonData this
slotName string
sprite UnityEngine.Sprite
skinName string
shaderName string
applyPMA bool
return RegionAttachment

AttachUnitySprite() public static method

public static AttachUnitySprite ( this skeleton, string slotName, Sprite sprite, Shader shader, bool applyPMA ) : RegionAttachment
skeleton this
slotName string
sprite UnityEngine.Sprite
shader UnityEngine.Shader
applyPMA bool
return RegionAttachment

AttachUnitySprite() public static method

public static AttachUnitySprite ( this skeleton, string slotName, Sprite sprite, string shaderName = SpriteAttacher.DefaultPMAShader, bool applyPMA = true ) : RegionAttachment
skeleton this
slotName string
sprite UnityEngine.Sprite
shaderName string
applyPMA bool
return RegionAttachment