Property | 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 |
Method | 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. |
return | float |
public getCustomVarBool ( string key, bool defaultValue = true ) : bool | ||
key | string | |
defaultValue | bool | |
return | bool |
public getCustomVarFloat ( string key, float defaultValue = 0f ) : float | ||
key | string | |
defaultValue | float | |
return | float |
public getCustomVarInt ( string key, int defaultValue ) : int | ||
key | string | |
defaultValue | int | |
return | int |
public getCustomVarString ( string key ) : string | ||
key | string | |
return | string |
public getCustomVars ( ) : string>.Dictionary |
||
return | string>.Dictionary |
public orginForImageSize ( float width, float height ) : Vector2 | ||
width | float | Width. |
height | float | Height. |
return | Vector2 |