Свойство | Тип | Описание | |
---|---|---|---|
DirectX | bool | ||
ScrollBounds | int | ||
State | WorldState |
Свойство | Тип | Описание | |
---|---|---|---|
HasInit | bool | ||
HasInitBlueprint | bool | ||
HasInitGPU | bool |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
InternalDraw ( GraphicsDevice device ) : void |
public Draw ( GraphicsDevice device ) : void | ||
device | GraphicsDevice | |
Результат | 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. |
Результат | short |
public GetObjectThumb ( ObjectComponent objects, Vector3 positions, GraphicsDevice gd ) : Texture2D | ||
objects | ObjectComponent | The object components to draw. |
positions | Vector3 | |
gd | GraphicsDevice | GraphicsDevice instance. |
Результат | Texture2D |
public InitBlueprint ( Blueprint blueprint ) : void | ||
blueprint | Blueprint | |
Результат | void |
public Initialize ( _3DLayer layer ) : void | ||
layer | _3DLayer | |
Результат | void |
public PreDraw ( GraphicsDevice device ) : void | ||
device | GraphicsDevice | |
Результат | void |
public TestScroll ( UpdateState state ) : bool | ||
state | UpdateState | |
Результат | bool |
public Update ( UpdateState state ) : void | ||
state | UpdateState | |
Результат | void |
public World ( GraphicsDevice Device ) : System | ||
Device | GraphicsDevice | A GraphicsDevice instance. |
Результат | System |