C# 클래스 Oglr.Plugins.Krypton.TexturedHullEditor

상속: Oglr.Core.ItemEditor
파일 보기 프로젝트 열기: SteveDunn/oglr 1 사용 예제들

Private Properties

프로퍼티 타입 설명
TexturedHullEditor System
computeFrameIndex void
getTextureOrigin Vector2
initialiseTexture void
intersectPixels bool
makeRelativePath string
reversedFrameIndex void
summonMainForm IMainForm

공개 메소드들

메소드 설명
CanRotate ( ) : bool
Clone ( ) : ItemEditor
ContainsPoint ( Vector2 point ) : bool
CreateInDesignMode ( LayerEditor parentLayer, IEntityCreationProperties creationProperties ) : void
DrawInEditor ( SpriteBatch spriteBatch ) : void
DrawSelectionFrame ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Color color ) : void
HandleKeyPressWhenFocused ( ) : void
OnMouseButtonDown ( Vector2 mouseWorldPos ) : void
OnMouseButtonUp ( Vector2 mouseWorldPos ) : void
OnMouseOver ( Vector2 mouseWorldPos ) : void
RecreateFromXml ( LayerEditor parentLayer, System.Xml.Linq.XElement xml ) : void
SetPosition ( Vector2 position ) : void
UserInteractionDuringCreation ( ) : void

보호된 메소드들

메소드 설명
WhenUpdatedByUi ( ) : void

비공개 메소드들

메소드 설명
TexturedHullEditor ( ) : System
computeFrameIndex ( ) : void
getTextureOrigin ( ) : Vector2
initialiseTexture ( string textureFilename ) : void
intersectPixels ( Vector2 worldpos ) : bool
makeRelativePath ( PathToFolder fromPath, string toPath ) : string

Creates a relative path from one file or folder to another.

reversedFrameIndex ( ) : void
summonMainForm ( ) : IMainForm

메소드 상세

CanRotate() 공개 메소드

public CanRotate ( ) : bool
리턴 bool

Clone() 공개 메소드

public Clone ( ) : ItemEditor
리턴 Oglr.Core.ItemEditor

ContainsPoint() 공개 메소드

public ContainsPoint ( Vector2 point ) : bool
point Vector2
리턴 bool

CreateInDesignMode() 공개 메소드

public CreateInDesignMode ( LayerEditor parentLayer, IEntityCreationProperties creationProperties ) : void
parentLayer LayerEditor
creationProperties IEntityCreationProperties
리턴 void

DrawInEditor() 공개 메소드

public DrawInEditor ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

DrawSelectionFrame() 공개 메소드

public DrawSelectionFrame ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Color color ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
color Microsoft.Xna.Framework.Color
리턴 void

HandleKeyPressWhenFocused() 공개 메소드

public HandleKeyPressWhenFocused ( ) : void
리턴 void

OnMouseButtonDown() 공개 메소드

public OnMouseButtonDown ( Vector2 mouseWorldPos ) : void
mouseWorldPos Vector2
리턴 void

OnMouseButtonUp() 공개 메소드

public OnMouseButtonUp ( Vector2 mouseWorldPos ) : void
mouseWorldPos Vector2
리턴 void

OnMouseOver() 공개 메소드

public OnMouseOver ( Vector2 mouseWorldPos ) : void
mouseWorldPos Vector2
리턴 void

RecreateFromXml() 공개 메소드

public RecreateFromXml ( LayerEditor parentLayer, System.Xml.Linq.XElement xml ) : void
parentLayer LayerEditor
xml System.Xml.Linq.XElement
리턴 void

SetPosition() 공개 메소드

public SetPosition ( Vector2 position ) : void
position Vector2
리턴 void

UserInteractionDuringCreation() 공개 메소드

public UserInteractionDuringCreation ( ) : void
리턴 void

WhenUpdatedByUi() 보호된 메소드

protected WhenUpdatedByUi ( ) : void
리턴 void