Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
Difference between revisions of "UE3:UIComp DrawString native functions (UDK)"
(Talk) |
(Talk) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{UE3:UIComp_DrawString native functions (UT3)}} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 06:12, 17 January 2010
Object >> Component >> UIComponent >> UIComp_DrawComponents >> UIComp_DrawString (native functions) |
Contents
- 1 Native functions
- 1.1 DisableCustomAlignment
- 1.2 DisableCustomAttributes
- 1.3 DisableCustomAutoScaling
- 1.4 DisableCustomClipAlignment
- 1.5 DisableCustomClipMode
- 1.6 DisableCustomColor
- 1.7 DisableCustomFont
- 1.8 DisableCustomOpacity
- 1.9 DisableCustomPadding
- 1.10 DisableCustomScale
- 1.11 DisableCustomSpacingAdjust
- 1.12 EnableSubregion
- 1.13 GetAppliedStringStyle
- 1.14 GetFinalStringStyle
- 1.15 GetStyleResolverTag
- 1.16 GetSubregionAlignment
- 1.17 GetSubregionOffset
- 1.18 GetSubregionSize
- 1.19 GetValue
- 1.20 GetWrapMode
- 1.21 IsSubregionEnabled
- 1.22 NotifyResolveStyle
- 1.23 RefreshValue
- 1.24 SetAlignment
- 1.25 SetAttributes
- 1.26 SetAutoScaling
- 1.27 SetAutoSizeExtent
- 1.28 SetClipAlignment
- 1.29 SetColor
- 1.30 SetFont
- 1.31 SetOpacity
- 1.32 SetPadding
- 1.33 SetScale
- 1.34 SetSpacingAdjust
- 1.35 SetStyleResolverTag
- 1.36 SetSubregionAlignment
- 1.37 SetSubregionOffset
- 1.38 SetSubregionSize
- 1.39 SetValue
- 1.40 SetWrapMode
- UIComp_DrawString native functions in other games:
- UT3
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Native functions
DisableCustomAlignment
Disables text alignment customization allowing the string to use the values from the applied style.
DisableCustomAttributes
Disables text attribute customization allowing the string to use the values from the applied style.
DisableCustomAutoScaling
Disables text autoscale mode customization, allowing the string to use the values from the applied style.
DisableCustomClipAlignment
Disables clip alignment customization allowing the string to use the values from the applied style.
DisableCustomClipMode
Disables text clip mode customization allowing the string to use the values from the applied style.
DisableCustomColor
Disables font color customization allowing the string to use the values from the applied style.
DisableCustomFont
Disables font customization allowing the string to use the values from the applied style.
DisableCustomOpacity
Disables the custom opacity level for this comp
DisableCustomPadding
Disables the custom padding for this component.
DisableCustomScale
Disables text scale customization allowing the string to use the values from the applied style.
DisableCustomSpacingAdjust
Disables customization of spacing adjustment between characters and lines of text from the applied style.
EnableSubregion
Changes the value of bSubregionEnabled for the specified orientation.
Parameters:
- Orientation - the orientation to enable/disable
- bShouldEnable - whether specifying a subregion should be allowed
GetAppliedStringStyle
Returns the combo style data being used by this string rendering component. If the component's StringStyle is not set, the style data will be pulled from the owning widget's PrimaryStyle, if possible.
Parameters:
- DesiredMenuState - the menu state for the style data to retrieve; if not specified, uses the owning widget's current menu state.
Returns:
- the combo style data used to render this component's string for the specified menu state.
Note: noexport because we the native version is also handles optionally resolving the string style data from the active skin, so it takes a few more parameters.
GetFinalStringStyle
Gets the style data that will be used when rendering this component's string, including all style overrides or customizations enabled for this instance.
Parameters:
- FinalStyleData - will be filled in with the style and formatting values that will be applied to this component's string
Returns:
- TRUE if the input value was filled in; FALSE if the component's style is still invalid or couldn't set the output value for any reason.
GetStyleResolverTag
Specified by: UIStyleResolver.GetStyleResolverTag
Returns the tag assigned to this UIStyleResolver by the owning widget
GetSubregionAlignment
Returns the alignment of the clamped subregion for a single orientation.
Parameters:
- Orientation - the orientation to retrieve the subregion alignment for
Returns:
- the alignment of the clamp subregion for the specified orientation.
GetSubregionOffset
Returns the offset of the clamped subregion for a single orientation.
Parameters:
- Orientation - the orientation to retrieve the subregion offset for
- OutputType - indicates how the result should be formatted.
Returns:
- the offset of the clamp subregion for the specified orientation, relative to the widget's bounding region and formatted according to the value of OutputType.
GetSubregionSize
Returns the size of the clamped subregion for a single orientation.
Parameters:
- Orientation - the orientation to retrieve the subregion size for
- OutputType - indicates how the result should be formatted.
Returns:
- the size of the clamp subregion for the specified orientation, formatted according to the value of OutputType.
GetValue
Retrieve the value of the string.
Parameters:
- bReturnProcessedText - Determines whether the processed or raw version of the value string is returned. The raw value will contain any markup; the processed string will be text only. Any image tokens are converted to their text counterpart.
Returns:
- the complete text value contained by the UIString, in either the processed or unprocessed state.
GetWrapMode
Wrapper for quickly grabbing the current wrap mode for this component.
IsSubregionEnabled
Returns TRUE if a subregion clamp is enabled for the specified orientation.
Parameters:
- Orientation - the orientation to check
Returns:
- TRUE if a subregion is enabled for the specified orientation
NotifyResolveStyle
Specified by: UIStyleResolver.NotifyResolveStyle
Resolves the combo style for this string rendering component.
Parameters:
- ActiveSkin - the skin the use for resolving the style reference.
- bClearExistingValue - if TRUE, style references will be invalidated first.
- CurrentMenuState - the menu state to use for resolving the style data; if not specified, uses the current menu state of the owning widget.
- StyleProperty - if specified, only the style reference corresponding to the specified property will be resolved; otherwise, all style references will be resolved.
RefreshValue
Clears and regenerates all nodes in the string by reparsing the source string.
SetAlignment
Enables text alignment customization and sets the component's custom alignment value to the value specified.
Parameters:
- Orientation - indicates which orientation to modify
- NewAlignment - the new alignment to use for rendering this component's text
SetAttributes
Enables text attribute customization and changes the component's override attributes to the value specified.
Parameters:
- NewAttributes - the attributes to use for rendering this component's text
SetAutoScaling
Enables autoscale customization and changes the component's override autoscalemode to the value specified.
Parameters:
- NewAutoScaleMode - the autoscale mode to use for formatting this component's text
- NewMinScaleValue - the minimum scaling value to apply to the text. if not specified (or a negative value is specified), the min scaling value will not be changed.
SetAutoSizeExtent
Changes the minimum and maximum auto-size values for this string.
Parameters:
- Orientation - the orientation to enable/disable
- MinValue - the minimum size that auto-sizing should resize to (specify 0 to disable)
- MaxValue - the maximum size that auto-sizing should resize to (specify 0 to disable)
- MinScaleType - the scale type for the minimum value
- MaxScaleType - the scale type for the maximum value
SetClipAlignment
Enables clip alignment customization and sets the component's custom clip alignment value to the value specified.
Parameters:
- NewClipAlignment - the new clip alignment to use mode for this string.
SetColor
Enables font color customization and changes the component's override color to the value specified.
Parameters:
- NewColor - the color to use for rendering this component's string
SetFont
Enables font customization and changes the component's override font to the value specified.
Parameters:
- NewFont - the font to use for rendering this component's text
SetOpacity
Enables a custom opacity and changes the component's override opacity to the value specified.
Parameters:
- NewOpacity - the alpha to use for rendering this component's string
SetPadding
Enables custom padding and changes the component's override padding to the value specified.
Parameters:
- HorizontalPadding - new vertical padding value to use (assuming a screen height of DEFAULT_SIZE_Y); will be scaled based on actual resolution. Specify -1 to indicate that VerticalPadding should not be changed (useful when changing only the horizontal padding)
SetScale
Enables text scale customization and sets the component's custom scale value to the value specified.
Parameters:
- Orientation - indicates which orientation to modify
- NewScale - the new scale to use for rendering this component's text
SetSpacingAdjust
Enables customization of the spacing adjustment between characters and lines of text
Parameters:
- Orientation - indicates which orientation to modify
- NewSpacingAdjust - the new spacing adjust (in pixels) for rendering this component's text
SetStyleResolverTag
Specified by: UIStyleResolver.SetStyleResolverTag
Changes the tag assigned to the UIStyleResolver to the specified value.
Returns:
- TRUE if the name was changed successfully; FALSE otherwise.
SetSubregionAlignment
Changes the alignment of the clamped subregion for the specified orientation.
Parameters:
- Orientation - the orientation to update
- NewValue - the new alignment to use
SetSubregionOffset
Changes the offset of the clamped subregion for the specified orientation.
Parameters:
- Orientation - the orientation to update
- NewValue - the new offset to use
- EvalType - indicates how NewValue should be intepreted
SetSubregionSize
Changes the size of the clamped subregion for the specified orientation.
Parameters:
- Orientation - the orientation to update
- NewValue - the new size for the subregion.
- EvalType - indicates how NewValue should be intepreted
SetValue
Changes the value of the text at runtime.
Parameters:
- NewText - the new text that should be displayed
SetWrapMode
Enables clip mode customization and sets the component's custom clip mode value to the value specified.
Parameters:
- NewClipMode - the new wrapping mode for this string.