Свойство | Type | Description | |
---|---|---|---|
customVars | string | ||
itemIdentifier | string | ||
itemName | string | ||
layerDepth | float | ||
layerName | string | ||
originX | float | ||
originY | float | ||
renderLayer | int | ||
rotation | float | ||
scaleX | float | ||
scaleY | float | ||
tint | Color | ||
uniqueId | int | ||
x | float | ||
y | float | ||
zIndex | int |
Méthode | Description | |
---|---|---|
calculateLayerDepth ( float zIndexMax ) : float |
helper to translate zIndex to layerDepth. zIndexMax should be at least equal to the highest zIndex
|
|
getCustomVarBool ( string key, bool defaultValue = true ) : bool | ||
getCustomVarFloat ( string key, float defaultValue = 0f ) : float | ||
getCustomVarInt ( string key, int defaultValue ) : int | ||
getCustomVarString ( string key ) : string | ||
getCustomVars ( ) : string>.Dictionary |
||
orginForImageSize ( float width, float height ) : Vector2 |
translates the bottom-left based origin of Overlap2D to a top-left based origin
|
|
parseCustomVars ( ) : void |
public calculateLayerDepth ( float zIndexMax ) : float | ||
zIndexMax | float | Z index max. |
Résultat | float |
public getCustomVarBool ( string key, bool defaultValue = true ) : bool | ||
key | string | |
defaultValue | bool | |
Résultat | bool |
public getCustomVarFloat ( string key, float defaultValue = 0f ) : float | ||
key | string | |
defaultValue | float | |
Résultat | float |
public getCustomVarInt ( string key, int defaultValue ) : int | ||
key | string | |
defaultValue | int | |
Résultat | int |
public getCustomVarString ( string key ) : string | ||
key | string | |
Résultat | string |
public getCustomVars ( ) : string>.Dictionary |
||
Résultat | string>.Dictionary |
public orginForImageSize ( float width, float height ) : Vector2 | ||
width | float | Width. |
height | float | Height. |
Résultat | Vector2 |