C# Class Hiale.GTA2NET.Core.Frame

Responsible for the transfer the information to draw.
ファイルを表示 Open project: jpires/gta2net Class Usage Examples

Public Methods

Method Description
Frame ( List lineDebug, List triangleDebug ) : System.Collections.Generic

Creates an instance of Frame

Frame ( List mapVertexList, List mapIndexList, List objectVertexList, List objectIndexList, List lineDebug, List triangleDebug, Vector2 position ) : System.Collections.Generic

Creates an instance of Frame

Frame ( List mapVertexList, List mapIndexList, List objectVertexList, List objectIndexList, Vector2 position ) : System.Collections.Generic

Creates an instance of Frame

Method Details

Frame() public method

Creates an instance of Frame
public Frame ( List lineDebug, List triangleDebug ) : System.Collections.Generic
lineDebug List A list of vertices used to draw the debug lines.
triangleDebug List A list of vertices used to draw the debug triangles.
return System.Collections.Generic

Frame() public method

Creates an instance of Frame
public Frame ( List mapVertexList, List mapIndexList, List objectVertexList, List objectIndexList, List lineDebug, List triangleDebug, Vector2 position ) : System.Collections.Generic
mapVertexList List A list with the map vertices.
mapIndexList List A list with the order that the map vertices should be grouped.
objectVertexList List A list with the objects vertices.
objectIndexList List A list with the order that the object vertices should be grouped.
lineDebug List A list of vertices used to draw the debug lines.
triangleDebug List A list of vertices used to draw the debug triangles.
position Vector2 The center position of this frame.
return System.Collections.Generic

Frame() public method

Creates an instance of Frame
public Frame ( List mapVertexList, List mapIndexList, List objectVertexList, List objectIndexList, Vector2 position ) : System.Collections.Generic
mapVertexList List A list with the map vertices.
mapIndexList List A list with the order that the map vertices should be grouped.
objectVertexList List A list with the objects vertices.
objectIndexList List A list with the order that the object vertices should be grouped.
position Vector2 The center position of this frame.
return System.Collections.Generic