C# Класс EditorObjects.Gui.TextureCoordinatesSelectionWindow

Наследование: FlatRedBall.Gui.Window
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
TextureCoordinateChange GuiMessage

Private Properties

Свойство Тип Описание
AdjustToVerticalScrollBar void
FixVisibleBounds void
MouseWheelZoom void
OnRollOver void
OnWindowClick void
OnWindowDoubleClick void
OnWindowDrag void
OnWindowPush void
OnWindowResize void
PixelPerfectClick void
RightClickMenu void
SelectItemInRightClickMenu void
UToX float
UpdateScrollBarView void
UpdateSelectionPositionAndScale void
UpdateSideOver void
UpdateToVisibleBounds void
UpdateUVsToSelectedArea void
UpdateVisibleBoundsToZoom void
VToY float
XToU float
YToV float

Открытые методы

Метод Описание
AddTextureDragEvent ( GuiMessage message ) : void
AddToListClickEventAdd ( GuiMessage AddToListClick ) : void
ReplaceTexture ( Microsoft.Xna.Framework.Graphics.Texture2D oldTexture, Microsoft.Xna.Framework.Graphics.Texture2D newTexture ) : void
SetTextureCoordinates ( float top, float bottom, float left, float right ) : void

Sets the texture coordinates of the displayed texture.

The base method sets the texture coordinates of the actual window while this override sets the texture coordinates of the texture that is being displayed. The assumption is that the user is not going to ever want to change the way that this window is drawn but rather the coordinates of the texture that is being displayed.

TextureCoordinatesSelectionWindow ( ) : System
ToString ( ) : string

Приватные методы

Метод Описание
AdjustToVerticalScrollBar ( Window callingWindow ) : void
FixVisibleBounds ( ) : void
MouseWheelZoom ( Window callingWindow ) : void
OnRollOver ( Window callingWindow ) : void
OnWindowClick ( Window callingWindow ) : void
OnWindowDoubleClick ( Window callingWindow ) : void
OnWindowDrag ( Window callingWindow ) : void
OnWindowPush ( Window callingWindow ) : void
OnWindowResize ( Window callingWindow ) : void
PixelPerfectClick ( Window callingWindow ) : void
RightClickMenu ( Window callingWindow ) : void
SelectItemInRightClickMenu ( Window callingWindow ) : void
UToX ( float tu ) : float
UpdateScrollBarView ( ) : void
UpdateSelectionPositionAndScale ( ) : void
UpdateSideOver ( ) : void
UpdateToVisibleBounds ( ) : void
UpdateUVsToSelectedArea ( ) : void
UpdateVisibleBoundsToZoom ( float centerX, float centerY ) : void
VToY ( float tv ) : float
XToU ( float x ) : float
YToV ( float y ) : float

Описание методов

AddTextureDragEvent() публичный Метод

public AddTextureDragEvent ( GuiMessage message ) : void
message GuiMessage
Результат void

AddToListClickEventAdd() публичный Метод

public AddToListClickEventAdd ( GuiMessage AddToListClick ) : void
AddToListClick GuiMessage
Результат void

ReplaceTexture() публичный Метод

public ReplaceTexture ( Microsoft.Xna.Framework.Graphics.Texture2D oldTexture, Microsoft.Xna.Framework.Graphics.Texture2D newTexture ) : void
oldTexture Microsoft.Xna.Framework.Graphics.Texture2D
newTexture Microsoft.Xna.Framework.Graphics.Texture2D
Результат void

SetTextureCoordinates() публичный Метод

Sets the texture coordinates of the displayed texture.
The base method sets the texture coordinates of the actual window while this override sets the texture coordinates of the texture that is being displayed. The assumption is that the user is not going to ever want to change the way that this window is drawn but rather the coordinates of the texture that is being displayed.
public SetTextureCoordinates ( float top, float bottom, float left, float right ) : void
top float The top texture coordinate ( V ).
bottom float The bottom texture coordinate ( V ).
left float The left texture coordinate ( U ).
right float The right texture coordinate ( U ).
Результат void

TextureCoordinatesSelectionWindow() публичный Метод

public TextureCoordinatesSelectionWindow ( ) : System
Результат System

ToString() публичный Метод

public ToString ( ) : string
Результат string

Описание свойств

TextureCoordinateChange публичное свойство

public GuiMessage TextureCoordinateChange
Результат GuiMessage