C# Class SpriteMesh, urban-survivors

Inheritance: MonoBehaviour
Datei anzeigen Open project: exdev/urban-survivors Class Usage Examples

Protected Properties

Property Type Description
m_colors Color[]
m_faces int[]
m_mesh Mesh
m_sprite SpriteRoot,
m_texture Texture
m_uvs Vector2[]
m_vertices Vector3[]
meshFilter UnityEngine.MeshFilter
meshRenderer UnityEngine.MeshRenderer

Public Methods

Method Description
Hide ( bool tf ) : void
Init ( ) : void
IsHidden ( ) : bool
SetPersistent ( ) : void
SetWindingOrder ( SpriteRoot, winding ) : void
UpdateColors ( Color color ) : void
UpdateUVs ( ) : void
UpdateVerts ( ) : void

Method Details

Hide() public method

public Hide ( bool tf ) : void
tf bool
return void

Init() public method

public Init ( ) : void
return void

IsHidden() public method

public IsHidden ( ) : bool
return bool

SetPersistent() public method

public SetPersistent ( ) : void
return void

SetWindingOrder() public method

public SetWindingOrder ( SpriteRoot, winding ) : void
winding SpriteRoot,
return void

UpdateColors() public method

public UpdateColors ( Color color ) : void
color Color
return void

UpdateUVs() public method

public UpdateUVs ( ) : void
return void

UpdateVerts() public method

public UpdateVerts ( ) : void
return void

Property Details

m_colors protected_oe property

protected Color[] m_colors
return Color[]

m_faces protected_oe property

protected int[] m_faces
return int[]

m_mesh protected_oe property

protected Mesh m_mesh
return Mesh

m_sprite protected_oe property

protected SpriteRoot, m_sprite
return SpriteRoot,

m_texture protected_oe property

protected Texture m_texture
return Texture

m_uvs protected_oe property

protected Vector2[] m_uvs
return Vector2[]

m_vertices protected_oe property

protected Vector3[] m_vertices
return Vector3[]

meshFilter protected_oe property

protected MeshFilter,UnityEngine meshFilter
return UnityEngine.MeshFilter

meshRenderer protected_oe property

protected MeshRenderer,UnityEngine meshRenderer
return UnityEngine.MeshRenderer