Logo
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | 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.ScrollBarRenderer Yukar.Engine.SliderPanel Yukar.Engine.SliderRenderer Yukar.Engine.SpecialTextRenderer Yukar.Engine.SpinPanel Yukar.Engine.SpinRenderer Yukar.Engine.SpriteRenderObject Yukar.Engine.TextPanel

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  TextContentType { NONE = -1 , EMPTY_TEXT , TEXT_OR_SPECIAL_TEXT }
 type of text content More...
 
enum  Nav {
  NONE = -1 , UP , DOWN , LEFT ,
  RIGHT , PREVIOUS , NEXT
}
 General purpose Direction, order More...
 

Public Member Functions

 AbstractRenderObject ()
 Initializes a new instance of the AbstractRenderObject class. More...
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, bool isThumbnail)
 Initializes a new instance of the AbstractRenderObject class with the specified menu item and thumbnail flag. More...
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, bool isThumbnail)
 Initializes a new instance of the AbstractRenderObject class with the specified menu item, GUID, and thumbnail flag. More...
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, bool isThumbnail)
 Initializes a new instance of the AbstractRenderObject class with the specified menu item, unique identifier, parent object, insertion index, and thumbnail flags. More...
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, bool drawable, bool isThumbnail)
 Has the specified menu item, unique identifier, parent object, insert index, drawing state, and thumbnail state AbstractRenderObject クラスの新しいインスタンスを初期化します。 More...
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, bool drawable, Vector2 position, bool isThumbnail)
 Initializes a new instance of the <see cref=\ More...
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, bool drawable, Vector2 position, Vector2 size, bool isThumbnail)
 Initializes a new instance of the <see cref=\ More...
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, bool drawable, Vector2 position, Vector2 size, Vector2 scale, bool isThumbnail)
 Initializes a new instance of the <see cref=\ More...
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, bool drawable, Vector2 position, Vector2 size, Vector2 scale, float alpha, bool isThumbnail)
 Initializes a new instance of the <see cref=\ More...
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, bool drawable, Vector2 position, Vector2 size, Vector2 scale, float alpha, bool isPreview, bool isThumbnail)
 Initializes a new instance of the <see cref=\ More...
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, RenderProperty renderProperty, bool isThumbnail)
 The specified menu item, unique identifier, parent object, insert index, render property, Initializes a new instance of the <see cref=\ More...
 
 AbstractRenderObject (MenuSettings.MenuItem menuItem, Guid guid, AbstractRenderObject parent, int insertIndex, RenderProperty renderProperty, bool isPreview, bool isThumbnail)
 Initializes a new instance of the <see cref=\ More...
 
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 GetParentRenderPositionOffset ()
 Get the parent's drawing position offset More...
 
Vector2 GetAllParentRenderPositionOffset ()
 Get the draw position offset for all parents More...
 
RectangleF RemoveParentOffsetF (RectangleF rect)
 Remove parent drawing position offset 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)
 Whether it covers a rectangle More...
 
bool CoverRectangle (SharpKmyMath.Rectangle rectangle)
 Whether it covers a rectangle More...
 
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...
 
bool GetDrawable ()
 Gets whether it is drawable or not 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)
 Get the rectangle used for clipping (only by yourself) More...
 
virtual bool IsClipRecursive ()
 
virtual RectangleF GetRendererRectangleF ()
 Areas you draw (RectangleF) More...
 
virtual Rectangle GetRendererRectangle ()
 Areas you draw (Rectangle) More...
 
virtual RectangleF GetRendererRectangleWithChildrenF (bool useOffset=true)
 Areas that you and your child draw (RectangleF) More...
 
virtual Rectangle GetRendererRectangleWithChildren (bool useOffset=true)
 Areas that you and your child draw (Rectangle) More...
 
virtual Rectangle GetChildClipRectangle ()
 Areas that allow children to draw More...
 
virtual Rectangle GetClipAreaRectangle ()
 Areas that allow children to draw (including parental influence) More...
 
virtual bool IsClipChildren ()
 Do you want to clip the kids? More...
 
virtual bool IsClippingWithParent ()
 When clipping a child, do you also consider the parent's clip? More...
 
virtual bool IsClippingSelf ()
 Do you want to clip yourself? More...
 
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< TextContentTypeGetChildrenTextContentType ()
 get text content More...
 
virtual void GetTextContentType (List< TextContentType > 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...
 
virtual bool IsUpdateSubContainerRenderStatus ()
 Update the drawing status of a subcontainer More...
 
List< AbstractRenderObjectParseNodes ()
 return all nodes More...
 

Static Public Member Functions

static RectangleF GetRectangleF (Rectangle rect)
 Conversion of Rectangle and RectangleF More...
 
static Rectangle GetRectangle (RectangleF rect)
 RectangleF and Rectangle Conversion More...
 
static Rectangle GetFullScreenRectangle ()
 Get a rectangle covering the full screen More...
 
static void PushClip (int x, int y, int w, int h, bool isRecursive=false)
 Convert to a rectangle that does not include parent offset More...
 
static bool PushClip (Rectangle clipRect, bool isRecursive=false, bool isForced=false)
 Convert to a rectangle that does not include parent offset More...
 
static void PushFullScreenClip ()
 Convert to a rectangle that covers the entire screen More...
 
static void PopClip ()
 Unclipping More...
 
static void ApplyCurrentMask ()
 Apply the current mask More...
 

Public Attributes

bool UseRenderPositionOffset = true
 
Vector2 renderPositionOffset = Vector2.Zero
 

Protected Member Functions

virtual void UpdateTouchRectCollider ()
 
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)
 
AbstractRenderObject GetRenderObjectWithPositionAnchorTagCore (string positionAnchorTag, int? menuIndex=null)
 
void GetRenderObjectsWithPositionAnchorTag (List< AbstractRenderObject > result, string positionAnchorTag)
 
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...
 
void DebugDrawTouchCollider ()
 
virtual void ResetLayoutProperties ()
 Reset layout information More...
 
void ResetChildLayoutProperties ()
 Repopulate child layout information More...
 
void ResetFocusedTouchId ()
 
RenderObjectFlags GetRenderFlagHierarchyAnd ()
 
RenderObjectFlags GetRenderFlagHierarchyOr ()
 

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
 
GameContentParser.CachedResult variableParserResult
 
bool usePlayerPosition
 
Layout.AbstractController controller
 
int focusedTouchId = -1
 

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]
 
bool CanUseWithParents [get]
 
bool IsVisibleBySwitchWithParents [get]
 
bool IsVisibleAndUsableWithParents [get]
 
MenuSettings.MenuItem MenuItem [get, set]
 
bool SkipDrawMySelf [get, set]
 
bool IsVisible [get, set]
 
bool SkipUpdateVisibleFromParent [get, set]
 
virtual bool IsInOutAnimating [get]
 
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 

◆ Nav

General purpose Direction, order

Enumerator
NONE 
UP 
DOWN 
LEFT 
RIGHT 
PREVIOUS 
NEXT 

◆ 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 

◆ TextContentType

type of text content

Enumerator
NONE 
EMPTY_TEXT 
TEXT_OR_SPECIAL_TEXT 

Constructor & Destructor Documentation

◆ AbstractRenderObject() [1/12]

Yukar.Engine.AbstractRenderObject.AbstractRenderObject ( )

Initializes a new instance of the AbstractRenderObject class.

◆ AbstractRenderObject() [2/12]

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

Initializes a new instance of the AbstractRenderObject class with the specified menu item and thumbnail flag.

Parameters
menuItemこのレンダーオブジェクトに関連付けられたメニューアイテム。このパラメータはレンダーオブジェクトの Determines properties and behavior.
Parameters
isThumbnailこのレンダーオブジェクトがサムネイルであるかどうかを示す値。trueの場合、 Objects are treated as thumbnails and specific event registrations are skipped.

◆ AbstractRenderObject() [3/12]

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

Initializes a new instance of the AbstractRenderObject class with the specified menu item, GUID, and thumbnail flag.

Parameters
menuItemThe menu item associated with this render object.
guidA unique identifier for this render object.
isThumbnailこのレンダーオブジェクトがサムネイルであるかどうかを示す値。trueIn this case, the object is treated as a thumbnail and specific event registrations are skipped.

◆ AbstractRenderObject() [4/12]

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

Initializes a new instance of the AbstractRenderObject class with the specified menu item, unique identifier, parent object, insertion index, and thumbnail flags.

Parameters
menuItemThe menu item associated with this render object.
guidA unique identifier for this render object.
parentこのオブジェクトが属する親レンダーオブジェクト。このオブジェクトに親がない場合はnullIt will become.
insertIndexThe index to insert this object into the parent's child collection.
isThumbnailこのレンダーオブジェクトがサムネイルを表すかどうかを示す値。サムネイルの場合はtrue、そうでない場合はfalse.

◆ AbstractRenderObject() [5/12]

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

Has the specified menu item, unique identifier, parent object, insert index, drawing state, and thumbnail state AbstractRenderObject クラスの新しいインスタンスを初期化します。

Parameters
menuItemThe menu item associated with this render object.
guidUnique identifier for this render object.
parentこのオブジェクトが属する親レンダーオブジェクト。親がない場合は nullIt will become.
insertIndexThe index into which this render object is inserted into the parent collection.
drawableこのレンダーオブジェクトが描画可能かどうかを示す値。描画可能な場合は true、 Otherwise, <see langword=\
Parameters
isThumbnailこのレンダーオブジェクトがサムネイルを表すかどうかを示す値。サムネイルの場合は true、 Otherwise, <see langword=\

◆ AbstractRenderObject() [6/12]

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

Initializes a new instance of the <see cref=\

Parameters
menuItemThe menu item associated with this render object.
guidUnique identifier for this render object.
parent階層内の親レンダーオブジェクト。このオブジェクトに親がない場合は nullIt will become.
insertIndexThe index into which this render object is inserted into the parent's child collection.
drawableA value indicating whether this render object is drawable.
positionThe initial position of the render object in 2D space.
isThumbnailA value that indicates whether this render object represents a thumbnail.

◆ AbstractRenderObject() [7/12]

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

Initializes a new instance of the <see cref=\

Parameters
menuItemThe menu item associated with this render object.
guidUnique identifier for this render object.
parent階層内の親レンダーオブジェクト。このオブジェクトに親がない場合は nullIt will become.
insertIndexThe index into which this render object is inserted into the parent's child collection.
drawableA value indicating whether this render object is drawable.
positionThe position of the render object in the coordinate space.
sizeThe size of the render object.
isThumbnailA value that indicates whether this render object represents a thumbnail.

◆ 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 
)

Initializes a new instance of the <see cref=\

Parameters
menuItemThe menu item associated with this render object.
guidUnique identifier for this render object.
parent階層内の親レンダーオブジェクト。親がない場合は nullIt will become.
insertIndexThe index into which this render object is inserted into the parent collection.
drawableA value indicating whether this render object is drawable.
positionThe location of the render object in 2D space.
sizeThe size of the render object in 2D space.
scaleThe scale factor applied to the render object.
isThumbnailA value that indicates whether this render object represents a thumbnail.

◆ 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 
)

Initializes a new instance of the <see cref=\

Parameters
menuItemThe menu item associated with this render object.
guidUnique identifier for this render object.
parent階層内の親レンダーオブジェクト。このオブジェクトに親がない場合は nullIt will become.
insertIndexThe index into which this render object is inserted into the parent collection.
drawableA value indicating whether this render object is drawable.
positionThe location of the render object in 2D space.
sizeThe size of the render object in 2D space.
scaleThe scale factor applied to the render object.
alphaThe alpha transparency value of the render object.
isThumbnailA value indicating whether this render object is a thumbnail.

◆ 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 
)

Initializes a new instance of the <see cref=\

Parameters
menuItemThe menu item associated with this render object.
guidUnique identifier for this render object.
parentこのオブジェクトの親レンダーオブジェクト、または親がない場合は null.
insertIndexThe index to insert this object into the parent's child collection.
drawableA value indicating whether this object is drawable or not.
positionThe location of the render object in 2D space.
sizeThe size of the render object in 2D space.
scaleScale of render objects in 2D space.
alphaThe transparency level of the render object.
isPreviewこのレンダーオブジェクトがプレビューモードであるかどうかを示す値。true の場合、 Certain actions such as moving coordinates by the controller are disabled.
Parameters
isThumbnailA value indicating whether this render object is a thumbnail.

◆ AbstractRenderObject() [11/12]

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

The specified menu item, unique identifier, parent object, insert index, render property, Initializes a new instance of the <see cref=\

Parameters
menuItemThe menu item associated with this render object.
guidUnique identifier for this render object.
parentこのオブジェクトが属する親レンダーオブジェクト。親がない場合は nullIt will become.
insertIndexThe index to insert this render object into the parent's child collection.
renderPropertyRender property that defines the drawability, position, size, scale, and alpha of this object.
isThumbnailA value that indicates whether this render object represents a thumbnail.

◆ AbstractRenderObject() [12/12]

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

Initializes a new instance of the <see cref=\

Parameters
menuItemThe menu item associated with this render object.
guidUnique identifier for this render object.
parent階層内の親レンダーオブジェクト。このオブジェクトに親がない場合は nullIt will become.
insertIndexThe index into which this render object is inserted into the parent's child collection.
renderPropertyRendering properties that define the appearance and behavior of this object.
isPreviewこのレンダーオブジェクトがプレビューモードであるかどうかを示す値。true の場合、 Certain actions such as moving coordinates by the controller are disabled.
Parameters
isThumbnailA value indicating whether this render object is a thumbnail representation.

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

Apply the current mask

◆ 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, Yukar.Engine.TextPanel, and Yukar.Engine.WindowRenderer.

◆ 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)

Whether it covers a rectangle

Parameters
rectangleA rectangle to check whether it is covered
Returns
true covering false not covering

◆ CoverRectangle() [2/2]

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

Whether it covers a rectangle

Parameters
rectangleA rectangle to check whether it is covered
Returns
true covering false not covering

◆ 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.

◆ DebugDrawTouchCollider()

void Yukar.Engine.AbstractRenderObject.DebugDrawTouchCollider ( )
protected

◆ 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.

◆ GetAllParentRenderPositionOffset()

Vector2 Yukar.Engine.AbstractRenderObject.GetAllParentRenderPositionOffset ( )

Get the draw position offset for all parents

Returns
Drawing position offset for all parents

◆ 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.

◆ GetChildClipRectangle()

virtual Rectangle Yukar.Engine.AbstractRenderObject.GetChildClipRectangle ( )
virtual

◆ GetChildrenTextContentType()

List< TextContentType > Yukar.Engine.AbstractRenderObject.GetChildrenTextContentType ( )

get text content

Returns
text content

◆ GetClipAreaRectangle()

virtual Rectangle Yukar.Engine.AbstractRenderObject.GetClipAreaRectangle ( )
virtual

Areas that allow children to draw (including parental influence)

◆ 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, Yukar.Engine.RenderContainer, Yukar.Engine.WindowBaseRenderer, and Yukar.Engine.WindowRenderer.

◆ GetClipRectangleSolo()

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

Get the rectangle used for clipping (only by yourself)

Returns
Rectangle used for clipping, mask texture

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

◆ GetDrawable()

bool Yukar.Engine.AbstractRenderObject.GetDrawable ( )

Gets whether it is drawable or not

◆ GetFullScreenRectangle()

static Rectangle Yukar.Engine.AbstractRenderObject.GetFullScreenRectangle ( )
static

Get a rectangle covering the full screen

◆ 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.

◆ GetParentRenderPositionOffset()

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

Get the parent's drawing position offset

Returns
Parent drawing position offset

◆ GetPositionForPreview()

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

Get position in preview

Returns

Reimplemented in Yukar.Engine.MenuSubContainer.

◆ GetRectangle()

static Rectangle Yukar.Engine.AbstractRenderObject.GetRectangle ( RectangleF  rect)
static

RectangleF and Rectangle Conversion

◆ GetRectangleF()

static RectangleF Yukar.Engine.AbstractRenderObject.GetRectangleF ( Rectangle  rect)
static

Conversion of Rectangle and RectangleF

◆ GetRenderAlpha()

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

get transparency

Returns
Transparency

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

◆ GetRendererRectangle()

virtual Rectangle Yukar.Engine.AbstractRenderObject.GetRendererRectangle ( )
virtual

Areas you draw (Rectangle)

◆ GetRendererRectangleF()

virtual RectangleF Yukar.Engine.AbstractRenderObject.GetRendererRectangleF ( )
virtual

Areas you draw (RectangleF)

◆ GetRendererRectangleWithChildren()

virtual Rectangle Yukar.Engine.AbstractRenderObject.GetRendererRectangleWithChildren ( bool  useOffset = true)
virtual

Areas that you and your child draw (Rectangle)

Parameters
useOffsetWhether to include parent offsets

◆ GetRendererRectangleWithChildrenF()

virtual RectangleF Yukar.Engine.AbstractRenderObject.GetRendererRectangleWithChildrenF ( bool  useOffset = true)
virtual

Areas that you and your child draw (RectangleF)

Parameters
useOffsetWhether to include parent offsets

◆ GetRenderFlagHierarchyAnd()

RenderObjectFlags Yukar.Engine.AbstractRenderObject.GetRenderFlagHierarchyAnd ( )
protected

◆ GetRenderFlagHierarchyOr()

RenderObjectFlags Yukar.Engine.AbstractRenderObject.GetRenderFlagHierarchyOr ( )
protected

◆ GetRenderObjectsWithPositionAnchorTag() [1/3]

void Yukar.Engine.AbstractRenderObject.GetRenderObjectsWithPositionAnchorTag ( List< AbstractRenderObject result,
string  positionAnchorTag 
)
protected

◆ GetRenderObjectsWithPositionAnchorTag() [2/3]

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() [3/3]

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

◆ GetRenderObjectWithPositionAnchorTagCore()

AbstractRenderObject Yukar.Engine.AbstractRenderObject.GetRenderObjectWithPositionAnchorTagCore ( string  positionAnchorTag,
int?  menuIndex = null 
)
protected

◆ GetRenderPosition()

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

◆ GetRenderPositionWithoutParent()

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

Get own drawing position

Returns
drawing position

Reimplemented in Yukar.Engine.WindowRenderer.

◆ 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.

◆ GetTextContentType()

virtual void Yukar.Engine.AbstractRenderObject.GetTextContentType ( List< TextContentType 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, Yukar.Engine.RenderContainer, and Yukar.Engine.WindowRenderer.

◆ 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, Yukar.Engine.RenderContainer, and Yukar.Engine.WindowRenderer.

◆ 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

◆ IsClipChildren()

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

◆ IsClippingSelf()

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

◆ IsClippingWithParent()

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

When clipping a child, do you also consider the parent's clip?

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

◆ 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?

◆ IsUpdateSubContainerRenderStatus()

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

Update the drawing status of a subcontainer

Reimplemented in Yukar.Engine.MenuContainer.

◆ 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

◆ PopClip()

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

Unclipping

◆ 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.

◆ PushClip() [1/2]

static void Yukar.Engine.AbstractRenderObject.PushClip ( int  x,
int  y,
int  w,
int  h,
bool  isRecursive = false 
)
static

Convert to a rectangle that does not include parent offset

◆ PushClip() [2/2]

static bool Yukar.Engine.AbstractRenderObject.PushClip ( Rectangle  clipRect,
bool  isRecursive = false,
bool  isForced = false 
)
static

Convert to a rectangle that does not include parent offset

◆ PushFullScreenClip()

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

Convert to a rectangle that covers the entire screen

◆ 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

◆ RemoveParentOffsetF()

RectangleF Yukar.Engine.AbstractRenderObject.RemoveParentOffsetF ( RectangleF  rect)

Remove parent drawing position offset

Parameters
rectTarget rectangle
Returns
Rectangle with parent drawing position offset removed

◆ ResetChildLayoutProperties()

void Yukar.Engine.AbstractRenderObject.ResetChildLayoutProperties ( )
protected

Repopulate child layout information

◆ ResetFocusedTouchId()

void Yukar.Engine.AbstractRenderObject.ResetFocusedTouchId ( )
protected

◆ 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.

◆ UpdateTouchRectCollider()

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

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)

◆ controller

Layout.AbstractController Yukar.Engine.AbstractRenderObject.controller
protected

◆ disable

bool Yukar.Engine.AbstractRenderObject.disable
protected

◆ drawable

bool Yukar.Engine.AbstractRenderObject.drawable
protected

Toggle whether to draw or not depending on the action

◆ focusedTouchId

int Yukar.Engine.AbstractRenderObject.focusedTouchId = -1
protected

◆ 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

◆ renderPositionOffset

Vector2 Yukar.Engine.AbstractRenderObject.renderPositionOffset = Vector2.Zero

◆ scale

Vector2 Yukar.Engine.AbstractRenderObject.scale
protected

◆ touchRectCollider

TouchRectCollider Yukar.Engine.AbstractRenderObject.touchRectCollider
protected

◆ usePlayerPosition

bool Yukar.Engine.AbstractRenderObject.usePlayerPosition
protected

◆ UseRenderPositionOffset

bool Yukar.Engine.AbstractRenderObject.UseRenderPositionOffset = true

◆ useVariablePosition

bool Yukar.Engine.AbstractRenderObject.useVariablePosition
protected

◆ variableNames

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

◆ variableParserResult

GameContentParser.CachedResult Yukar.Engine.AbstractRenderObject.variableParserResult
protected

Property Documentation

◆ Bottom

int Yukar.Engine.AbstractRenderObject.Bottom
get

◆ CanUse

bool Yukar.Engine.AbstractRenderObject.CanUse
get

◆ CanUseWithParents

bool Yukar.Engine.AbstractRenderObject.CanUseWithParents
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

virtual bool Yukar.Engine.AbstractRenderObject.IsInOutAnimating
get

◆ IsVisible

bool Yukar.Engine.AbstractRenderObject.IsVisible
getset

◆ IsVisibleAndUsableWithParents

bool Yukar.Engine.AbstractRenderObject.IsVisibleAndUsableWithParents
get

◆ IsVisibleBySwitch

bool Yukar.Engine.AbstractRenderObject.IsVisibleBySwitch
get

◆ IsVisibleBySwitchWithParents

bool Yukar.Engine.AbstractRenderObject.IsVisibleBySwitchWithParents
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