C# Class Nez.Overlap2D.Runtime.MainItemVO

Exibir arquivo Open project: prime31/Nez Class Usage Examples

Public Properties

Property Type Description
customVars string
itemIdentifier string
itemName string
layerDepth float
originX float
originY float
physics PhysicsBodyDataVO
renderLayer int
rotation float
scaleX float
scaleY float
shaderName string
shape ShapeVO
tags string[]
tint float[]
uniqueId int
x float
y float
zIndex int

Public Methods

Method Description
ToString ( ) : string
calculateLayerDepth ( float zIndexMin, float zIndexMax, CompositeItemVO compositeItem ) : float

helper to translate zIndex to layerDepth. zIndexMax should be at least equal to the highest zIndex

Method Details

ToString() public method

public ToString ( ) : string
return string

calculateLayerDepth() public method

helper to translate zIndex to layerDepth. zIndexMax should be at least equal to the highest zIndex
public calculateLayerDepth ( float zIndexMin, float zIndexMax, CompositeItemVO compositeItem ) : float
zIndexMin float
zIndexMax float Z index max.
compositeItem CompositeItemVO
return float

Property Details

customVars public_oe property

public string customVars
return string

itemIdentifier public_oe property

public string itemIdentifier
return string

itemName public_oe property

public string itemName
return string

layerDepth public_oe property

public float layerDepth
return float

originX public_oe property

public float originX
return float

originY public_oe property

public float originY
return float

physics public_oe property

public PhysicsBodyDataVO,Nez.Overlap2D.Runtime physics
return PhysicsBodyDataVO

renderLayer public_oe property

public int renderLayer
return int

rotation public_oe property

public float rotation
return float

scaleX public_oe property

public float scaleX
return float

scaleY public_oe property

public float scaleY
return float

shaderName public_oe property

public string shaderName
return string

shape public_oe property

public ShapeVO,Nez.Overlap2D.Runtime shape
return ShapeVO

tags public_oe property

public string[] tags
return string[]

tint public_oe property

public float[] tint
return float[]

uniqueId public_oe property

public int uniqueId
return int

x public_oe property

public float x
return float

y public_oe property

public float y
return float

zIndex public_oe property

public int zIndex
return int