API Reference
On this page
Public Member Functions | |
| virtual ::std::unique_ptr<::UIComponent > | clone (::UIControl &cloneOwner) const |
| virtual void | reset () |
| virtual void | render (::UIRenderContext &context) |
| virtual void | updateUI (::UIMeasureStrategy const &uiMeasureStrategy) |
| virtual::std::string const & | getTextToSpeechComponentValue () const |
| MCAPI | TextComponent (::UIControl &owner, ::Bedrock::NotNullNonOwnerPtr<::FontRepository const > fontRepository) |
| MCAPI int | _getCaretPosition () const |
| MCAPI::std::string const & | _getMeasuredText (::UIRenderContext &context) |
| MCAPI::std::string | calculateUpdatedText () |
| MCAPI void | setFontType (::std::string const &fontType) |
| MCAPI void | setTextTTS (::std::string const &label) |
| MCAPI void * | $ctor (::UIControl &owner, ::Bedrock::NotNullNonOwnerPtr<::FontRepository const > fontRepository) |
| MCAPI ::std::unique_ptr<::UIComponent > | $clone (::UIControl &cloneOwner) const |
| MCAPI void | $reset () |
| MCAPI void | $render (::UIRenderContext &context) |
| MCAPI void | $updateUI (::UIMeasureStrategy const &uiMeasureStrategy) |
| MCAPI::std::string const & | $getTextToSpeechComponentValue () const |
| virtual bool | isRenderableComponent () const |
| MCAPI void | _updateLayoutSize () |
| MCAPI bool | $isRenderableComponent () const |
| virtual::ComponentReceiveActionType | receive (::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent) |
| virtual::ComponentReceiveActionType | receive (::ScreenEvent const &screenEvent) |
| virtual void | onNotifyChildAdded () |
| virtual void | onNotifyChildRemoved () |
| virtual void | onRemoved () |
| virtual void | onAdded () |
| virtual void | onVisibilityChanged (bool visible) |
| virtual void | onEnabledChanged (bool enabled) |
| virtual bool | isCustomFrameUpdateComponent () const |
| virtual bool | onLayoutChange () |
| virtual void | reload (::UIComponent const &rhs) |
| MCAPI::ComponentReceiveActionType | $receive (::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent) |
| MCAPI::ComponentReceiveActionType | $receive (::ScreenEvent const &screenEvent) |
| MCAPI void | $onNotifyChildAdded () |
| MCAPI void | $onNotifyChildRemoved () |
| MCAPI void | $onRemoved () |
| MCAPI void | $onAdded () |
| MCAPI void | $onVisibilityChanged (bool visible) |
| MCAPI void | $onEnabledChanged (bool enabled) |
| MCAPI bool | $isCustomFrameUpdateComponent () const |
| MCAPI bool | $onLayoutChange () |
| MCAPI void | $reload (::UIComponent const &rhs) |
Static Public Member Functions | |
| static MCAPI ::HashedString const & | getUIMaterialName (::UIMaterialType type) |
Public Attributes | |
| ::ll::TypedStorage< 8, 80, ::FontHandle > | mFontHandle |
| ::ll::TypedStorage< 8, 80, ::FontHandle > | mPrimaryFontHandle |
| ::ll::TypedStorage< 8, 80, ::FontHandle > | mBackupFontHandle |
| ::ll::TypedStorage< 4, 4, float > | mTextOffset |
| ::ll::TypedStorage< 4, 16, ::mce::Color > | mColor |
| ::ll::TypedStorage< 4, 4, float > | mLockedAlpha |
| ::ll::TypedStorage< 4, 16, ::mce::Color > | mLockedColor |
| ::ll::TypedStorage< 4, 4, ::ui::FontSize > | mFontSize |
| ::ll::TypedStorage< 4, 4, float > | mFontScaleFactor |
| ::ll::TypedStorage< 4, 4, float > | mLinePadding |
| ::ll::TypedStorage< 4, 4, ::ui::TextAlignment > | mAlignment |
| ::ll::TypedStorage< 8, 32, ::std::string > | mLabel |
| ::ll::TypedStorage< 8, 32, ::std::string > | mLabelTTS |
| ::ll::TypedStorage< 4, 4, float > | mCurrentTime |
| ::ll::TypedStorage< 4, 4, int > | mLastNumChanges |
| ::ll::TypedStorage< 8, 8, uint64 > | mLastTextHash |
| ::ll::TypedStorage< 8, 8, uint64 > | mLastFilteredTextHash |
| ::ll::TypedStorage< 8, 32, ::std::string > | mFilteredText |
| ::ll::TypedStorage< 8, 32, ::std::string > | mMeasuredText |
| ::ll::TypedStorage< 8, 32, ::std::string > | mRenderTextScratch |
| ::ll::TypedStorage< 8, 32, ::std::string > | mCachedText |
| ::ll::TypedStorage< 8, 32, ::std::string > | mLOCCachedText |
| ::ll::TypedStorage< 8, 32, ::std::string > | mCachedLangCode |
| ::ll::TypedStorage< 8, 32, ::std::string > | mCachedFontSources |
| ::ll::TypedStorage< 8, 32, ::std::string > | mCachedTextTTS |
| ::ll::TypedStorage< 8, 24, ::std::vector< int > > | mCaretOffsets |
| ::ll::TypedStorage< 4, 4, float > | mCaretHeightOffset |
| ::ll::TypedStorage< 4, 4, float > | mLineHeight |
| ::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > | mNotifyControlsOnEllipses |
| ::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::FontRepository const > > | mFontRepository |
| ::ll::TypedStorage< 4, 12, ::std::optional<::glm::vec2 > > | mLastClickRelativePosition |
| bool | mShadow: 1 |
| bool | mShouldRenderCaret: 1 |
| bool | mLocalize: 1 |
| bool | mCaretBlinkVisible: 1 |
| bool | mHideHyphen: 1 |
| bool | mEnableProfanityFilter: 1 |
| bool | mProfanityFilterToggleState: 1 |
| bool | mBackupFontHandleOverridden: 1 |
| bool | mNotifyEllipsesOnSiblings: 1 |
| bool | mCachedTextDirty: 1 |
| ::ll::TypedStorage< 1, 1, bool > | mSupportsLayoutOverride |
| ::ll::TypedStorage< 4, 8, ::glm::vec2 > | mMeasuredSize |
| ::ll::TypedStorage< 4, 4, float > | mPropagatedAlpha |
| ::ll::TypedStorage< 8, 8, ::UIControl & > | mOwner |
| MCAPI TextComponent::TextComponent | ( | ::UIControl & | owner, |
| ::Bedrock::NotNullNonOwnerPtr<::FontRepository const > | fontRepository ) |
|
virtual |
Implements UIComponent.
|
virtual |
Reimplemented from RenderableComponent.
|
virtual |
Reimplemented from RenderableComponent.
| MCAPI int TextComponent::_getCaretPosition | ( | ) | const |
| MCAPI::std::string const & TextComponent::_getMeasuredText | ( | ::UIRenderContext & | context | ) |
| MCAPI::std::string TextComponent::calculateUpdatedText | ( | ) |
| MCAPI void TextComponent::setFontType | ( | ::std::string const & | fontType | ) |
| MCAPI void TextComponent::setTextTTS | ( | ::std::string const & | label | ) |
| MCAPI void * TextComponent::$ctor | ( | ::UIControl & | owner, |
| ::Bedrock::NotNullNonOwnerPtr<::FontRepository const > | fontRepository ) |
| MCAPI ::std::unique_ptr<::UIComponent > TextComponent::$clone | ( | ::UIControl & | cloneOwner | ) | const |
| MCAPI void TextComponent::$reset | ( | ) |
| MCAPI void TextComponent::$updateUI | ( | ::UIMeasureStrategy const & | uiMeasureStrategy | ) |
| MCAPI::std::string const & TextComponent::$getTextToSpeechComponentValue | ( | ) | const |
|
virtualinherited |
Reimplemented from UIComponent.
|
inherited |
|
staticinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |