Logo
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Properties | List of all members
Yukar.Engine.AbstractRenderObject Class Referenceabstract

Base class for drawing objects for layout More...

Inheritance diagram for Yukar.Engine.AbstractRenderObject:
Yukar.Engine.SliderPanel Yukar.Engine.SliderRenderer Yukar.Engine.SpecialTextRenderer Yukar.Engine.SpinPanel Yukar.Engine.SpinRenderer Yukar.Engine.SpriteRenderObject Yukar.Engine.TextPanel Yukar.Engine.MenuContainer Yukar.Engine.MenuSubContainer Yukar.Engine.RenderContainer

Classes

class  GameContent
 A structure that stores in-game information used for drawing More...
 
class  MaskSettings
 
class  RenderProperty
 A structure that stores information such as coordinates used for drawing More...
 
class  RenderStatus
 

Public Types

enum  LayoutObjectType {
  None = -1 , MenuContainer , MenuSubContainer , RenderContainer ,
  SliderPanel , SpinPanel , TextPanel , ImagePanel ,
  Amount
}
 Layout part type More...
 
enum  NextInputTypes {
  NONE = -1 , UP , DOWN , RIGHT ,
  LEFT , AMOUNT
}
 The following input types More...
 
enum  PositionAnchorTags {
  TopLeft , Top , TopRight , Left ,
  Center , Right , BottomLeft , Bottom ,
  BottomRight , Balloon , FixedBalloon , MessageSprite ,
  ArrowSprite , TelopBackgroung , TelopBackgroungImage , TelopText ,
  TelopScrollText , Player , Enemy , DamagePosition
}
 special coordinate tag name More...
 
enum  TagPositions {
  None = -2 , ALL = -1 , TopLeft , Top ,
  TopRight , Left , Center , Right ,
  BottomLeft , Bottom , BottomRight , Balloon ,
  FixedBalloon
}
 Tag position More...
 
enum  TagTelop {
  None = -1 , TelopBackgroung , TelopBackgroungImage , TelopText ,
  TelopScrollText
}
 tag for telop More...
 
enum  Events {
  None = -1 , Message , Dialogue , DialogueImage ,
  TelopText , TelopImage , Inn , Selection ,
  InputStrings
}
 Event type More...
 
enum  TextContets { NONE = -1 , EMPTY_TEXT , TEXT_OR_SPECIAL_TEXT }
 type of text content More...
 

Public Member Functions

 AbstractRenderObject ()
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, bool isThumbnail)
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, bool isThumbnail)
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, bool isThumbnail)
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, bool drawable, bool isThumbnail)
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, bool drawable, Vector2 position, bool isThumbnail)
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, bool drawable, Vector2 position, Vector2 size, bool isThumbnail)
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, bool drawable, Vector2 position, Vector2 size, Vector2 scale, bool isThumbnail)
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, bool drawable, Vector2 position, Vector2 size, Vector2 scale, float alpha, bool isThumbnail)
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, bool drawable, Vector2 position, Vector2 size, Vector2 scale, float alpha, bool isPreview, bool isThumbnail)
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, RenderProperty renderProperty, bool isThumbnail)
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, RenderProperty renderProperty, bool isPreview, bool isThumbnail)
 
virtual Vector2 GetScaledSize ()
 Get size with scaling (also consider parent's scaling) More...
 
virtual Vector2 GetRenderPosition ()
 Get drawing position (considering parent's position as well) More...
 
virtual Vector2 GetRenderPositionWithoutParent ()
 Get own drawing position More...
 
virtual Vector2 GetRenderScale ()
 Get scaling (also consider parent's scaling) More...
 
virtual Vector2 GetRenderScaleWithoutParent ()
 Get own scaling More...
 
bool IsTouching (Vector2 position)
 whether you are touching More...
 
bool IsTouching (SharpKmyMath.Vector2 position)
 whether you are touching More...
 
bool IsTouchingCenter (Vector2 position, float centerLength)
 Whether you are touching the center or not More...
 
bool IsTouchingCenter (SharpKmyMath.Vector2 position, float centerLength)
 Whether you are touching the center or not More...
 
Tuple< bool, TouchCollider.EdgePositionIsTouchingEdge (Vector2 position, float edgeLength)
 Are you touching the edge? More...
 
Tuple< bool, TouchCollider.EdgePositionIsTouchingEdge (SharpKmyMath.Vector2 position, float edgeLength)
 Are you touching the edge? More...
 
bool IsTouchingAnything (Vector2 position)
 Whether the child is also touched More...
 
bool IsTouchingAnything (SharpKmyMath.Vector2 position)
 Whether the child is also touched More...
 
List< AbstractRenderObjectGetTouchingObjects (Vector2 position)
 Get touched drawing object including children More...
 
List< AbstractRenderObjectGetTouchingObjects (SharpKmyMath.Vector2 position)
 Get touched drawing object including children More...
 
bool CollideRectangle (Rectangle rectangle)
 whether it hits the rectangle More...
 
bool CollideRectangle (SharpKmyMath.Rectangle rectangle)
 whether it hits the rectangle More...
 
bool CoverRectangle (Rectangle rectangle)
 
bool CoverRectangle (SharpKmyMath.Rectangle rectangle)
 
virtual void SetPositionForPreview (Vector2 position)
 Position change function in preview More...
 
virtual Vector2 GetPositionForPreview ()
 Get position in preview More...
 
virtual Vector2 SetRenderPosition (Vector2 globalPosition)
 Set position in world coordinates More...
 
void SetOffsetMyPosition (Vector2 position)
 Set the position considering the initial position More...
 
virtual Vector2 GetOriginPosition ()
 Get origin position More...
 
virtual void ReCalculatePostion ()
 recalculate position More...
 
virtual void SetSize (Vector2 size)
 set position More...
 
virtual void SetAngle (float angle)
 set the angle More...
 
virtual void SetFlip (int flip)
 set inversion More...
 
bool IsDescendants (AbstractRenderObject obj)
 determine if descendant More...
 
bool IsAncestor (AbstractRenderObject obj)
 determine if ancestor More...
 
virtual LayoutObjectType GetRenderObjectType ()
 Get layout part type More...
 
bool IsContainer ()
 container or not More...
 
virtual bool ContainsRenderContent ()
 whether it contains something to draw More...
 
virtual void CreateBattleContent ()
 Generate elements for battle More...
 
virtual bool NeedDrawingOrigin ()
 Need to draw the origin? More...
 
virtual void ChangeAnimationState (SpriteRenderObject.AnimationState animationState)
 Force an animation state change More...
 
virtual void SetParent (AbstractRenderObject parent)
 set parent More...
 
bool AddChild (AbstractRenderObject child)
 add child More...
 
bool InsertChild (AbstractRenderObject child, int insertIndex)
 add child More...
 
virtual AbstractRenderObject Remove (MenuSettings.MenuItem menuItem)
 remove child

Parameters
menuItemSetting the layout to be deleted
Returns
true if it was possible to delete false if it did not exist in the child and could not be deleted
More...
 
bool RemoveChild (AbstractRenderObject child)
 remove child More...
 
void ClearChildren ()
 clear the child More...
 
AbstractRenderObject RemoveFromParent ()
 detach from parent More...
 
virtual RenderProperty CreateRenderProperty ()
 Create drawing information More...
 
void Update ()
 Update More...
 
virtual void UpdateTouchCollider (Vector2 addtionalContainerSize)
 Update hitbox More...
 
void Draw ()
 draw More...
 
virtual void DrawLineRect (Color color)
 draw a rectangle More...
 
void DrawTouchCollider ()
 Draw touch hit detection More...
 
virtual void Release ()
 Open More...
 
virtual void Show ()
 indicate More...
 
virtual void ShowWithNotAnimation ()
 display without animation More...
 
virtual void ShowContainer ()
 Show only containers More...
 
virtual void Hide ()
 You want to hide More...
 
virtual void HideWithNotAnimation ()
 Hide without animation More...
 
void HideNotUsingAnimation ()
 Alias for Old Name / HideWithNotAnimation More...
 
virtual void HideContainer ()
 Hide container only More...
 
virtual void Lock ()
 lock More...
 
virtual void Lock (AbstractRenderObject menuContiner)
 lock the specified menu container More...
 
bool IsLockedWithChildern ()
 whether it is locked More...
 
virtual void UnLock ()
 to unlock More...
 
void EnableDrawable (bool enable)
 Change drawable state More...
 
virtual void EnableCanUse (bool enable)
 Change Enabled State More...
 
void AddDrawableInBattle (bool enable)
 Add control over drawing during battle More...
 
virtual Rectangle GetClipRectangle (Rectangle? currentClipRectangle)
 Get the rectangle to use for clipping More...
 
virtual bool GetClipRectangleSolo (out Rectangle val)
 
virtual bool IsClipRecursive ()
 
virtual Vector2 GetWindowPadding ()
 get window margins More...
 
virtual Vector2 GetWindowRenderSize (Vector2 size)
 Calculate drawing size within window frame More...
 
virtual float GetRenderAlpha ()
 get transparency More...
 
virtual void SetRenderAlpha (float alpha)
 set transparency More...
 
virtual Vector2 GetAutoSizeMargin ()
 Get Auto Adjust Margins More...
 
AbstractRenderObject GetSameMenuItemObjectWithChildern (MenuSettings.MenuItem menuItem)
 Get objects of the same menu item More...
 
AbstractRenderObject GetNextRenderObject (NextInputTypes nextInputTypes)
 get an object that matches the input More...
 
virtual MenuSettings.MenuItem GetMenuItem ()
 get menu item More...
 
virtual MenuSettings.MenuItem GetMenuItemWithChildren ()
 get menu item More...
 
virtual MenuSettings.MenuItem.ActionType GetActionWithChildren (AbstractRenderObject menuContiner)
 Get the selected action of the specified menu container More...
 
virtual MenuSettings.MenuItem.ActionType GetActionWithChildern (int index)
 Get the child action of the menu container with the specified index More...
 
virtual Tuple< MenuSettings.MenuItem.ActionType, AbstractRenderObjectGetInputtingActionAndObjectWithChildern ()
 Get action with input More...
 
bool IsVisibleWithChildern ()
 whether it is showing More...
 
bool IsInOutAnimatingWithChildern ()
 whether it is in animation More...
 
virtual bool HasHideContainerOption ()
 Whether the selected container has a setting to hide the container when determined More...
 
virtual bool HasEventObject (Events layoutEvent)
 Whether the event contains special formatting More...
 
virtual bool HasSpecialText (SpecialTextRenderer.SpecialTexts specialText)
 Whether the specified content contains special formatting More...
 
virtual bool ContainLayoutType (MenuSettings.MenuItem.LayoutType layoutType)
 Does it contain the specified layout type? More...
 
virtual void ConfigureContentProperty (int maximumContent)
 Set maximum number of elements in menu container More...
 
virtual void ConfigureContentProperty (int maximumContent, AbstractRenderObject menuContiner)
 Set maximum number of elements in menu container More...
 
virtual void ConfigureContentProperty (int maximumContent, bool updateRenderPanelIndex)
 Set maximum number of elements in menu container More...
 
virtual void UpdateGameContent (GameContent gameContent, bool skipBattleReplace=false)
 Update game content More...
 
virtual void ResetSubMenuContainerRenderStatus ()
 Reset the drawing state of the subcontainer More...
 
virtual void ChangeSubMenuContainerRenderStatus (RenderStatus renderStatus, bool overrride)
 Change the drawing state of a subcontainer More...
 
virtual void ChangeBattleResultVisible (GameContent gameContent)
 Switch between displaying and hiding battle results More...
 
virtual AbstractRenderObject Copy (AbstractRenderObject parent)
 copy itself More...
 
virtual bool HaveDecidedByTouch ()
 Whether you pressed decision by touch More...
 
virtual Tuple< bool, int > ForceUpdateSubContainerTouch ()
 Force touch detection More...
 
virtual void SkipContentRendering (bool skip)
 Prevent container drawing (container children are still drawn) More...
 
virtual Tuple< int, bool > GetSelectIndexWithChildern ()
 Get the index number of the selected menu container More...
 
virtual Tuple< int, bool > GetSelectIndexWithChildern (AbstractRenderObject menuContiner)
 Get the index number of the selected menu container More...
 
virtual void SetSelectIndexWithChildern (int index)
 Change the selected position of the menu container More...
 
virtual Tuple< int, bool > GetMenuPageWithChildern ()
 Get page of menu container More...
 
virtual bool IsSelectedFirstPage ()
 Are you selecting the first page? More...
 
virtual bool IsSelectedLastPage ()
 Are you selecting the last page? More...
 
virtual bool PressNextPage ()
 Did you enter a move to the next page? More...
 
virtual bool PressPreviousPage ()
 Did you enter a move to the previous page? More...
 
virtual bool MovedPage ()
 Did you move the page (need to call update first) More...
 
virtual int GetMaximumSelectIndexWithChildern (AbstractRenderObject menuContiner)
 Get the maximum value of the selection index of the menu container More...
 
virtual void EnableSubContainerWithChildern (bool enable, int subContainerIndex)
 Change whether the subcontainer with the specified index number can be selected More...
 
virtual void EnableSubContainerPageIndexWithChildern (bool enable, int subContainerPageIndex)
 Change whether the subcontainer of the specified page number can be selected More...
 
virtual void EnableLoopPage (bool enable)
 Whether to loop keystroke paging More...
 
void EnableDrawSizeRect (bool drawable, bool drawSubContainer=false)
 Display ON/OFF of size rectangle More...
 
void SetSelectingRenderObject (Guid guid)
 Make the object with the specified guid selected More...
 
virtual void EnableSelectAll (bool enableSelectAll)
 select all More...
 
virtual void EnableSelectMulti (bool enableSelectMulti, int selectedCount)
 Select multiple items from the beginning More...
 
virtual void ForceBlinkSubContainer (bool forceUseBlinker, int subContainerIndex)
 Force the subcontainer with the specified index number to shine More...
 
virtual Guid GetSelectOpenLayoutGuid ()
 Get the guid of the selected open layout More...
 
virtual Guid GetLayoutStateGuid ()
 Get the guid of the selected open layout state More...
 
virtual void SetLayoutStateGuid (Guid guid)
 Sets the guid of the selected open layout state More...
 
virtual Tuple< bool, Vector2 > GetTextScaledSize ()
 get text size More...
 
virtual Tuple< bool, float > GetTextScale ()
 get text scale More...
 
virtual TextDrawer GetTextDrawer ()
 get text drawing object More...
 
List< TextContetsGetChildrenTextContet ()
 get text content More...
 
virtual void GetTextContet (List< TextContets > result)
 get text content More...
 
virtual void EnableScrollText (bool enable)
 enable scrolling More...
 
virtual bool IsTextOutOfScreen ()
 whether the text is off screen More...
 
virtual void UpdateSpecialRenderObject ()
 Update specially formatted text More...
 
virtual void ShowNamePlate (int containerIndex)
 Show nameplate More...
 
virtual void HideNamePlate (int containerIndex)
 Hide nameplate More...
 
virtual void ForceHideNamePlate ()
 Force hide all nameplates More...
 
virtual float GetSelectSliderValueWithChildern ()
 Get the value of the selected slider More...
 
virtual float GetSliderValueWithChildern (int index)
 Get the value of the slider in the subcontainer with the specified index number More...
 
virtual float GetSliderMaximumValueWithChildern (int index)
 Gets the maximum value of the slider in the subcontainer with the specified index number More...
 
virtual void SetSliderValueWithChildern (float value, int index)
 Change the value of the slider in the subcontainer with the specified index number More...
 
virtual int GetSpinValueWithChildern (int index)
 Get the value of the spin in the subcontainer with the specified index number More...
 
virtual void SetSpinValueWithChildern (int value, int index)
 Change the value of the spin in the subcontainer with the specified index number More...
 
virtual void ChangeMenuSubContainerAmount (int amount, Vector2 menuSubContainerSize)
 Change the number of submenu containers More...
 
virtual TagPositions GetTagPosition ()
 Get tag position settings More...
 
virtual TagTelop GetTagTelop ()
 Get telop tag settings More...
 
virtual void EnableMessageSprite (bool enable)
 Enable sprites when waiting for messages More...
 
AbstractRenderObject GetRenderObjectWithPositionAnchorTag (string positionAnchorTag)
 Get an object with a special coordinate tag (return the first one found) More...
 
AbstractRenderObject GetRenderObjectWithPositionAnchorTag (PositionAnchorTags positionAnchorTag)
 Get an object with a special coordinate tag (return the first one found) More...
 
virtual AbstractRenderObject GetRenderObjectWithPositionAnchorTag (string positionAnchorTag, int menuIndex)
 Get an object with a special coordinate tag with the same container management number (return the first found object) More...
 
AbstractRenderObject GetRenderObjectWithPositionAnchorTag (PositionAnchorTags positionAnchorTag, int menuIndex)
 Get an object with a special coordinate tag with the same container management number (return the first found object) More...
 
List< AbstractRenderObjectGetRenderObjectsWithPositionAnchorTag (string positionAnchorTag)
 Get all objects with a special coordinate tag More...
 
List< AbstractRenderObjectGetRenderObjectsWithPositionAnchorTag (PositionAnchorTags positionAnchorTag)
 Get all objects with a special coordinate tag More...
 
List< AbstractRenderObjectParseNodes ()
 return all nodes More...
 

Static Public Member Functions

static void ApplyCurrentMask ()
 

Protected Member Functions

void PushMask (Rectangle clipRect, Guid mask)
 Apply UI mask More...
 
void PushMaskUseSprite (Action< Vector2 > applyMask)
 Putting elements on the stack to use sprite-based UI masks More...
 
void PopMask ()
 
virtual Rectangle CreateIntersectRectangle (Rectangle rectangleA, Rectangle rectangleB)
 
abstract void UpdateCallback ()
 Update process More...
 
abstract bool DrawCallback ()
 drawing process More...
 
virtual void AfterDrawCallback ()
 Post-drawing processing More...
 
virtual void DrawAll ()
 drawing process More...
 
virtual void ResetLayoutProperties ()
 Reset layout information More...
 
void ResetChildLayoutProperties ()
 Repopulate child layout information More...
 

Protected Attributes

Guid guid
 
bool canUse
 Whether to use (toggles between enabling and disabling only Drawble of MenuItem) More...
 
bool drawable
 Toggle whether to draw or not depending on the action More...
 
bool locked
 
Vector2 scale
 
float alpha
 
TouchRectCollider touchRectCollider
 
bool isPreview
 
bool isThumbnail
 
bool disable
 
Color? overrideRenderColor
 
bool useVariablePosition
 
Tuple< string, string > variableNames
 
bool usePlayerPosition
 

Properties

AbstractRenderObject Parent [get, set]
 
List< AbstractRenderObjectChildren [get, set]
 
Vector2 Position [get, set]
 
Vector2 DefaultPosition [get, protected set]
 
Vector2 Size [get, set]
 
int Depth [get, set]
 
bool DrawableSizeRect [get]
 
Color? SizeRectColor [get, set]
 
int Index [get]
 
int MenuIndex [get, set]
 
int Top [get]
 
int Bottom [get]
 
int Left [get]
 
int Right [get]
 
bool CanUse [get]
 
MenuSettings.MenuItem MenuItem [get, set]
 
bool SkipDrawMySelf [get, set]
 
bool IsVisible [get, set]
 
bool SkipUpdateVisibleFromParent [get, set]
 
bool IsInOutAnimating [get, set]
 
AbstractRenderObject Previous [get, set]
 
AbstractRenderObject Next [get, set]
 
AbstractRenderObject RightNext [get, set]
 
AbstractRenderObject LeftNext [get, set]
 
AbstractRenderObject UpNext [get, set]
 
AbstractRenderObject DownNext [get, set]
 
bool IsVisibleBySwitch [get]
 
virtual bool IsDrawable [get]
 

Detailed Description

Base class for drawing objects for layout

Member Enumeration Documentation

◆ Events

Event type

Enumerator
None 
Message 
Dialogue 
DialogueImage 
TelopText 
TelopImage 
Inn 
Selection 
InputStrings 

◆ LayoutObjectType

Layout part type

Enumerator
None 
MenuContainer 
MenuSubContainer 
RenderContainer 
SliderPanel 
SpinPanel 
TextPanel 
ImagePanel 
Amount 

◆ NextInputTypes

The following input types

Enumerator
NONE 
UP 
DOWN 
RIGHT 
LEFT 
AMOUNT 

◆ PositionAnchorTags

special coordinate tag name

Enumerator
TopLeft 
Top 
TopRight 
Left 
Center 
Right 
BottomLeft 
Bottom 
BottomRight 
Balloon 
FixedBalloon 
MessageSprite 
ArrowSprite 
TelopBackgroung 
TelopBackgroungImage 
TelopText 
TelopScrollText 
Player 
Enemy 
DamagePosition 

◆ TagPositions

Tag position

Enumerator
None 
ALL 
TopLeft 
Top 
TopRight 
Left 
Center 
Right 
BottomLeft 
Bottom 
BottomRight 
Balloon 
FixedBalloon 

◆ TagTelop

tag for telop

Enumerator
None 
TelopBackgroung 
TelopBackgroungImage 
TelopText 
TelopScrollText 

◆ TextContets

type of text content

Enumerator
NONE 
EMPTY_TEXT 
TEXT_OR_SPECIAL_TEXT 

Constructor & Destructor Documentation

◆ AbstractRenderObject() [1/12]

Yukar.Engine.AbstractRenderObject.AbstractRenderObject ( )

◆ AbstractRenderObject() [2/12]

Yukar.Engine.AbstractRenderObject.AbstractRenderObject ( MenuSettings.MenuItem  menuItem,
bool  isThumbnail 
)

◆ AbstractRenderObject() [3/12]

Yukar.Engine.AbstractRenderObject.AbstractRenderObject ( MenuSettings.MenuItem  menuItem,
Guid  guid,
bool  isThumbnail 
)

◆ AbstractRenderObject() [4/12]

Yukar.Engine.AbstractRenderObject.AbstractRenderObject ( MenuSettings.MenuItem  menuItem,
Guid  guid,
AbstractRenderObject  parent,
int  insertIndex,
bool  isThumbnail 
)

◆ AbstractRenderObject() [5/12]

Yukar.Engine.AbstractRenderObject.AbstractRenderObject ( MenuSettings.MenuItem  menuItem,
Guid  guid,
AbstractRenderObject  parent,
int  insertIndex,
bool  drawable,
bool  isThumbnail 
)

◆ AbstractRenderObject() [6/12]

Yukar.Engine.AbstractRenderObject.AbstractRenderObject ( MenuSettings.MenuItem  menuItem,
Guid  guid,
AbstractRenderObject  parent,
int  insertIndex,
bool  drawable,
Vector2  position,
bool  isThumbnail 
)

◆ AbstractRenderObject() [7/12]

Yukar.Engine.AbstractRenderObject.AbstractRenderObject ( MenuSettings.MenuItem  menuItem,
Guid  guid,
AbstractRenderObject  parent,
int  insertIndex,
bool  drawable,
Vector2  position,
Vector2  size,
bool  isThumbnail 
)

◆ AbstractRenderObject() [8/12]

Yukar.Engine.AbstractRenderObject.AbstractRenderObject ( MenuSettings.MenuItem  menuItem,
Guid  guid,
AbstractRenderObject  parent,
int  insertIndex,
bool  drawable,
Vector2  position,
Vector2  size,
Vector2  scale,
bool  isThumbnail 
)

◆ AbstractRenderObject() [9/12]

Yukar.Engine.AbstractRenderObject.AbstractRenderObject ( MenuSettings.MenuItem  menuItem,
Guid  guid,
AbstractRenderObject  parent,
int  insertIndex,
bool  drawable,
Vector2  position,
Vector2  size,
Vector2  scale,
float  alpha,
bool  isThumbnail 
)

◆ AbstractRenderObject() [10/12]

Yukar.Engine.AbstractRenderObject.AbstractRenderObject ( MenuSettings.MenuItem  menuItem,
Guid  guid,
AbstractRenderObject  parent,
int  insertIndex,
bool  drawable,
Vector2  position,
Vector2  size,
Vector2  scale,
float  alpha,
bool  isPreview,
bool  isThumbnail 
)

◆ AbstractRenderObject() [11/12]

Yukar.Engine.AbstractRenderObject.AbstractRenderObject ( MenuSettings.MenuItem  menuItem,
Guid  guid,
AbstractRenderObject  parent,
int  insertIndex,
RenderProperty  renderProperty,
bool  isThumbnail 
)

◆ AbstractRenderObject() [12/12]

Yukar.Engine.AbstractRenderObject.AbstractRenderObject ( MenuSettings.MenuItem  menuItem,
Guid  guid,
AbstractRenderObject  parent,
int  insertIndex,
RenderProperty  renderProperty,
bool  isPreview,
bool  isThumbnail 
)

Member Function Documentation

◆ AddChild()

bool Yukar.Engine.AbstractRenderObject.AddChild ( AbstractRenderObject  child)

add child

Parameters
childchildren to add
Returns
true if it could be added false if it could not be added due to duplication

◆ AddDrawableInBattle()

void Yukar.Engine.AbstractRenderObject.AddDrawableInBattle ( bool  enable)

Add control over drawing during battle

Parameters
enabletrue drawable false not drawable

◆ AfterDrawCallback()

virtual void Yukar.Engine.AbstractRenderObject.AfterDrawCallback ( )
protectedvirtual

Post-drawing processing

Returns

Reimplemented in Yukar.Engine.MenuContainer, and Yukar.Engine.RenderContainer.

◆ ApplyCurrentMask()

static void Yukar.Engine.AbstractRenderObject.ApplyCurrentMask ( )
static

◆ ChangeAnimationState()

virtual void Yukar.Engine.AbstractRenderObject.ChangeAnimationState ( SpriteRenderObject.AnimationState  animationState)
virtual

Force an animation state change

Parameters
animationStatethe state of the animation you want to change

Reimplemented in Yukar.Engine.MenuContainer, Yukar.Engine.MenuSubContainer, Yukar.Engine.RenderContainer, and Yukar.Engine.SpriteRenderObject.

◆ ChangeBattleResultVisible()

virtual void Yukar.Engine.AbstractRenderObject.ChangeBattleResultVisible ( GameContent  gameContent)
virtual

Switch between displaying and hiding battle results

Parameters
gameContentGame content

Reimplemented in Yukar.Engine.SpecialTextRenderer, and Yukar.Engine.TextPanel.

◆ ChangeMenuSubContainerAmount()

virtual void Yukar.Engine.AbstractRenderObject.ChangeMenuSubContainerAmount ( int  amount,
Vector2  menuSubContainerSize 
)
virtual

Change the number of submenu containers

Parameters
amountNumber of submenu containers
menuSubContainerSizeSubmenu container size

Reimplemented in Yukar.Engine.MenuContainer.

◆ ChangeSubMenuContainerRenderStatus()

virtual void Yukar.Engine.AbstractRenderObject.ChangeSubMenuContainerRenderStatus ( RenderStatus  renderStatus,
bool  overrride 
)
virtual

Change the drawing state of a subcontainer

Parameters
renderStatusChanges
overrrideoverwrite

Reimplemented in Yukar.Engine.MenuSubContainer, Yukar.Engine.SliderPanel, Yukar.Engine.SpinPanel, and Yukar.Engine.TextPanel.

◆ ClearChildren()

void Yukar.Engine.AbstractRenderObject.ClearChildren ( )

clear the child

◆ CollideRectangle() [1/2]

bool Yukar.Engine.AbstractRenderObject.CollideRectangle ( Rectangle  rectangle)

whether it hits the rectangle

Parameters
rectangleRectangle for collision detection
Returns
true hit false not hit

◆ CollideRectangle() [2/2]

bool Yukar.Engine.AbstractRenderObject.CollideRectangle ( SharpKmyMath.Rectangle  rectangle)

whether it hits the rectangle

Parameters
rectangleRectangle for collision detection
Returns
true hit false not hit

◆ ConfigureContentProperty() [1/3]

virtual void Yukar.Engine.AbstractRenderObject.ConfigureContentProperty ( int  maximumContent)
virtual

Set maximum number of elements in menu container

Parameters
maximumContentmaximum number of elements

Reimplemented in Yukar.Engine.MenuContainer, Yukar.Engine.MenuSubContainer, Yukar.Engine.RenderContainer, Yukar.Engine.SliderPanel, Yukar.Engine.SpecialTextRenderer, Yukar.Engine.SpinPanel, and Yukar.Engine.TextPanel.

◆ ConfigureContentProperty() [2/3]

virtual void Yukar.Engine.AbstractRenderObject.ConfigureContentProperty ( int  maximumContent,
AbstractRenderObject  menuContiner 
)
virtual

Set maximum number of elements in menu container

Parameters
maximumContentmaximum number of elements
menuContinerMenu container you want to set

Reimplemented in Yukar.Engine.MenuContainer.

◆ ConfigureContentProperty() [3/3]

virtual void Yukar.Engine.AbstractRenderObject.ConfigureContentProperty ( int  maximumContent,
bool  updateRenderPanelIndex 
)
virtual

Set maximum number of elements in menu container

Parameters
maximumContentmaximum number of elements
updateRenderPanelIndexwhether to update the drawing panel index number

Reimplemented in Yukar.Engine.MenuContainer, Yukar.Engine.MenuSubContainer, Yukar.Engine.RenderContainer, Yukar.Engine.SpecialTextRenderer, and Yukar.Engine.TextPanel.

◆ ContainLayoutType()

virtual bool Yukar.Engine.AbstractRenderObject.ContainLayoutType ( MenuSettings.MenuItem.LayoutType  layoutType)
virtual

Does it contain the specified layout type?

Parameters
layoutTypeThe type of layout you want to check for inclusion
Returns
true included false not included

Reimplemented in Yukar.Engine.MenuContainer, and Yukar.Engine.RenderContainer.

◆ ContainsRenderContent()

virtual bool Yukar.Engine.AbstractRenderObject.ContainsRenderContent ( )
virtual

whether it contains something to draw

Returns
true included false not included

Reimplemented in Yukar.Engine.MenuContainer, Yukar.Engine.RenderContainer, Yukar.Engine.SpriteRenderObject, and Yukar.Engine.TextPanel.

◆ Copy()

virtual AbstractRenderObject Yukar.Engine.AbstractRenderObject.Copy ( AbstractRenderObject  parent)
virtual

copy itself

Parameters
parentParent object to set
Returns
the copied object

Reimplemented in Yukar.Engine.MenuSubContainer, and Yukar.Engine.TextPanel.

◆ CoverRectangle() [1/2]

bool Yukar.Engine.AbstractRenderObject.CoverRectangle ( Rectangle  rectangle)

◆ CoverRectangle() [2/2]

bool Yukar.Engine.AbstractRenderObject.CoverRectangle ( SharpKmyMath.Rectangle  rectangle)

◆ CreateBattleContent()

virtual void Yukar.Engine.AbstractRenderObject.CreateBattleContent ( )
virtual

Generate elements for battle

Reimplemented in Yukar.Engine.SliderPanel, and Yukar.Engine.SliderRenderer.

◆ CreateIntersectRectangle()

virtual Rectangle Yukar.Engine.AbstractRenderObject.CreateIntersectRectangle ( Rectangle  rectangleA,
Rectangle  rectangleB 
)
protectedvirtual

◆ CreateRenderProperty()

virtual RenderProperty Yukar.Engine.AbstractRenderObject.CreateRenderProperty ( )
virtual

Create drawing information

Returns
drawing information

Reimplemented in Yukar.Engine.SpecialTextRenderer.

◆ Draw()

void Yukar.Engine.AbstractRenderObject.Draw ( )

draw

◆ DrawAll()

virtual void Yukar.Engine.AbstractRenderObject.DrawAll ( )
protectedvirtual

drawing process

Reimplemented in Yukar.Engine.SpriteRenderObject.

◆ DrawCallback()

abstract bool Yukar.Engine.AbstractRenderObject.DrawCallback ( )
protectedpure virtual

◆ DrawLineRect()

virtual void Yukar.Engine.AbstractRenderObject.DrawLineRect ( Color  color)
virtual

draw a rectangle

Parameters
colorcolor to display

Reimplemented in Yukar.Engine.TextPanel.

◆ DrawTouchCollider()

void Yukar.Engine.AbstractRenderObject.DrawTouchCollider ( )

Draw touch hit detection

◆ EnableCanUse()

virtual void Yukar.Engine.AbstractRenderObject.EnableCanUse ( bool  enable)
virtual

Change Enabled State

Parameters
enabletrue drawable false not drawable

Reimplemented in Yukar.Engine.MenuContainer, Yukar.Engine.RenderContainer, Yukar.Engine.SliderPanel, Yukar.Engine.SpecialTextRenderer, Yukar.Engine.SpinPanel, and Yukar.Engine.TextPanel.

◆ EnableDrawable()

void Yukar.Engine.AbstractRenderObject.EnableDrawable ( bool  enable)

Change drawable state

Parameters
enabletrue drawable false not drawable

◆ EnableDrawSizeRect()

void Yukar.Engine.AbstractRenderObject.EnableDrawSizeRect ( bool  drawable,
bool  drawSubContainer = false 
)

Display ON/OFF of size rectangle

Parameters
drawableDisplay ON/OFF

◆ EnableLoopPage()

virtual void Yukar.Engine.AbstractRenderObject.EnableLoopPage ( bool  enable)
virtual

Whether to loop keystroke paging

Parameters
enabletrue loop false no loop

Reimplemented in Yukar.Engine.MenuContainer.

◆ EnableMessageSprite()

virtual void Yukar.Engine.AbstractRenderObject.EnableMessageSprite ( bool  enable)
virtual

Enable sprites when waiting for messages

Parameters
enabletrue enabled false disabled

Reimplemented in Yukar.Engine.MenuContainer, and Yukar.Engine.RenderContainer.

◆ EnableScrollText()

virtual void Yukar.Engine.AbstractRenderObject.EnableScrollText ( bool  enable)
virtual

enable scrolling

Parameters
enabletrue start scrolling false stop scrolling

Reimplemented in Yukar.Engine.SpecialTextRenderer, and Yukar.Engine.TextPanel.

◆ EnableSelectAll()

virtual void Yukar.Engine.AbstractRenderObject.EnableSelectAll ( bool  enableSelectAll)
virtual

select all

Parameters
enableSelectAlltrue select all false normal selection

Reimplemented in Yukar.Engine.MenuContainer.

◆ EnableSelectMulti()

virtual void Yukar.Engine.AbstractRenderObject.EnableSelectMulti ( bool  enableSelectMulti,
int  selectedCount 
)
virtual

Select multiple items from the beginning

Parameters
enableSelectMultitrue Select multiple items false Normal selection
selectedCountnumber to select

Reimplemented in Yukar.Engine.MenuContainer.

◆ EnableSubContainerPageIndexWithChildern()

virtual void Yukar.Engine.AbstractRenderObject.EnableSubContainerPageIndexWithChildern ( bool  enable,
int  subContainerPageIndex 
)
virtual

Change whether the subcontainer of the specified page number can be selected

Parameters
enabletrue selectable false not selectable
subContainerPageIndexThe page number of the subcontainer you want to change

Reimplemented in Yukar.Engine.MenuContainer.

◆ EnableSubContainerWithChildern()

virtual void Yukar.Engine.AbstractRenderObject.EnableSubContainerWithChildern ( bool  enable,
int  subContainerIndex 
)
virtual

Change whether the subcontainer with the specified index number can be selected

Parameters
enabletrue selectable false not selectable
subContainerIndexThe number of the subcontainer you want to change

Reimplemented in Yukar.Engine.MenuSubContainer.

◆ ForceBlinkSubContainer()

virtual void Yukar.Engine.AbstractRenderObject.ForceBlinkSubContainer ( bool  forceUseBlinker,
int  subContainerIndex 
)
virtual

Force the subcontainer with the specified index number to shine

Parameters
forceUseBlinkertrue forcibly blink false forcibly unblink
subContainerIndexIndex number of container to force blink

Reimplemented in Yukar.Engine.MenuContainer.

◆ ForceHideNamePlate()

virtual void Yukar.Engine.AbstractRenderObject.ForceHideNamePlate ( )
virtual

Force hide all nameplates

Reimplemented in Yukar.Engine.TextPanel.

◆ ForceUpdateSubContainerTouch()

virtual Tuple< bool, int > Yukar.Engine.AbstractRenderObject.ForceUpdateSubContainerTouch ( )
virtual

Force touch detection

Returns
true touched false not touched index number of the subcontainer being touched

Reimplemented in Yukar.Engine.MenuContainer.

◆ GetActionWithChildern()

virtual MenuSettings.MenuItem.ActionType Yukar.Engine.AbstractRenderObject.GetActionWithChildern ( int  index)
virtual

Get the child action of the menu container with the specified index

Parameters
index
Returns
action

Reimplemented in Yukar.Engine.MenuContainer.

◆ GetActionWithChildren()

virtual MenuSettings.MenuItem.ActionType Yukar.Engine.AbstractRenderObject.GetActionWithChildren ( AbstractRenderObject  menuContiner)
virtual

Get the selected action of the specified menu container

Parameters
menuContinerthe menu container from which you want to get the action
Returns
action

Reimplemented in Yukar.Engine.MenuContainer.

◆ GetAutoSizeMargin()

virtual Vector2 Yukar.Engine.AbstractRenderObject.GetAutoSizeMargin ( )
virtual

Get Auto Adjust Margins

Returns
Auto Adjust Margin

Reimplemented in Yukar.Engine.SpecialTextRenderer, and Yukar.Engine.TextPanel.

◆ GetChildrenTextContet()

List< TextContets > Yukar.Engine.AbstractRenderObject.GetChildrenTextContet ( )

get text content

Returns
text content

◆ GetClipRectangle()

virtual Rectangle Yukar.Engine.AbstractRenderObject.GetClipRectangle ( Rectangle?  currentClipRectangle)
virtual

Get the rectangle to use for clipping

Returns
Rectangle used for clipping, mask texture

Reimplemented in Yukar.Engine.MenuContainer, Yukar.Engine.MenuSubContainer, and Yukar.Engine.RenderContainer.

◆ GetClipRectangleSolo()

virtual bool Yukar.Engine.AbstractRenderObject.GetClipRectangleSolo ( out Rectangle  val)
virtual

◆ GetInputtingActionAndObjectWithChildern()

virtual Tuple< MenuSettings.MenuItem.ActionType, AbstractRenderObject > Yukar.Engine.AbstractRenderObject.GetInputtingActionAndObjectWithChildern ( )
virtual

Get action with input

Returns
action

Reimplemented in Yukar.Engine.MenuSubContainer.

◆ GetLayoutStateGuid()

virtual Guid Yukar.Engine.AbstractRenderObject.GetLayoutStateGuid ( )
virtual

Get the guid of the selected open layout state

Returns
guid of layout state to open

Reimplemented in Yukar.Engine.MenuContainer.

◆ GetMaximumSelectIndexWithChildern()

virtual int Yukar.Engine.AbstractRenderObject.GetMaximumSelectIndexWithChildern ( AbstractRenderObject  menuContiner)
virtual

Get the maximum value of the selection index of the menu container

Parameters
menuContinerthe menu container to get
Returns
Maximum value of the selection index of the menu container

Reimplemented in Yukar.Engine.MenuContainer.

◆ GetMenuItem()

virtual MenuSettings.MenuItem Yukar.Engine.AbstractRenderObject.GetMenuItem ( )
virtual

get menu item

Returns
menu item

Reimplemented in Yukar.Engine.MenuContainer, and Yukar.Engine.MenuSubContainer.

◆ GetMenuItemWithChildren()

virtual MenuSettings.MenuItem Yukar.Engine.AbstractRenderObject.GetMenuItemWithChildren ( )
virtual

get menu item

Returns
menu item

Reimplemented in Yukar.Engine.MenuContainer.

◆ GetMenuPageWithChildern()

virtual Tuple< int, bool > Yukar.Engine.AbstractRenderObject.GetMenuPageWithChildern ( )
virtual

Get page of menu container

Returns
menu container page

Reimplemented in Yukar.Engine.MenuContainer.

◆ GetNextRenderObject()

AbstractRenderObject Yukar.Engine.AbstractRenderObject.GetNextRenderObject ( NextInputTypes  nextInputTypes)

get an object that matches the input

Parameters
nextInputTypesinput movement direction
Returns
an object adapted to the input

◆ GetOriginPosition()

virtual Vector2 Yukar.Engine.AbstractRenderObject.GetOriginPosition ( )
virtual

Get origin position

Returns
Origin position

Reimplemented in Yukar.Engine.MenuContainer, Yukar.Engine.RenderContainer, and Yukar.Engine.TextPanel.

◆ GetPositionForPreview()

virtual Vector2 Yukar.Engine.AbstractRenderObject.GetPositionForPreview ( )
virtual

Get position in preview

Returns

Reimplemented in Yukar.Engine.MenuSubContainer.

◆ GetRenderAlpha()

virtual float Yukar.Engine.AbstractRenderObject.GetRenderAlpha ( )
virtual

get transparency

Returns
Transparency

Reimplemented in Yukar.Engine.SliderPanel, Yukar.Engine.SpinPanel, and Yukar.Engine.TextPanel.

◆ GetRenderObjectsWithPositionAnchorTag() [1/2]

List< AbstractRenderObject > Yukar.Engine.AbstractRenderObject.GetRenderObjectsWithPositionAnchorTag ( PositionAnchorTags  positionAnchorTag)

Get all objects with a special coordinate tag

Parameters
positionAnchorTagSpecial coordinate tag to get
Returns
All objects with special coordinate tags

◆ GetRenderObjectsWithPositionAnchorTag() [2/2]

List< AbstractRenderObject > Yukar.Engine.AbstractRenderObject.GetRenderObjectsWithPositionAnchorTag ( string  positionAnchorTag)

Get all objects with a special coordinate tag

Parameters
positionAnchorTagSpecial coordinate tag to get
Returns
All objects with special coordinate tags

◆ GetRenderObjectType()

virtual LayoutObjectType Yukar.Engine.AbstractRenderObject.GetRenderObjectType ( )
virtual

◆ GetRenderObjectWithPositionAnchorTag() [1/4]

AbstractRenderObject Yukar.Engine.AbstractRenderObject.GetRenderObjectWithPositionAnchorTag ( PositionAnchorTags  positionAnchorTag)

Get an object with a special coordinate tag (return the first one found)

Parameters
positionAnchorTagSpecial coordinate tag to get
Returns
Objects with special coordinate tags

◆ GetRenderObjectWithPositionAnchorTag() [2/4]

AbstractRenderObject Yukar.Engine.AbstractRenderObject.GetRenderObjectWithPositionAnchorTag ( PositionAnchorTags  positionAnchorTag,
int  menuIndex 
)

Get an object with a special coordinate tag with the same container management number (return the first found object)

Parameters
positionAnchorTagSpecial coordinate tag to get
menuIndexContainer management number to acquire
Returns
Objects with special coordinate tags

◆ GetRenderObjectWithPositionAnchorTag() [3/4]

AbstractRenderObject Yukar.Engine.AbstractRenderObject.GetRenderObjectWithPositionAnchorTag ( string  positionAnchorTag)

Get an object with a special coordinate tag (return the first one found)

Parameters
positionAnchorTagSpecial coordinate tag to get
Returns
Objects with special coordinate tags

◆ GetRenderObjectWithPositionAnchorTag() [4/4]

virtual AbstractRenderObject Yukar.Engine.AbstractRenderObject.GetRenderObjectWithPositionAnchorTag ( string  positionAnchorTag,
int  menuIndex 
)
virtual

Get an object with a special coordinate tag with the same container management number (return the first found object)

Parameters
positionAnchorTagSpecial coordinate tag to get
menuIndexContainer management number to acquire
Returns
Objects with special coordinate tags

◆ GetRenderPosition()

virtual Vector2 Yukar.Engine.AbstractRenderObject.GetRenderPosition ( )
virtual

Get drawing position (considering parent's position as well)

Returns
drawing position

Reimplemented in Yukar.Engine.MenuSubContainer, Yukar.Engine.SliderPanel, Yukar.Engine.SliderRenderer, Yukar.Engine.SpinPanel, Yukar.Engine.SpinRenderer, Yukar.Engine.SpriteRenderObject, and Yukar.Engine.TextPanel.

◆ GetRenderPositionWithoutParent()

virtual Vector2 Yukar.Engine.AbstractRenderObject.GetRenderPositionWithoutParent ( )
virtual

Get own drawing position

Returns
drawing position

◆ GetRenderScale()

virtual Vector2 Yukar.Engine.AbstractRenderObject.GetRenderScale ( )
virtual

Get scaling (also consider parent's scaling)

Returns
scaling

Reimplemented in Yukar.Engine.SliderPanel, Yukar.Engine.SpinPanel, and Yukar.Engine.TextPanel.

◆ GetRenderScaleWithoutParent()

virtual Vector2 Yukar.Engine.AbstractRenderObject.GetRenderScaleWithoutParent ( )
virtual

Get own scaling

Returns
scaling

◆ GetSameMenuItemObjectWithChildern()

AbstractRenderObject Yukar.Engine.AbstractRenderObject.GetSameMenuItemObjectWithChildern ( MenuSettings.MenuItem  menuItem)

Get objects of the same menu item

Parameters
menuItemmenu item to get
Returns
objects of the same menu item

◆ GetScaledSize()

virtual Vector2 Yukar.Engine.AbstractRenderObject.GetScaledSize ( )
virtual

Get size with scaling (also consider parent's scaling)

Returns
Size with scaling

Reimplemented in Yukar.Engine.TextPanel.

◆ GetSelectIndexWithChildern() [1/2]

virtual Tuple< int, bool > Yukar.Engine.AbstractRenderObject.GetSelectIndexWithChildern ( )
virtual

Get the index number of the selected menu container

Returns
Index number in menu container selection

Reimplemented in Yukar.Engine.MenuContainer.

◆ GetSelectIndexWithChildern() [2/2]

virtual Tuple< int, bool > Yukar.Engine.AbstractRenderObject.GetSelectIndexWithChildern ( AbstractRenderObject  menuContiner)
virtual

Get the index number of the selected menu container

Parameters
menuContinerthe menu container to get
Returns
Index number in menu container selection

Reimplemented in Yukar.Engine.MenuContainer.

◆ GetSelectOpenLayoutGuid()

virtual Guid Yukar.Engine.AbstractRenderObject.GetSelectOpenLayoutGuid ( )
virtual

Get the guid of the selected open layout

Returns
guid of layout to open

Reimplemented in Yukar.Engine.MenuContainer.

◆ GetSelectSliderValueWithChildern()

virtual float Yukar.Engine.AbstractRenderObject.GetSelectSliderValueWithChildern ( )
virtual

Get the value of the selected slider

Returns
Selected slider value

Reimplemented in Yukar.Engine.MenuContainer.

◆ GetSliderMaximumValueWithChildern()

virtual float Yukar.Engine.AbstractRenderObject.GetSliderMaximumValueWithChildern ( int  index)
virtual

Gets the maximum value of the slider in the subcontainer with the specified index number

Parameters
indexThe index number of the subcontainer of the slider you want to get
Returns
Maximum slider value

Reimplemented in Yukar.Engine.MenuContainer.

◆ GetSliderValueWithChildern()

virtual float Yukar.Engine.AbstractRenderObject.GetSliderValueWithChildern ( int  index)
virtual

Get the value of the slider in the subcontainer with the specified index number

Parameters
indexThe index number of the subcontainer of the slider you want to get
Returns
slider value

Reimplemented in Yukar.Engine.MenuContainer.

◆ GetSpinValueWithChildern()

virtual int Yukar.Engine.AbstractRenderObject.GetSpinValueWithChildern ( int  index)
virtual

Get the value of the spin in the subcontainer with the specified index number

Parameters
indexThe index number of the subcontainer of the spin whose value you want to get
Returns
spin value

Reimplemented in Yukar.Engine.MenuContainer.

◆ GetTagPosition()

virtual TagPositions Yukar.Engine.AbstractRenderObject.GetTagPosition ( )
virtual

Get tag position settings

Returns
Tag position

Reimplemented in Yukar.Engine.MenuContainer, and Yukar.Engine.RenderContainer.

◆ GetTagTelop()

virtual TagTelop Yukar.Engine.AbstractRenderObject.GetTagTelop ( )
virtual

Get telop tag settings

Returns
Telop tags

Reimplemented in Yukar.Engine.MenuContainer, and Yukar.Engine.RenderContainer.

◆ GetTextContet()

virtual void Yukar.Engine.AbstractRenderObject.GetTextContet ( List< TextContets result)
virtual

get text content

Parameters
resulttext content

Reimplemented in Yukar.Engine.MenuContainer, Yukar.Engine.RenderContainer, Yukar.Engine.SpecialTextRenderer, and Yukar.Engine.TextPanel.

◆ GetTextDrawer()

virtual TextDrawer Yukar.Engine.AbstractRenderObject.GetTextDrawer ( )
virtual

get text drawing object

Returns
text drawing object

Reimplemented in Yukar.Engine.TextPanel.

◆ GetTextScale()

virtual Tuple< bool, float > Yukar.Engine.AbstractRenderObject.GetTextScale ( )
virtual

get text scale

Returns
true Text exists false Text does not exist Text scale

Reimplemented in Yukar.Engine.TextPanel.

◆ GetTextScaledSize()

virtual Tuple< bool, Vector2 > Yukar.Engine.AbstractRenderObject.GetTextScaledSize ( )
virtual

get text size

Returns
true text exists false text does not exist text size

Reimplemented in Yukar.Engine.TextPanel.

◆ GetTouchingObjects() [1/2]

List< AbstractRenderObject > Yukar.Engine.AbstractRenderObject.GetTouchingObjects ( SharpKmyMath.Vector2  position)

Get touched drawing object including children

Parameters
positiontouch coordinates
Returns
drawing object that can be touched

◆ GetTouchingObjects() [2/2]

List< AbstractRenderObject > Yukar.Engine.AbstractRenderObject.GetTouchingObjects ( Vector2  position)

Get touched drawing object including children

Parameters
positiontouch coordinates
Returns
drawing object that can be touched

◆ GetWindowPadding()

virtual Vector2 Yukar.Engine.AbstractRenderObject.GetWindowPadding ( )
virtual

get window margins

Returns
Window margin (0 if there is no window)

Reimplemented in Yukar.Engine.MenuContainer, Yukar.Engine.MenuSubContainer, and Yukar.Engine.RenderContainer.

◆ GetWindowRenderSize()

virtual Vector2 Yukar.Engine.AbstractRenderObject.GetWindowRenderSize ( Vector2  size)
virtual

Calculate drawing size within window frame

Parameters
sizethe size you want to calculate
Returns
Drawing size within window frame

Reimplemented in Yukar.Engine.MenuContainer, Yukar.Engine.MenuSubContainer, and Yukar.Engine.RenderContainer.

◆ HasEventObject()

virtual bool Yukar.Engine.AbstractRenderObject.HasEventObject ( Events  layoutEvent)
virtual

Whether the event contains special formatting

Parameters
layoutEventthe event you want to check
Returns
true included false not included

Reimplemented in Yukar.Engine.MenuContainer, Yukar.Engine.SpecialTextRenderer, and Yukar.Engine.TextPanel.

◆ HasHideContainerOption()

virtual bool Yukar.Engine.AbstractRenderObject.HasHideContainerOption ( )
virtual

Whether the selected container has a setting to hide the container when determined

Returns
Has a true setting Does not have a false setting

Reimplemented in Yukar.Engine.MenuContainer.

◆ HasSpecialText()

virtual bool Yukar.Engine.AbstractRenderObject.HasSpecialText ( SpecialTextRenderer.SpecialTexts  specialText)
virtual

Whether the specified content contains special formatting

Parameters
specialTextThe type of special format you want to check
Returns
true included false not included

Reimplemented in Yukar.Engine.TextPanel, and Yukar.Engine.SpecialTextRenderer.

◆ HaveDecidedByTouch()

virtual bool Yukar.Engine.AbstractRenderObject.HaveDecidedByTouch ( )
virtual

Whether you pressed decision by touch

Returns
true pressed false not pressed

Reimplemented in Yukar.Engine.MenuContainer.

◆ Hide()

virtual void Yukar.Engine.AbstractRenderObject.Hide ( )
virtual

◆ HideContainer()

virtual void Yukar.Engine.AbstractRenderObject.HideContainer ( )
virtual

Hide container only

Reimplemented in Yukar.Engine.MenuContainer, and Yukar.Engine.RenderContainer.

◆ HideNamePlate()

virtual void Yukar.Engine.AbstractRenderObject.HideNamePlate ( int  containerIndex)
virtual

Hide nameplate

Parameters
containerIndexindex number to hide

Reimplemented in Yukar.Engine.TextPanel.

◆ HideNotUsingAnimation()

void Yukar.Engine.AbstractRenderObject.HideNotUsingAnimation ( )

Alias for Old Name / HideWithNotAnimation

◆ HideWithNotAnimation()

virtual void Yukar.Engine.AbstractRenderObject.HideWithNotAnimation ( )
virtual

◆ InsertChild()

bool Yukar.Engine.AbstractRenderObject.InsertChild ( AbstractRenderObject  child,
int  insertIndex 
)

add child

Parameters
childchildren to add
insertIndexposition to add
Returns
true if it could be added false if it was duplicated and could not be added

◆ IsAncestor()

bool Yukar.Engine.AbstractRenderObject.IsAncestor ( AbstractRenderObject  obj)

determine if ancestor

Parameters
objA drawing object to determine if it is an ancestor
Returns
true included in ancestors false not included in ancestors

◆ IsClipRecursive()

virtual bool Yukar.Engine.AbstractRenderObject.IsClipRecursive ( )
virtual

◆ IsContainer()

bool Yukar.Engine.AbstractRenderObject.IsContainer ( )

container or not

Returns
true container false not container

◆ IsDescendants()

bool Yukar.Engine.AbstractRenderObject.IsDescendants ( AbstractRenderObject  obj)

determine if descendant

Parameters
objA drawing object to determine if it is a descendant
Returns
true included in descendants false not included in descendants

◆ IsInOutAnimatingWithChildern()

bool Yukar.Engine.AbstractRenderObject.IsInOutAnimatingWithChildern ( )

whether it is in animation

Returns
true during animation false no animation

◆ IsLockedWithChildern()

bool Yukar.Engine.AbstractRenderObject.IsLockedWithChildern ( )

whether it is locked

Returns
true locked false not locked

◆ IsSelectedFirstPage()

virtual bool Yukar.Engine.AbstractRenderObject.IsSelectedFirstPage ( )
virtual

Are you selecting the first page?

Returns
true selected false not selected

Reimplemented in Yukar.Engine.MenuContainer.

◆ IsSelectedLastPage()

virtual bool Yukar.Engine.AbstractRenderObject.IsSelectedLastPage ( )
virtual

Are you selecting the last page?

Returns
true selected false not selected

Reimplemented in Yukar.Engine.MenuContainer.

◆ IsTextOutOfScreen()

virtual bool Yukar.Engine.AbstractRenderObject.IsTextOutOfScreen ( )
virtual

whether the text is off screen

Returns
true outside the screen false inside the screen

Reimplemented in Yukar.Engine.SpecialTextRenderer, and Yukar.Engine.TextPanel.

◆ IsTouching() [1/2]

bool Yukar.Engine.AbstractRenderObject.IsTouching ( SharpKmyMath.Vector2  position)

whether you are touching

Parameters
positiontouch coordinates
Returns
true touched false not touched

◆ IsTouching() [2/2]

bool Yukar.Engine.AbstractRenderObject.IsTouching ( Vector2  position)

whether you are touching

Parameters
positiontouch coordinates
Returns
true touched false not touched

◆ IsTouchingAnything() [1/2]

bool Yukar.Engine.AbstractRenderObject.IsTouchingAnything ( SharpKmyMath.Vector2  position)

Whether the child is also touched

Parameters
positiontouch coordinates
Returns
true touched false not touched

◆ IsTouchingAnything() [2/2]

bool Yukar.Engine.AbstractRenderObject.IsTouchingAnything ( Vector2  position)

Whether the child is also touched

Parameters
positiontouch coordinates
Returns
true touched false not touched

◆ IsTouchingCenter() [1/2]

bool Yukar.Engine.AbstractRenderObject.IsTouchingCenter ( SharpKmyMath.Vector2  position,
float  centerLength 
)

Whether you are touching the center or not

Parameters
positiontouch coordinates
centerLengthCenter judgment width
Returns
true touched false not touched

◆ IsTouchingCenter() [2/2]

bool Yukar.Engine.AbstractRenderObject.IsTouchingCenter ( Vector2  position,
float  centerLength 
)

Whether you are touching the center or not

Parameters
positiontouch coordinates
centerLengthCenter judgment width
Returns
true touched false not touched

◆ IsTouchingEdge() [1/2]

Tuple< bool, TouchCollider.EdgePosition > Yukar.Engine.AbstractRenderObject.IsTouchingEdge ( SharpKmyMath.Vector2  position,
float  edgeLength 
)

Are you touching the edge?

Parameters
positiontouch coordinates
edgeLengthedge width
Returns
item1 true Touched false Not touched item2 Which edge is touched?

◆ IsTouchingEdge() [2/2]

Tuple< bool, TouchCollider.EdgePosition > Yukar.Engine.AbstractRenderObject.IsTouchingEdge ( Vector2  position,
float  edgeLength 
)

Are you touching the edge?

Parameters
positiontouch coordinates
edgeLengthedge width
Returns
item1 true Touched false Not touched item2 Which edge is touched?

◆ IsVisibleWithChildern()

bool Yukar.Engine.AbstractRenderObject.IsVisibleWithChildern ( )

whether it is showing

Returns
true showing false not showing

◆ Lock() [1/2]

virtual void Yukar.Engine.AbstractRenderObject.Lock ( )
virtual

lock

Reimplemented in Yukar.Engine.MenuSubContainer.

◆ Lock() [2/2]

virtual void Yukar.Engine.AbstractRenderObject.Lock ( AbstractRenderObject  menuContiner)
virtual

lock the specified menu container

Parameters
menuContinermenu container to lock

Reimplemented in Yukar.Engine.MenuContainer.

◆ MovedPage()

virtual bool Yukar.Engine.AbstractRenderObject.MovedPage ( )
virtual

Did you move the page (need to call update first)

Returns
true moved false not moved

Reimplemented in Yukar.Engine.MenuContainer.

◆ NeedDrawingOrigin()

virtual bool Yukar.Engine.AbstractRenderObject.NeedDrawingOrigin ( )
virtual

Need to draw the origin?

Returns
true required false not required

Reimplemented in Yukar.Engine.MenuContainer, Yukar.Engine.RenderContainer, and Yukar.Engine.TextPanel.

◆ ParseNodes()

List< AbstractRenderObject > Yukar.Engine.AbstractRenderObject.ParseNodes ( )

return all nodes

Returns

◆ PopMask()

void Yukar.Engine.AbstractRenderObject.PopMask ( )
protected

◆ PressNextPage()

virtual bool Yukar.Engine.AbstractRenderObject.PressNextPage ( )
virtual

Did you enter a move to the next page?

Returns
true pressed false not pressed

Reimplemented in Yukar.Engine.MenuContainer.

◆ PressPreviousPage()

virtual bool Yukar.Engine.AbstractRenderObject.PressPreviousPage ( )
virtual

Did you enter a move to the previous page?

Returns
true pressed false not pressed

Reimplemented in Yukar.Engine.MenuContainer.

◆ PushMask()

void Yukar.Engine.AbstractRenderObject.PushMask ( Rectangle  clipRect,
Guid  mask 
)
protected

Apply UI mask

Parameters
clipRect
mask

◆ PushMaskUseSprite()

void Yukar.Engine.AbstractRenderObject.PushMaskUseSprite ( Action< Vector2 >  applyMask)
protected

Putting elements on the stack to use sprite-based UI masks

Parameters
clipRect
mask

◆ ReCalculatePostion()

virtual void Yukar.Engine.AbstractRenderObject.ReCalculatePostion ( )
virtual

recalculate position

◆ Release()

virtual void Yukar.Engine.AbstractRenderObject.Release ( )
virtual

◆ Remove()

virtual AbstractRenderObject Yukar.Engine.AbstractRenderObject.Remove ( MenuSettings.MenuItem  menuItem)
virtual

remove child

Parameters
menuItemSetting the layout to be deleted
Returns
true if it was possible to delete false if it did not exist in the child and could not be deleted

Reimplemented in Yukar.Engine.MenuSubContainer.

◆ RemoveChild()

bool Yukar.Engine.AbstractRenderObject.RemoveChild ( AbstractRenderObject  child)

remove child

Parameters
childchild to remove
Returns
true if it was possible to delete false if it did not exist in the child and could not be deleted

◆ RemoveFromParent()

AbstractRenderObject Yukar.Engine.AbstractRenderObject.RemoveFromParent ( )

detach from parent

Returns
parent before detaching

◆ ResetChildLayoutProperties()

void Yukar.Engine.AbstractRenderObject.ResetChildLayoutProperties ( )
protected

Repopulate child layout information

◆ ResetLayoutProperties()

virtual void Yukar.Engine.AbstractRenderObject.ResetLayoutProperties ( )
protectedvirtual

◆ ResetSubMenuContainerRenderStatus()

virtual void Yukar.Engine.AbstractRenderObject.ResetSubMenuContainerRenderStatus ( )
virtual

Reset the drawing state of the subcontainer

Reimplemented in Yukar.Engine.MenuSubContainer, and Yukar.Engine.TextPanel.

◆ SetAngle()

virtual void Yukar.Engine.AbstractRenderObject.SetAngle ( float  angle)
virtual

set the angle

Parameters
angle

Reimplemented in Yukar.Engine.TextPanel.

◆ SetFlip()

virtual void Yukar.Engine.AbstractRenderObject.SetFlip ( int  flip)
virtual

set inversion

Parameters
flip

Reimplemented in Yukar.Engine.TextPanel.

◆ SetLayoutStateGuid()

virtual void Yukar.Engine.AbstractRenderObject.SetLayoutStateGuid ( Guid  guid)
virtual

Sets the guid of the selected open layout state

Parameters
guidThe guid of the open layout state in the selection to set

Reimplemented in Yukar.Engine.MenuContainer.

◆ SetOffsetMyPosition()

void Yukar.Engine.AbstractRenderObject.SetOffsetMyPosition ( Vector2  position)

Set the position considering the initial position

Parameters
position

◆ SetParent()

virtual void Yukar.Engine.AbstractRenderObject.SetParent ( AbstractRenderObject  parent)
virtual

set parent

Parameters
parentparent

Reimplemented in Yukar.Engine.MenuSubContainer, Yukar.Engine.SliderPanel, Yukar.Engine.SpinPanel, and Yukar.Engine.TextPanel.

◆ SetPositionForPreview()

virtual void Yukar.Engine.AbstractRenderObject.SetPositionForPreview ( Vector2  position)
virtual

Position change function in preview

Parameters
positionthe coordinates you want to change

Reimplemented in Yukar.Engine.MenuContainer, Yukar.Engine.MenuSubContainer, Yukar.Engine.RenderContainer, Yukar.Engine.SliderPanel, Yukar.Engine.SpecialTextRenderer, Yukar.Engine.SpinPanel, and Yukar.Engine.TextPanel.

◆ SetRenderAlpha()

virtual void Yukar.Engine.AbstractRenderObject.SetRenderAlpha ( float  alpha)
virtual

set transparency

Parameters
aTransparency

◆ SetRenderPosition()

virtual Vector2 Yukar.Engine.AbstractRenderObject.SetRenderPosition ( Vector2  globalPosition)
virtual

Set position in world coordinates

Parameters
globalPosition
Returns
Own coordinates after calculation

Reimplemented in Yukar.Engine.TextPanel.

◆ SetSelectIndexWithChildern()

virtual void Yukar.Engine.AbstractRenderObject.SetSelectIndexWithChildern ( int  index)
virtual

Change the selected position of the menu container

Parameters
indexSelected position

Reimplemented in Yukar.Engine.MenuContainer, and Yukar.Engine.MenuSubContainer.

◆ SetSelectingRenderObject()

void Yukar.Engine.AbstractRenderObject.SetSelectingRenderObject ( Guid  guid)

Make the object with the specified guid selected

Parameters
guidthe guid of the object you want to select

◆ SetSize()

virtual void Yukar.Engine.AbstractRenderObject.SetSize ( Vector2  size)
virtual

set position

Parameters
size

Reimplemented in Yukar.Engine.MenuContainer, Yukar.Engine.RenderContainer, and Yukar.Engine.TextPanel.

◆ SetSliderValueWithChildern()

virtual void Yukar.Engine.AbstractRenderObject.SetSliderValueWithChildern ( float  value,
int  index 
)
virtual

Change the value of the slider in the subcontainer with the specified index number

Parameters
valueValue to set
indexThe index number of the subcontainer of the slider whose value you want to change

Reimplemented in Yukar.Engine.MenuContainer.

◆ SetSpinValueWithChildern()

virtual void Yukar.Engine.AbstractRenderObject.SetSpinValueWithChildern ( int  value,
int  index 
)
virtual

Change the value of the spin in the subcontainer with the specified index number

Parameters
valuevalue to change
indexThe index number of the subcontainer of the spin whose value you want to change

Reimplemented in Yukar.Engine.MenuContainer.

◆ Show()

virtual void Yukar.Engine.AbstractRenderObject.Show ( )
virtual

◆ ShowContainer()

virtual void Yukar.Engine.AbstractRenderObject.ShowContainer ( )
virtual

Show only containers

Reimplemented in Yukar.Engine.MenuContainer, and Yukar.Engine.RenderContainer.

◆ ShowNamePlate()

virtual void Yukar.Engine.AbstractRenderObject.ShowNamePlate ( int  containerIndex)
virtual

Show nameplate

Parameters
containerIndexindex number to display

Reimplemented in Yukar.Engine.TextPanel.

◆ ShowWithNotAnimation()

virtual void Yukar.Engine.AbstractRenderObject.ShowWithNotAnimation ( )
virtual

◆ SkipContentRendering()

virtual void Yukar.Engine.AbstractRenderObject.SkipContentRendering ( bool  skip)
virtual

Prevent container drawing (container children are still drawn)

Parameters
skiptrue Do not draw the container false Draw the container

Reimplemented in Yukar.Engine.MenuContainer, and Yukar.Engine.RenderContainer.

◆ UnLock()

virtual void Yukar.Engine.AbstractRenderObject.UnLock ( )
virtual

to unlock

Reimplemented in Yukar.Engine.MenuSubContainer.

◆ Update()

void Yukar.Engine.AbstractRenderObject.Update ( )

Update

◆ UpdateCallback()

abstract void Yukar.Engine.AbstractRenderObject.UpdateCallback ( )
protectedpure virtual

◆ UpdateGameContent()

virtual void Yukar.Engine.AbstractRenderObject.UpdateGameContent ( GameContent  gameContent,
bool  skipBattleReplace = false 
)
virtual

Update game content

Parameters
gameContentGame content
skipBattleReplaceSkip processing for battle or true Skip false Do not skip

Reimplemented in Yukar.Engine.SliderPanel, Yukar.Engine.SliderRenderer, Yukar.Engine.SpecialTextRenderer, Yukar.Engine.SpinPanel, and Yukar.Engine.TextPanel.

◆ UpdateSpecialRenderObject()

virtual void Yukar.Engine.AbstractRenderObject.UpdateSpecialRenderObject ( )
virtual

Update specially formatted text

Reimplemented in Yukar.Engine.SpecialTextRenderer, and Yukar.Engine.TextPanel.

◆ UpdateTouchCollider()

virtual void Yukar.Engine.AbstractRenderObject.UpdateTouchCollider ( Vector2  addtionalContainerSize)
virtual

Update hitbox

Parameters
addtionalContainerSizeAdditional size of container when previewing

Reimplemented in Yukar.Engine.MenuContainer, and Yukar.Engine.RenderContainer.

Member Data Documentation

◆ alpha

float Yukar.Engine.AbstractRenderObject.alpha
protected

◆ canUse

bool Yukar.Engine.AbstractRenderObject.canUse
protected

Whether to use (toggles between enabling and disabling only Drawble of MenuItem)

◆ disable

bool Yukar.Engine.AbstractRenderObject.disable
protected

◆ drawable

bool Yukar.Engine.AbstractRenderObject.drawable
protected

Toggle whether to draw or not depending on the action

◆ guid

Guid Yukar.Engine.AbstractRenderObject.guid
protected

◆ isPreview

bool Yukar.Engine.AbstractRenderObject.isPreview
protected

◆ isThumbnail

bool Yukar.Engine.AbstractRenderObject.isThumbnail
protected

◆ locked

bool Yukar.Engine.AbstractRenderObject.locked
protected

◆ overrideRenderColor

Color? Yukar.Engine.AbstractRenderObject.overrideRenderColor
protected

◆ scale

Vector2 Yukar.Engine.AbstractRenderObject.scale
protected

◆ touchRectCollider

TouchRectCollider Yukar.Engine.AbstractRenderObject.touchRectCollider
protected

◆ usePlayerPosition

bool Yukar.Engine.AbstractRenderObject.usePlayerPosition
protected

◆ useVariablePosition

bool Yukar.Engine.AbstractRenderObject.useVariablePosition
protected

◆ variableNames

Tuple<string, string> Yukar.Engine.AbstractRenderObject.variableNames
protected

Property Documentation

◆ Bottom

int Yukar.Engine.AbstractRenderObject.Bottom
get

◆ CanUse

bool Yukar.Engine.AbstractRenderObject.CanUse
get

◆ Children

List<AbstractRenderObject> Yukar.Engine.AbstractRenderObject.Children
getset

◆ DefaultPosition

Vector2 Yukar.Engine.AbstractRenderObject.DefaultPosition
getprotected set

◆ Depth

int Yukar.Engine.AbstractRenderObject.Depth
getset

◆ DownNext

AbstractRenderObject Yukar.Engine.AbstractRenderObject.DownNext
getset

◆ DrawableSizeRect

bool Yukar.Engine.AbstractRenderObject.DrawableSizeRect
get

◆ Index

int Yukar.Engine.AbstractRenderObject.Index
get

◆ IsDrawable

virtual bool Yukar.Engine.AbstractRenderObject.IsDrawable
getprotected

◆ IsInOutAnimating

bool Yukar.Engine.AbstractRenderObject.IsInOutAnimating
getset

◆ IsVisible

bool Yukar.Engine.AbstractRenderObject.IsVisible
getset

◆ IsVisibleBySwitch

bool Yukar.Engine.AbstractRenderObject.IsVisibleBySwitch
get

◆ Left

int Yukar.Engine.AbstractRenderObject.Left
get

◆ LeftNext

AbstractRenderObject Yukar.Engine.AbstractRenderObject.LeftNext
getset

◆ MenuIndex

int Yukar.Engine.AbstractRenderObject.MenuIndex
getset

◆ MenuItem

MenuSettings.MenuItem Yukar.Engine.AbstractRenderObject.MenuItem
getset

◆ Next

AbstractRenderObject Yukar.Engine.AbstractRenderObject.Next
getset

◆ Parent

AbstractRenderObject Yukar.Engine.AbstractRenderObject.Parent
getset

◆ Position

Vector2 Yukar.Engine.AbstractRenderObject.Position
getset

◆ Previous

AbstractRenderObject Yukar.Engine.AbstractRenderObject.Previous
getset

◆ Right

int Yukar.Engine.AbstractRenderObject.Right
get

◆ RightNext

AbstractRenderObject Yukar.Engine.AbstractRenderObject.RightNext
getset

◆ Size

Vector2 Yukar.Engine.AbstractRenderObject.Size
getset

◆ SizeRectColor

Color? Yukar.Engine.AbstractRenderObject.SizeRectColor
getset

◆ SkipDrawMySelf

bool Yukar.Engine.AbstractRenderObject.SkipDrawMySelf
getset

◆ SkipUpdateVisibleFromParent

bool Yukar.Engine.AbstractRenderObject.SkipUpdateVisibleFromParent
getset

◆ Top

int Yukar.Engine.AbstractRenderObject.Top
get

◆ UpNext

AbstractRenderObject Yukar.Engine.AbstractRenderObject.UpNext
getset