C# Класс SKSpriteSheet, SpriteKit

Наследование: UnityEngine.ScriptableObject
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
cameraOrthoSize int
containedImages string[]
hasHdAtlas bool
imageSourceFolder string
material Material
targetScreenHeight int

Открытые методы

Метод Описание
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

Описание методов

ToString() публичный Метод

public ToString ( ) : string
Результат string

getMaterial() публичный Метод

public getMaterial ( bool isHD ) : Material
isHD bool
Результат Material

sheetWithImageSourceFolder() публичный статический Метод

public static sheetWithImageSourceFolder ( string imageSourceFolder ) : SKSpriteSheet,
imageSourceFolder string
Результат SKSpriteSheet,

sheetWithName() публичный статический Метод

public static sheetWithName ( string name ) : SKSpriteSheet,
name string
Результат SKSpriteSheet,

sheetWithSprite() публичный статический Метод

public static sheetWithSprite ( string spriteName ) : SKSpriteSheet,
spriteName string
Результат SKSpriteSheet,

textureInfoForImage() публичный Метод

source name can be either just the file name or the file name and extension
public textureInfoForImage ( string sourceImageName ) : SKTextureInfo,
sourceImageName string
Результат SKTextureInfo,

Описание свойств

cameraOrthoSize публичное свойство

public int cameraOrthoSize
Результат int

containedImages публичное свойство

public string[] containedImages
Результат string[]

hasHdAtlas публичное свойство

public bool hasHdAtlas
Результат bool

imageSourceFolder публичное свойство

public string imageSourceFolder
Результат string

material публичное свойство

public Material material
Результат Material

targetScreenHeight публичное свойство

public int targetScreenHeight
Результат int