Свойство | Type | Description | |
---|---|---|---|
DirectX | bool | ||
ScrollBounds | int | ||
State | WorldState |
Свойство | Type | Description | |
---|---|---|---|
HasInit | bool | ||
HasInitBlueprint | bool | ||
HasInitGPU | bool |
Méthode | Description | |
---|---|---|
Draw ( GraphicsDevice device ) : void |
We will just take over the whole rendering of this scene :)
|
|
GetObjectIDAtScreenPos ( int x, int y, GraphicsDevice gd ) : short |
Gets the ID of the object at a given position.
|
|
GetObjectThumb ( ObjectComponent objects, Vector3 positions, GraphicsDevice gd ) : Texture2D |
Gets an object group's thumbnail provided an array of objects.
|
|
GetScrollBasis ( ) : Vector2[] | ||
InitBlueprint ( Blueprint blueprint ) : void | ||
Initialize ( _3DLayer layer ) : void |
Setup anything that needs a GraphicsDevice
|
|
InvalidateFloor ( ) : void | ||
InvalidateRotation ( ) : void | ||
InvalidateScroll ( ) : void | ||
InvalidateZoom ( ) : void | ||
PreDraw ( GraphicsDevice device ) : void |
Pre-Draw
|
|
Scroll ( Vector2 dir ) : void | ||
TestScroll ( UpdateState state ) : bool | ||
Update ( UpdateState state ) : void | ||
World ( GraphicsDevice Device ) : System |
Creates a new World instance.
|
Méthode | Description | |
---|---|---|
InternalDraw ( GraphicsDevice device ) : void |
public Draw ( GraphicsDevice device ) : void | ||
device | GraphicsDevice | |
Résultat | void |
public GetObjectIDAtScreenPos ( int x, int y, GraphicsDevice gd ) : short | ||
x | int | X position of object. |
y | int | Y position of object. |
gd | GraphicsDevice | GraphicsDevice instance. |
Résultat | short |
public GetObjectThumb ( ObjectComponent objects, Vector3 positions, GraphicsDevice gd ) : Texture2D | ||
objects | ObjectComponent | The object components to draw. |
positions | Vector3 | |
gd | GraphicsDevice | GraphicsDevice instance. |
Résultat | Texture2D |
public InitBlueprint ( Blueprint blueprint ) : void | ||
blueprint | Blueprint | |
Résultat | void |
public Initialize ( _3DLayer layer ) : void | ||
layer | _3DLayer | |
Résultat | void |
public PreDraw ( GraphicsDevice device ) : void | ||
device | GraphicsDevice | |
Résultat | void |
public TestScroll ( UpdateState state ) : bool | ||
state | UpdateState | |
Résultat | bool |
public World ( GraphicsDevice Device ) : System | ||
Device | GraphicsDevice | A GraphicsDevice instance. |
Résultat | System |