![]() |
|
layout drawing class More...
Public Member Functions | |||
| LayoutDrawer (GameMain gameMain, Common.Catalog catalog, MenuSettings menuSettings, bool isPreview=false, bool isThumbnail=false) | |||
| Initialize the LayoutDrawer using menu settings. More... | |||
| LayoutDrawer (GameMain gameMain, Common.Catalog catalog, LayoutProperties.LayoutNode layoutNode, bool isPreview=false, bool isThumbnail=false) | |||
| Initialize the LayoutDrawer using a layout node. More... | |||
| bool | ContainsRenderContent () | ||
| whether it contains something to draw More... | |||
| List< AbstractRenderObject > | GetRenderObjects () | ||
| Get a list of drawing objects More... | |||
| MenuSettings.MenuItem | GetMenuItem (AbstractRenderObject obj) | ||
| Get the setting value of the specified drawing object More... | |||
| AbstractRenderObject | GetRednerObject (MenuSettings.MenuItem mitem) | ||
| Get the drawing object with the specified settings More... | |||
| void | SetGridProperty (bool drawGrid, int previewScreenWidth, int previewScreenHeight) | ||
| Set grid settings More... | |||
| void | ChangeAnimationState (SpriteRenderObject.AnimationState animationState) | ||
| Force an animation state change More... | |||
| void | Initialize (GameMain gameMain, Common.Catalog catalog, MenuSettings menuSettings, bool isPreview, bool isThumbnail) | ||
| initialize More... | |||
| void | Insert (GameMain gameMain, Common.Catalog catalog, MenuSettings.MenuItem addedMenuItem, MenuSettings.MenuItem parentMenuItem, int insertIndex, bool isPreview) | ||
| insert More... | |||
| void | Remove (MenuSettings.MenuItem removedMenuItem) | ||
| delete More... | |||
| void | Move (MenuSettings.MenuItem movedMenuItem, MenuSettings.MenuItem movedParentMenuItem, int insertIndex) | ||
| Moving More... | |||
| void | ResetVisible (MenuSettings.MenuItem menuItem) | ||
| Reset display state More... | |||
| void | Release () | ||
| Open More... | |||
| void | Update () | ||
| Update More... | |||
| void | UpdateTouchCollider (Vector2 addtionalContainerSize) | ||
| Update hitbox More... | |||
| void | Draw () | ||
| draw More... | |||
| void | ClearSkipDrawIndices () | ||
| Clear information to skip drawing More... | |||
| void | Show () | ||
| indicate More... | |||
| void | ShowContainer () | ||
| make the container visible More... | |||
| void | Hide (bool immediate=false) | ||
| You want to hide More... | |||
| void | HideContainer () | ||
| hide container More... | |||
| bool | IsLocked () | ||
| is it locked More... | |||
| void | Lock () | ||
| lock More... | |||
| void | UnLock () | ||
| to unlock More... | |||
| Vector2 | GetAutoSizeMargin (int index) | ||
| Get Auto Adjust Margins More... | |||
| bool | IsTouchingAnything (SharpKmyMath.Vector2 position) | ||
| are you touching something More... | |||
| bool | IsTouchingAnything (SharpKmyMath.Vector2 position, int index) | ||
| are you touching something More... | |||
| bool | HaveDecidedByTouch () | ||
| whether it is determined by touch More... | |||
| Tuple< bool, int > | ForceUpdateSubContainerTouch () | ||
| Force touch detection More... | |||
| void | CreateBattleContent () | ||
| Generate elements for battle More... | |||
| MenuSettings.MenuItem.ActionType | GetSelectAction () | ||
| Get selected action More... | |||
| MenuSettings.MenuItem | GetSelectMenuItem () | ||
| Get selected menu item More... | |||
| MenuSettings.MenuItem.ActionType | GetSelectAction (int index) | ||
| Get selected action More... | |||
| MenuSettings.MenuItem.ActionType | GetAction (int index) | ||
| get action More... | |||
| Tuple< MenuSettings.MenuItem.ActionType, AbstractRenderObject > | GetInputtingActionAndObject () | ||
| Gets the currently entered action and the object that performs that action. More... | |||
| bool | IsAnytingVisible () | ||
| is there anything displayed More... | |||
| bool | IsAnytingVisible (int index) | ||
is there anything displayed
| |||
| bool | IsAnytingInOutAnimating () | ||
| whether something is animated More... | |||
| bool | IsAnytingInOutAnimating (int index) | ||
whether something is animated
| |||
| bool | HasHideContainerOption () | ||
| Whether the selected container has a setting to hide the container when determined More... | |||
| bool | IsHideMyself () | ||
| Whether to hide the container when the menu container is determined More... | |||
| bool | ContainSpecialTextType (SpecialTextRenderer.SpecialTexts specialText, int index) | ||
| Whether the specified content contains special formatting More... | |||
| bool | ContainLayoutType (MenuSettings.MenuItem.LayoutType layoutType, int index) | ||
| Does it contain the specified layout type? More... | |||
| void | ConfigureContentProperty (int maximumContent) | ||
| Set maximum number of elements in menu container More... | |||
| void | ConfigureContentProperty (int maximumContent, int index) | ||
| Set maximum number of elements in menu container More... | |||
| void | ConfigureContentProperty (int maximumContent, int index, bool updateRenderPanelIndex) | ||
| Set maximum number of elements in menu container More... | |||
| void | ConfigureContentProperty (int maximumContent, bool updateRenderPanel, SpecialTextRenderer.SpecialTexts specialText) | ||
| Sets the maximum number of menu container elements that contain the specified special formatting More... | |||
| void | ConfigureMenuContainerContentProperty (int maximumContent, int menuContainerIndex) | ||
| Set maximum number of elements in menu container More... | |||
| void | UpdateGameContent (AbstractRenderObject.GameContent gameContent, bool skipBattleReplace=false) | ||
| Update game content More... | |||
| void | ResetSubMenuContainerRenderStatus () | ||
| Reset the drawing state of the subcontainer More... | |||
| void | ChangeSubMenuContainerRenderStatus (AbstractRenderObject.RenderStatus renderStatus, bool overrride, int menuContainerIndex) | ||
| Change the drawing state of a subcontainer More... | |||
| void | ChangeSubMenuContainerRenderStatus (AbstractRenderObject.RenderStatus renderStatus, bool overrride) | ||
| Change the drawing state of a subcontainer More... | |||
| void | ChangeResultVisible (AbstractRenderObject.GameContent gameContent) | ||
| Switch between displaying and hiding battle results More... | |||
| void | SkipContentRendering (bool skip) | ||
| Avoid drawing non-strings (container children are still drawn) More... | |||
| int | GetSelectIndex () | ||
| Get the index number of the selected menu container More... | |||
| int | GetSelectIndex (int menuContainerIndex) | ||
| Get the index number of the selected menu container More... | |||
| bool | IsUpdateSubContainerRenderStatus () | ||
| Update the drawing status of a subcontainer More... | |||
| void | SetSelectIndex (int index) | ||
| Change the selected index number More... | |||
| int | GetMenuPage () | ||
| Get page of menu container More... | |||
| void | SetSelectIndex (int index, int menuContainerIndex) | ||
| Change the selected index number More... | |||
| bool | IsSelectedFirstPage (int menuContainerIndex) | ||
| Are you selecting the first page? More... | |||
| bool | IsSelectedLastPage (int menuContainerIndex) | ||
| Are you selecting the last page? More... | |||
| bool | PressNextPage (int menuContainerIndex) | ||
| Did you enter a move to the next page? More... | |||
| bool | PressPreviousPage (int menuContainerIndex) | ||
| Did you enter a move to the previous page? More... | |||
| bool | MovedPage (int menuContainerIndex) | ||
| Did you move the page (need to call update first) More... | |||
| int | GetMaximumSelectIndex (int menuContainerIndex) | ||
| Get the maximum value of the selection index of the menu container More... | |||
| void | EnableSubContainer (bool enable, int subContainerIndex) | ||
| Toggle enablement of submenu container (if disabled, it will not be selected when moving the cursor) More... | |||
| void | EnableSubContainer (bool enable, int subContainerIndex, int menuContainerIndex) | ||
| Toggle enablement of submenu container (if disabled, it will not be selected when moving the cursor) More... | |||
| void | EnableSubContainerPageIndex (bool enable, int subContainerPageIndex, int menuContainerIndex) | ||
| Change whether the subcontainer of the specified page number can be selected More... | |||
| void | EnableLoopPage (bool enable) | ||
| Whether to loop the page movement of keystrokes in the menu container More... | |||
| void | SetSelectingLayout (Guid guid) | ||
| Make the object with the specified guid selected More... | |||
| void | EnableSelectAll (bool enableSelectAll) | ||
| select all More... | |||
| void | EnableSelectMulti (bool enableSelectMulti, int selectedCount) | ||
| Select multiple items from the beginning More... | |||
| void | ForceBlinkSubContainer (bool forceUseBlinker, int subContianerIndex, int menuContainerIndex) | ||
| Force submenu container blinker More... | |||
| Guid | GetSelectOpenLayoutGuid () | ||
| Get the guid of the selected open layout More... | |||
| Guid | GetLayoutStateGuid () | ||
| Get the guid of the selected open layout state (to open multiple menus) More... | |||
| void | SetLayoutStateGuid (Guid guid) | ||
| int | GetMenuContainerIndex (int renderObjectIndex) | ||
| Convert from index in RenderObjects to index in MenuContainer More... | |||
| void | ChangeFocusMenuContainer (bool forceSelected, int menuContainerIndex) | ||
| Change the focused menu container More... | |||
| bool | IsFocusedMenuContainer (int menuContainerIndex) | ||
| is it focused More... | |||
| void | EnableAutoInputUpdate (bool autoInputUpdate, int menuContainerIndex) | ||
| Change whether to automatically update input More... | |||
| void | GoNextSubContainer (int menuContainerIndex) | ||
| Select next subcontainer More... | |||
| void | GoNextSubPanel (AbstractRenderObject.NextInputTypes nextInputType, int menuContainerIndex) | ||
| Select next subcontainer More... | |||
| void | GoPreviousSubPanel (int menuContainerIndex) | ||
| Select previous subcontainer More... | |||
| int | GetFocusedMenuContainerIndex (bool findFromAllContainers=false) | ||
| Get the index number of the menu container that has focus More... | |||
| void | SetCursorVisible (bool state) | ||
| Change cursor visibility More... | |||
| Vector2 | GetTextScaledSize (int index) | ||
| get text size More... | |||
| float | GetTextScale (int index) | ||
| get text scale More... | |||
| TextDrawer | GetTextDrawer (int index) | ||
| get text drawing object More... | |||
| AbstractRenderObject | GetTextDrawerObject (int index, AbstractRenderObject.Events usage, List< AbstractRenderObject > items=null) | ||
| get text drawing object More... | |||
| void | EnableScrollText (bool enable, int index) | ||
| Enable text scrolling More... | |||
| bool | IsTextOutOfScrren (int index) | ||
| whether the text is off screen More... | |||
| void | UpdateSpecialRenderObject () | ||
| Update special formatting More... | |||
| void | ShowRenderNamePlate (int containerIndex, int index) | ||
| Show nameplate More... | |||
| void | HideRenderNamePlate (int containerIndex, int index) | ||
| Hide nameplate More... | |||
| void | ForceHideNamePlate (int index) | ||
| Force hide all nameplates More... | |||
| void | SetSliderValueAllowModification (int index, bool v) | ||
| Forcibly enable the selected slider value set (for variable operations) More... | |||
| void | ResetSliderValueFromMenuItem (int index) | ||
| Reset slider value from menu item setting value More... | |||
| float | GetSelectSliderValue () | ||
| Get the value of the selected slider More... | |||
| float | GetSliderValueWithIndex (int index) | ||
| Get slider value More... | |||
| float | GetSliderValueWithIndex (int index, int objectIndex) | ||
| Get slider value More... | |||
| float | GetSliderMamixmumValueWithIndex (int index) | ||
| Get maximum value of slider More... | |||
| float | GetSliderMamixmumValueWithIndex (int index, int objectIndex) | ||
| Get maximum value of slider More... | |||
| void | SetSliderValueWithIndex (float value, int index) | ||
| Change slider value More... | |||
| void | SetSliderValueWithIndex (float value, int index, int objectIndex) | ||
| Change slider value More... | |||
| int | GetSpinValueWithIndex (int index) | ||
| Get spin value More... | |||
| int | GetSpinValueWithIndex (int index, int objectIndex) | ||
| Get spin value More... | |||
| void | SetSpinValueWithIndex (int value, int index) | ||
| Change spin value More... | |||
| void | SetSpinValueWithIndex (int value, int index, int objectIndex) | ||
| Change spin value More... | |||
| void | ChangeMenuSubContainerAmount (int amount, Vector2 menuSubContainerSize) | ||
| Change the number of submenu containers More... | |||
| void | ChangeMenuSubContainerAmount (int amount, Vector2 menuSubContainerSize, int index) | ||
| Change the number of submenu containers More... | |||
| void | SkipDrawingWithTagPosition (AbstractRenderObject.TagPositions tagPosition, AbstractRenderObject.Events layoutEvent) | ||
| Skip drawing outside the specified tag position More... | |||
| int | GetIndexWithTagPosition (AbstractRenderObject.TagPositions tagPosition, AbstractRenderObject.Events layoutEvent) | ||
| Get the index of the specified tag position More... | |||
| void | SkipDrawingWithTagTelop (bool useBacground, bool useImage, bool isScrolling) | ||
| Change caption display More... | |||
| int | GetIndexWithTagTelop (AbstractRenderObject.TagTelop tagTelop) | ||
| Get the index that contains the telop tag More... | |||
| void | EnableMessageSprite (bool enable) | ||
| Show/hide message sprites More... | |||
| Vector2 | GetSnapPosition (Vector2 position) | ||
| Get position for snap More... | |||
| AbstractRenderObject | GetRenderObjectWithPositionAnchorTag (string positionAnchorTag, int index=-1) | ||
| Get an object with a special coordinate tag (return the first one found) More... | |||
| AbstractRenderObject | GetRenderObjectWithPositionAnchorTag (AbstractRenderObject.PositionAnchorTags positionAnchorTag, int index) | ||
| Get an object with a special coordinate tag (return the first one found) More... | |||
| AbstractRenderObject | GetRenderObjectWithPositionAnchorTag (string positionAnchorTag, int menuIndex, int index) | ||
| Get an object with a special coordinate tag (return the first one found) More... | |||
| AbstractRenderObject | GetRenderObjectWithPositionAnchorTag (AbstractRenderObject.PositionAnchorTags positionAnchorTag, int menuIndex, int index) | ||
| Get an object with a special coordinate tag (return the first one found) More... | |||
| List< AbstractRenderObject > | GetRenderObjectsWithPositionAnchorTag (string positionAnchorTag, int index) | ||
| Get all objects with a special coordinate tag More... | |||
| List< AbstractRenderObject > | GetRenderObjectsWithPositionAnchorTag (AbstractRenderObject.PositionAnchorTags positionAnchorTag, int index) | ||
| Get all objects with a special coordinate tag More... | |||
| List< AbstractRenderObject > | ParseNodes () | ||
| return all nodes More... | |||
| SpecialTextRenderer.SpecialTexts | GetMostMajorContent (int index) | ||
| Return the most content for all nodes More... | |||
Static Public Member Functions | |
| static void | ClearLastSelectedIndicies () |
| Clear the last selected index More... | |
Public Attributes | |
| string | variableName |
| string | selectingVariableName |
| bool | setVariableOneOrigin |
| bool | setContainerNumber |
| Func< float > | fov = () => 0.2f |
| Func< int > | maxLineNum = () => 3 |
| int | lineOffset = 0 |
| bool | rootVisibility = false |
| List< AbstractRenderObject > | renderObjects |
| List< MenuContainer > | menuContainers |
| MenuContainer | selectMenuContainer |
Static Public Attributes | |
| static Guid | extraGuid = Guid.Empty |
Properties | |
| int | RenderObjectsCount [get] |
| Get the number of currently rendered objects More... | |
| int | MenuContainersCount [get] |
| Get the number of currently available menu containers More... | |
| bool | ShouldDrawCollider [get, set] |
| Guid | Guid [get] |
layout drawing class
| Yukar.Engine.LayoutDrawer.LayoutDrawer | ( | GameMain | gameMain, |
| Common.Catalog | catalog, | ||
| MenuSettings | menuSettings, | ||
| bool | isPreview = false, |
||
| bool | isThumbnail = false |
||
| ) |
Initialize the LayoutDrawer using menu settings.
| gameMain | Game main object |
| catalog | Catalog Objects |
| menuSettings | Menu settings |
| isPreview | Preview mode or not |
| isThumbnail | Is it in thumbnail mode? |
| Yukar.Engine.LayoutDrawer.LayoutDrawer | ( | GameMain | gameMain, |
| Common.Catalog | catalog, | ||
| LayoutProperties.LayoutNode | layoutNode, | ||
| bool | isPreview = false, |
||
| bool | isThumbnail = false |
||
| ) |
Initialize the LayoutDrawer using a layout node.
| gameMain | Game main object |
| catalog | Catalog Objects |
| layoutNode | Layout node settings |
| isPreview | Preview mode or not |
| isThumbnail | Is it in thumbnail mode? |
| void Yukar.Engine.LayoutDrawer.ChangeAnimationState | ( | SpriteRenderObject.AnimationState | animationState | ) |
Force an animation state change
| animationState | the state of the animation to change to |
| void Yukar.Engine.LayoutDrawer.ChangeFocusMenuContainer | ( | bool | forceSelected, |
| int | menuContainerIndex | ||
| ) |
Change the focused menu container
| forceSelected | true to force selection false to select when focused |
| menuContainerIndex | Index number of the menu container to change |
| void Yukar.Engine.LayoutDrawer.ChangeMenuSubContainerAmount | ( | int | amount, |
| Vector2 | menuSubContainerSize | ||
| ) |
Change the number of submenu containers
| amount | Number of submenu containers |
| menuSubContainerSize | Submenu container size |
| void Yukar.Engine.LayoutDrawer.ChangeMenuSubContainerAmount | ( | int | amount, |
| Vector2 | menuSubContainerSize, | ||
| int | index | ||
| ) |
Change the number of submenu containers
| amount | Number of submenu containers |
| menuSubContainerSize | Submenu container size |
| index | the index number of the drawing object to change |
| void Yukar.Engine.LayoutDrawer.ChangeResultVisible | ( | AbstractRenderObject.GameContent | gameContent | ) |
Switch between displaying and hiding battle results
| gameContent | Game content |
| void Yukar.Engine.LayoutDrawer.ChangeSubMenuContainerRenderStatus | ( | AbstractRenderObject.RenderStatus | renderStatus, |
| bool | overrride | ||
| ) |
Change the drawing state of a subcontainer
| renderStatus | Changes |
| overrride | overwrite |
| void Yukar.Engine.LayoutDrawer.ChangeSubMenuContainerRenderStatus | ( | AbstractRenderObject.RenderStatus | renderStatus, |
| bool | overrride, | ||
| int | menuContainerIndex | ||
| ) |
Change the drawing state of a subcontainer
| renderStatus | Changes |
| overrride | overwrite |
|
static |
Clear the last selected index
| void Yukar.Engine.LayoutDrawer.ClearSkipDrawIndices | ( | ) |
Clear information to skip drawing
| void Yukar.Engine.LayoutDrawer.ConfigureContentProperty | ( | int | maximumContent | ) |
Set maximum number of elements in menu container
| maximumContent | maximum number of elements |
| void Yukar.Engine.LayoutDrawer.ConfigureContentProperty | ( | int | maximumContent, |
| bool | updateRenderPanel, | ||
| SpecialTextRenderer.SpecialTexts | specialText | ||
| ) |
Sets the maximum number of menu container elements that contain the specified special formatting
| maximumContent | maximum number of elements |
| updateRenderPanel | whether to update the drawing panel index number |
| specialText | Special format you want to set |
| void Yukar.Engine.LayoutDrawer.ConfigureContentProperty | ( | int | maximumContent, |
| int | index | ||
| ) |
Set maximum number of elements in menu container
| maximumContent | maximum number of elements |
| index | the index number of the drawing object to change |
| void Yukar.Engine.LayoutDrawer.ConfigureContentProperty | ( | int | maximumContent, |
| int | index, | ||
| bool | updateRenderPanelIndex | ||
| ) |
Set maximum number of elements in menu container
| maximumContent | maximum number of elements |
| index | the index number of the drawing object to change |
| updateRenderPanelIndex | whether to update the drawing panel index number |
| void Yukar.Engine.LayoutDrawer.ConfigureMenuContainerContentProperty | ( | int | maximumContent, |
| int | menuContainerIndex | ||
| ) |
Set maximum number of elements in menu container
| maximumContent | maximum number of elements |
| menuContainerIndex | Index number of the menu container to change |
| bool Yukar.Engine.LayoutDrawer.ContainLayoutType | ( | MenuSettings.MenuItem.LayoutType | layoutType, |
| int | index | ||
| ) |
Does it contain the specified layout type?
| layoutType | The type of layout you want to check for inclusion |
| index | the index number of the drawing object to check |
| bool Yukar.Engine.LayoutDrawer.ContainSpecialTextType | ( | SpecialTextRenderer.SpecialTexts | specialText, |
| int | index | ||
| ) |
Whether the specified content contains special formatting
| specialText | The type of special format you want to check |
| index | the index number of the drawing object to check |
| bool Yukar.Engine.LayoutDrawer.ContainsRenderContent | ( | ) |
whether it contains something to draw
| void Yukar.Engine.LayoutDrawer.CreateBattleContent | ( | ) |
Generate elements for battle
| void Yukar.Engine.LayoutDrawer.Draw | ( | ) |
draw
| void Yukar.Engine.LayoutDrawer.EnableAutoInputUpdate | ( | bool | autoInputUpdate, |
| int | menuContainerIndex | ||
| ) |
Change whether to automatically update input
| autoInputUpdate | true Automatically update false Do not automatically update |
| menuContainerIndex |
| void Yukar.Engine.LayoutDrawer.EnableLoopPage | ( | bool | enable | ) |
Whether to loop the page movement of keystrokes in the menu container
| enable | true loop false no loop |
| void Yukar.Engine.LayoutDrawer.EnableMessageSprite | ( | bool | enable | ) |
Show/hide message sprites
| enable | true show false hide |
| void Yukar.Engine.LayoutDrawer.EnableScrollText | ( | bool | enable, |
| int | index | ||
| ) |
Enable text scrolling
| enable | true start scrolling false stop scrolling |
| index | the index number of the drawing object whose scrolling is to be changed |
| void Yukar.Engine.LayoutDrawer.EnableSelectAll | ( | bool | enableSelectAll | ) |
select all
| enableSelectAll | true select all false normal selection |
| void Yukar.Engine.LayoutDrawer.EnableSelectMulti | ( | bool | enableSelectMulti, |
| int | selectedCount | ||
| ) |
Select multiple items from the beginning
| enableSelectMulti | true Select multiple items false Normal selection |
| selectedCount | number to select |
| void Yukar.Engine.LayoutDrawer.EnableSubContainer | ( | bool | enable, |
| int | subContainerIndex | ||
| ) |
Toggle enablement of submenu container (if disabled, it will not be selected when moving the cursor)
| enable | Whether to enable true enabled false disabled |
| subContainerIndex | Index of submenu container to change |
| void Yukar.Engine.LayoutDrawer.EnableSubContainer | ( | bool | enable, |
| int | subContainerIndex, | ||
| int | menuContainerIndex | ||
| ) |
Toggle enablement of submenu container (if disabled, it will not be selected when moving the cursor)
| enable | Whether to enable true enabled false disabled |
| subContainerIndex | Index number of the submenu container to change |
| menuContainerIndex | Index number of the menu container to change |
| void Yukar.Engine.LayoutDrawer.EnableSubContainerPageIndex | ( | bool | enable, |
| int | subContainerPageIndex, | ||
| int | menuContainerIndex | ||
| ) |
Change whether the subcontainer of the specified page number can be selected
| enable | true selectable false not selectable |
| subContainerPageIndex | The page number of the subcontainer you want to change |
| menuContainerIndex | Index number of the menu container to change |
| void Yukar.Engine.LayoutDrawer.ForceBlinkSubContainer | ( | bool | forceUseBlinker, |
| int | subContianerIndex, | ||
| int | menuContainerIndex | ||
| ) |
Force submenu container blinker
| forceUseBlinker | Force blinker or true to force false to not force |
| subContianerIndex | the index number of the subcontainer to modify |
| menuContainerIndex | Index number of the menu container to change |
| void Yukar.Engine.LayoutDrawer.ForceHideNamePlate | ( | int | index | ) |
Force hide all nameplates
| index | Index number of drawing object to hide nameplate |
| Tuple< bool, int > Yukar.Engine.LayoutDrawer.ForceUpdateSubContainerTouch | ( | ) |
Force touch detection
| MenuSettings.MenuItem.ActionType Yukar.Engine.LayoutDrawer.GetAction | ( | int | index | ) |
get action
| index | Index number of the submenu container you want to get |
| Vector2 Yukar.Engine.LayoutDrawer.GetAutoSizeMargin | ( | int | index | ) |
Get Auto Adjust Margins
| index | Index number of the object for which you want to get the auto-fit margins |
| int Yukar.Engine.LayoutDrawer.GetFocusedMenuContainerIndex | ( | bool | findFromAllContainers = false | ) |
Get the index number of the menu container that has focus
| int Yukar.Engine.LayoutDrawer.GetIndexWithTagPosition | ( | AbstractRenderObject.TagPositions | tagPosition, |
| AbstractRenderObject.Events | layoutEvent | ||
| ) |
Get the index of the specified tag position
| tagPosition | the position where you want to get the index |
| int Yukar.Engine.LayoutDrawer.GetIndexWithTagTelop | ( | AbstractRenderObject.TagTelop | tagTelop | ) |
Get the index that contains the telop tag
| tagTelop | Telop tags |
| Tuple< MenuSettings.MenuItem.ActionType, AbstractRenderObject > Yukar.Engine.LayoutDrawer.GetInputtingActionAndObject | ( | ) |
Gets the currently entered action and the object that performs that action.
| Guid Yukar.Engine.LayoutDrawer.GetLayoutStateGuid | ( | ) |
Get the guid of the selected open layout state (to open multiple menus)
| int Yukar.Engine.LayoutDrawer.GetMaximumSelectIndex | ( | int | menuContainerIndex | ) |
Get the maximum value of the selection index of the menu container
| menuContainerIndex | Index number of the menu container to get |
| int Yukar.Engine.LayoutDrawer.GetMenuContainerIndex | ( | int | renderObjectIndex | ) |
| MenuSettings.MenuItem Yukar.Engine.LayoutDrawer.GetMenuItem | ( | AbstractRenderObject | obj | ) |
Get the setting value of the specified drawing object
| obj | the drawing object you want to get |
| int Yukar.Engine.LayoutDrawer.GetMenuPage | ( | ) |
Get page of menu container
| SpecialTextRenderer.SpecialTexts Yukar.Engine.LayoutDrawer.GetMostMajorContent | ( | int | index | ) |
Return the most content for all nodes
| AbstractRenderObject Yukar.Engine.LayoutDrawer.GetRednerObject | ( | MenuSettings.MenuItem | mitem | ) |
Get the drawing object with the specified settings
| mitem | The setting value of the drawing object you want to get |
| List< AbstractRenderObject > Yukar.Engine.LayoutDrawer.GetRenderObjects | ( | ) |
Get a list of drawing objects
| List< AbstractRenderObject > Yukar.Engine.LayoutDrawer.GetRenderObjectsWithPositionAnchorTag | ( | AbstractRenderObject.PositionAnchorTags | positionAnchorTag, |
| int | index | ||
| ) |
Get all objects with a special coordinate tag
| positionAnchorTag | Special coordinate tag to get |
| index | the index number of the drawing object to get |
| List< AbstractRenderObject > Yukar.Engine.LayoutDrawer.GetRenderObjectsWithPositionAnchorTag | ( | string | positionAnchorTag, |
| int | index | ||
| ) |
Get all objects with a special coordinate tag
| positionAnchorTag | Special coordinate tag to get |
| index | the index number of the drawing object to get |
| AbstractRenderObject Yukar.Engine.LayoutDrawer.GetRenderObjectWithPositionAnchorTag | ( | AbstractRenderObject.PositionAnchorTags | positionAnchorTag, |
| int | index | ||
| ) |
Get an object with a special coordinate tag (return the first one found)
| positionAnchorTag | Special coordinate tag to get |
| index | the index number of the drawing object to get |
| AbstractRenderObject Yukar.Engine.LayoutDrawer.GetRenderObjectWithPositionAnchorTag | ( | AbstractRenderObject.PositionAnchorTags | positionAnchorTag, |
| int | menuIndex, | ||
| int | index | ||
| ) |
Get an object with a special coordinate tag (return the first one found)
| positionAnchorTag | Special coordinate tag to get |
| menuIndex | Container management number to acquire |
| index | the index number of the drawing object to get |
| AbstractRenderObject Yukar.Engine.LayoutDrawer.GetRenderObjectWithPositionAnchorTag | ( | string | positionAnchorTag, |
| int | index = -1 |
||
| ) |
Get an object with a special coordinate tag (return the first one found)
| positionAnchorTag | Special coordinate tag to get |
| index | the index number of the drawing object to get |
| AbstractRenderObject Yukar.Engine.LayoutDrawer.GetRenderObjectWithPositionAnchorTag | ( | string | positionAnchorTag, |
| int | menuIndex, | ||
| int | index | ||
| ) |
Get an object with a special coordinate tag (return the first one found)
| positionAnchorTag | Special coordinate tag to get |
| menuIndex | Container management number to acquire |
| index | the index number of the drawing object to get |
| MenuSettings.MenuItem.ActionType Yukar.Engine.LayoutDrawer.GetSelectAction | ( | ) |
Get selected action
| MenuSettings.MenuItem.ActionType Yukar.Engine.LayoutDrawer.GetSelectAction | ( | int | index | ) |
Get selected action
| index | the index number of the drawing object you want to get |
| int Yukar.Engine.LayoutDrawer.GetSelectIndex | ( | ) |
Get the index number of the selected menu container
| int Yukar.Engine.LayoutDrawer.GetSelectIndex | ( | int | menuContainerIndex | ) |
Get the index number of the selected menu container
| menuContainerIndex | Index number of the menu container you want to get |
| MenuSettings.MenuItem Yukar.Engine.LayoutDrawer.GetSelectMenuItem | ( | ) |
Get selected menu item
| Guid Yukar.Engine.LayoutDrawer.GetSelectOpenLayoutGuid | ( | ) |
Get the guid of the selected open layout
| float Yukar.Engine.LayoutDrawer.GetSelectSliderValue | ( | ) |
Get the value of the selected slider
| float Yukar.Engine.LayoutDrawer.GetSliderMamixmumValueWithIndex | ( | int | index | ) |
Get maximum value of slider
| index | The index number of the subcontainer of the slider you want to get |
| float Yukar.Engine.LayoutDrawer.GetSliderMamixmumValueWithIndex | ( | int | index, |
| int | objectIndex | ||
| ) |
Get maximum value of slider
| index | The index number of the subcontainer of the slider you want to get |
| objectIndex | Index number of the slider drawing object you want to get |
| float Yukar.Engine.LayoutDrawer.GetSliderValueWithIndex | ( | int | index | ) |
Get slider value
| index | The index number of the subcontainer of the slider you want to get |
| float Yukar.Engine.LayoutDrawer.GetSliderValueWithIndex | ( | int | index, |
| int | objectIndex | ||
| ) |
Get slider value
| index | The index number of the subcontainer of the slider you want to get |
| objectIndex | Index number of the slider drawing object you want to get |
| Vector2 Yukar.Engine.LayoutDrawer.GetSnapPosition | ( | Vector2 | position | ) |
Get position for snap
| position | Position before snap |
| int Yukar.Engine.LayoutDrawer.GetSpinValueWithIndex | ( | int | index | ) |
Get spin value
| index | The index number of the subcontainer of the spin you want to get |
| int Yukar.Engine.LayoutDrawer.GetSpinValueWithIndex | ( | int | index, |
| int | objectIndex | ||
| ) |
Get spin value
| index | The index number of the subcontainer of the spin you want to get |
| objectIndex | Index number of the spin drawing object you want to obtain |
| TextDrawer Yukar.Engine.LayoutDrawer.GetTextDrawer | ( | int | index | ) |
get text drawing object
| index | The index number of the drawing object for which you want to get the text drawing object |
| AbstractRenderObject Yukar.Engine.LayoutDrawer.GetTextDrawerObject | ( | int | index, |
| AbstractRenderObject.Events | usage, | ||
| List< AbstractRenderObject > | items = null |
||
| ) |
get text drawing object
| index | The index number of the drawing object for which you want to get the text drawing object |
| float Yukar.Engine.LayoutDrawer.GetTextScale | ( | int | index | ) |
get text scale
| index | The index number of the drawing object for which you want to get the scale of the text |
| Vector2 Yukar.Engine.LayoutDrawer.GetTextScaledSize | ( | int | index | ) |
get text size
| index | Index number of the drawing object for which you want to get the size of the text |
| void Yukar.Engine.LayoutDrawer.GoNextSubContainer | ( | int | menuContainerIndex | ) |
Select next subcontainer
| menuContainerIndex | Index number of the menu container to change |
| void Yukar.Engine.LayoutDrawer.GoNextSubPanel | ( | AbstractRenderObject.NextInputTypes | nextInputType, |
| int | menuContainerIndex | ||
| ) |
Select next subcontainer
| nextInputType | Input type |
| menuContainerIndex | Index number of the menu container to change |
| void Yukar.Engine.LayoutDrawer.GoPreviousSubPanel | ( | int | menuContainerIndex | ) |
Select previous subcontainer
| menuContainerIndex | Index number of the menu container to change |
| bool Yukar.Engine.LayoutDrawer.HasHideContainerOption | ( | ) |
Whether the selected container has a setting to hide the container when determined
| bool Yukar.Engine.LayoutDrawer.HaveDecidedByTouch | ( | ) |
whether it is determined by touch
| void Yukar.Engine.LayoutDrawer.Hide | ( | bool | immediate = false | ) |
You want to hide
| immediate | Whether or not to perform erase animation. |
| void Yukar.Engine.LayoutDrawer.HideContainer | ( | ) |
hide container
| void Yukar.Engine.LayoutDrawer.HideRenderNamePlate | ( | int | containerIndex, |
| int | index | ||
| ) |
Hide nameplate
| containerIndex | Container index number on nameplate |
| index | the index number of the drawing object to hide |
| void Yukar.Engine.LayoutDrawer.Initialize | ( | GameMain | gameMain, |
| Common.Catalog | catalog, | ||
| MenuSettings | menuSettings, | ||
| bool | isPreview, | ||
| bool | isThumbnail | ||
| ) |
initialize
| gameMain | game main |
| catalog | catalog |
| menuSettings | List of setting values to read |
| isPreview | preview or not |
| isThumbnail | Thumbnail or not? |
| void Yukar.Engine.LayoutDrawer.Insert | ( | GameMain | gameMain, |
| Common.Catalog | catalog, | ||
| MenuSettings.MenuItem | addedMenuItem, | ||
| MenuSettings.MenuItem | parentMenuItem, | ||
| int | insertIndex, | ||
| bool | isPreview | ||
| ) |
insert
| gameMain | game main |
| catalog | catalog |
| addedMenuItem | Setting the layout to insert |
| parentMenuItem | Parent layout settings |
| insertIndex | index number to insert |
| isPreview | preview or not |
| bool Yukar.Engine.LayoutDrawer.IsAnytingInOutAnimating | ( | ) |
whether something is animated
| bool Yukar.Engine.LayoutDrawer.IsAnytingInOutAnimating | ( | int | index | ) |
whether something is animated
| index | the index number of the drawing object to check |
| bool Yukar.Engine.LayoutDrawer.IsAnytingVisible | ( | ) |
is there anything displayed
| bool Yukar.Engine.LayoutDrawer.IsAnytingVisible | ( | int | index | ) |
is there anything displayed
| index | the index number of the drawing object to check |
| bool Yukar.Engine.LayoutDrawer.IsFocusedMenuContainer | ( | int | menuContainerIndex | ) |
is it focused
| menuContainerIndex | The index number of the menu container to check |
| bool Yukar.Engine.LayoutDrawer.IsHideMyself | ( | ) |
Whether to hide the container when the menu container is determined
| bool Yukar.Engine.LayoutDrawer.IsLocked | ( | ) |
is it locked
| bool Yukar.Engine.LayoutDrawer.IsSelectedFirstPage | ( | int | menuContainerIndex | ) |
Are you selecting the first page?
| menuContainerIndex | The index number of the menu container to check |
| bool Yukar.Engine.LayoutDrawer.IsSelectedLastPage | ( | int | menuContainerIndex | ) |
Are you selecting the last page?
| menuContainerIndex | The index number of the menu container to check |
| bool Yukar.Engine.LayoutDrawer.IsTextOutOfScrren | ( | int | index | ) |
whether the text is off screen
| index | The index number of the drawing object to check if the text is offscreen |
| bool Yukar.Engine.LayoutDrawer.IsTouchingAnything | ( | SharpKmyMath.Vector2 | position | ) |
are you touching something
| position | position of touch |
| bool Yukar.Engine.LayoutDrawer.IsTouchingAnything | ( | SharpKmyMath.Vector2 | position, |
| int | index | ||
| ) |
are you touching something
| position | position of touch |
| index | The index number of the drawing object to check for touching |
| bool Yukar.Engine.LayoutDrawer.IsUpdateSubContainerRenderStatus | ( | ) |
Update the drawing status of a subcontainer
| void Yukar.Engine.LayoutDrawer.Lock | ( | ) |
lock
| void Yukar.Engine.LayoutDrawer.Move | ( | MenuSettings.MenuItem | movedMenuItem, |
| MenuSettings.MenuItem | movedParentMenuItem, | ||
| int | insertIndex | ||
| ) |
Moving
| movedMenuItem | Setting the layout to move |
| movedParentMenuItem | Setting the parent of the layout to be moved |
| insertIndex | Destination index number |
| bool Yukar.Engine.LayoutDrawer.MovedPage | ( | int | menuContainerIndex | ) |
Did you move the page (need to call update first)
| menuContainerIndex | The index number of the menu container to check |
| List< AbstractRenderObject > Yukar.Engine.LayoutDrawer.ParseNodes | ( | ) |
return all nodes
| bool Yukar.Engine.LayoutDrawer.PressNextPage | ( | int | menuContainerIndex | ) |
Did you enter a move to the next page?
| menuContainerIndex | The index number of the menu container to check |
| bool Yukar.Engine.LayoutDrawer.PressPreviousPage | ( | int | menuContainerIndex | ) |
Did you enter a move to the previous page?
| menuContainerIndex | The index number of the menu container to check |
| void Yukar.Engine.LayoutDrawer.Release | ( | ) |
Open
| void Yukar.Engine.LayoutDrawer.Remove | ( | MenuSettings.MenuItem | removedMenuItem | ) |
delete
| removedMenuItem | Setting the layout to be deleted |
| void Yukar.Engine.LayoutDrawer.ResetSliderValueFromMenuItem | ( | int | index | ) |
Reset slider value from menu item setting value
| index | Index number of the slider to reset |
| void Yukar.Engine.LayoutDrawer.ResetSubMenuContainerRenderStatus | ( | ) |
Reset the drawing state of the subcontainer
| void Yukar.Engine.LayoutDrawer.ResetVisible | ( | MenuSettings.MenuItem | menuItem | ) |
Reset display state
| menuItem | Setting the layout to reset the display state |
| void Yukar.Engine.LayoutDrawer.SetCursorVisible | ( | bool | state | ) |
Change cursor visibility
| state | true show false do not show |
| void Yukar.Engine.LayoutDrawer.SetGridProperty | ( | bool | drawGrid, |
| int | previewScreenWidth, | ||
| int | previewScreenHeight | ||
| ) |
Set grid settings
| drawGrid | whether to draw the grid |
| previewScreenWidth | screen width of preview screen |
| previewScreenHeight | screen height of preview screen |
| void Yukar.Engine.LayoutDrawer.SetLayoutStateGuid | ( | Guid | guid | ) |
| void Yukar.Engine.LayoutDrawer.SetSelectIndex | ( | int | index | ) |
Change the selected index number
| index | Index number to change |
| void Yukar.Engine.LayoutDrawer.SetSelectIndex | ( | int | index, |
| int | menuContainerIndex | ||
| ) |
Change the selected index number
| index | Index number to change |
| menuContainerIndex | Index number of the menu container to change |
| void Yukar.Engine.LayoutDrawer.SetSelectingLayout | ( | Guid | guid | ) |
Make the object with the specified guid selected
| guid | the guid of the object you want to select |
| void Yukar.Engine.LayoutDrawer.SetSliderValueAllowModification | ( | int | index, |
| bool | v | ||
| ) |
Forcibly enable the selected slider value set (for variable operations)
| index | |
| v |
| void Yukar.Engine.LayoutDrawer.SetSliderValueWithIndex | ( | float | value, |
| int | index | ||
| ) |
Change slider value
| value | Value to set |
| index | The index number of the subcontainer of the slider whose value you want to change |
| void Yukar.Engine.LayoutDrawer.SetSliderValueWithIndex | ( | float | value, |
| int | index, | ||
| int | objectIndex | ||
| ) |
Change slider value
| value | Value to set |
| index | The index number of the subcontainer of the slider whose value you want to change |
| objectIndex | Index number of the slider drawing object whose value you want to change |
| void Yukar.Engine.LayoutDrawer.SetSpinValueWithIndex | ( | int | value, |
| int | index | ||
| ) |
Change spin value
| value | Value to set |
| index | The index number of the subcontainer of the spin you want to set |
| void Yukar.Engine.LayoutDrawer.SetSpinValueWithIndex | ( | int | value, |
| int | index, | ||
| int | objectIndex | ||
| ) |
Change spin value
| value | Value to set |
| index | The index number of the subcontainer of the spin you want to set |
| objectIndex | Index number of the spin drawing object you want to obtain |
| void Yukar.Engine.LayoutDrawer.Show | ( | ) |
indicate
| void Yukar.Engine.LayoutDrawer.ShowContainer | ( | ) |
make the container visible
| void Yukar.Engine.LayoutDrawer.ShowRenderNamePlate | ( | int | containerIndex, |
| int | index | ||
| ) |
Show nameplate
| containerIndex | Container index number on nameplate |
| index | the index number of the drawing object to display |
| void Yukar.Engine.LayoutDrawer.SkipContentRendering | ( | bool | skip | ) |
Avoid drawing non-strings (container children are still drawn)
| skip | true Do not draw the container false Draw the container |
| void Yukar.Engine.LayoutDrawer.SkipDrawingWithTagPosition | ( | AbstractRenderObject.TagPositions | tagPosition, |
| AbstractRenderObject.Events | layoutEvent | ||
| ) |
Skip drawing outside the specified tag position
| tagPosition | the position you want to display |
| layoutEvent | layout event |
| void Yukar.Engine.LayoutDrawer.SkipDrawingWithTagTelop | ( | bool | useBacground, |
| bool | useImage, | ||
| bool | isScrolling | ||
| ) |
Change caption display
| useBacground | use background |
| isScrolling | do you scroll |
| void Yukar.Engine.LayoutDrawer.UnLock | ( | ) |
to unlock
| void Yukar.Engine.LayoutDrawer.Update | ( | ) |
Update
| void Yukar.Engine.LayoutDrawer.UpdateGameContent | ( | AbstractRenderObject.GameContent | gameContent, |
| bool | skipBattleReplace = false |
||
| ) |
Update game content
| gameContent | Game content |
| skipBattleReplace | Skip processing for battle or true Skip false Do not skip |
| void Yukar.Engine.LayoutDrawer.UpdateSpecialRenderObject | ( | ) |
Update special formatting
| void Yukar.Engine.LayoutDrawer.UpdateTouchCollider | ( | Vector2 | addtionalContainerSize | ) |
Update hitbox
| addtionalContainerSize | Additional size of container when previewing |
|
static |
| Func<float> Yukar.Engine.LayoutDrawer.fov = () => 0.2f |
| int Yukar.Engine.LayoutDrawer.lineOffset = 0 |
| Func<int> Yukar.Engine.LayoutDrawer.maxLineNum = () => 3 |
| List<MenuContainer> Yukar.Engine.LayoutDrawer.menuContainers |
| List<AbstractRenderObject> Yukar.Engine.LayoutDrawer.renderObjects |
| bool Yukar.Engine.LayoutDrawer.rootVisibility = false |
| string Yukar.Engine.LayoutDrawer.selectingVariableName |
| MenuContainer Yukar.Engine.LayoutDrawer.selectMenuContainer |
| bool Yukar.Engine.LayoutDrawer.setContainerNumber |
| bool Yukar.Engine.LayoutDrawer.setVariableOneOrigin |
| string Yukar.Engine.LayoutDrawer.variableName |
|
get |
|
get |
Get the number of currently available menu containers
|
get |
Get the number of currently rendered objects
|
getset |