C# Class SKSpriteSheet, SpriteKit

Inheritance: UnityEngine.ScriptableObject
Afficher le fichier Open project: prime31/SpriteKit Class Usage Examples

Méthodes publiques

Свойство Type Description
cameraOrthoSize int
containedImages string[]
hasHdAtlas bool
imageSourceFolder string
material Material
targetScreenHeight int

Méthodes publiques

Méthode Description
ToString ( ) : string
getMaterial ( bool isHD ) : Material
sheetWithImageSourceFolder ( string imageSourceFolder ) : SKSpriteSheet,
sheetWithName ( string name ) : SKSpriteSheet,
sheetWithSprite ( string spriteName ) : SKSpriteSheet,
textureInfoForImage ( string sourceImageName ) : SKTextureInfo,

source name can be either just the file name or the file name and extension

Method Details

ToString() public méthode

public ToString ( ) : string
Résultat string

getMaterial() public méthode

public getMaterial ( bool isHD ) : Material
isHD bool
Résultat Material

sheetWithImageSourceFolder() public static méthode

public static sheetWithImageSourceFolder ( string imageSourceFolder ) : SKSpriteSheet,
imageSourceFolder string
Résultat SKSpriteSheet,

sheetWithName() public static méthode

public static sheetWithName ( string name ) : SKSpriteSheet,
name string
Résultat SKSpriteSheet,

sheetWithSprite() public static méthode

public static sheetWithSprite ( string spriteName ) : SKSpriteSheet,
spriteName string
Résultat SKSpriteSheet,

textureInfoForImage() public méthode

source name can be either just the file name or the file name and extension
public textureInfoForImage ( string sourceImageName ) : SKTextureInfo,
sourceImageName string
Résultat SKTextureInfo,

Property Details

cameraOrthoSize public_oe property

public int cameraOrthoSize
Résultat int

containedImages public_oe property

public string[] containedImages
Résultat string[]

hasHdAtlas public_oe property

public bool hasHdAtlas
Résultat bool

imageSourceFolder public_oe property

public string imageSourceFolder
Résultat string

material public_oe property

public Material material
Résultat Material

targetScreenHeight public_oe property

public int targetScreenHeight
Résultat int