Navigation
Unreal Engine C++ API Reference > Plugins > Text3D
Inheritance Hierarchy
- USceneComponent
- TEXT3UText3DComponent
References
Module | Text3D |
Header | /Engine/Plugins/Experimental/Text3D/Source/Text3D/Public/Text3DComponent.h |
Include | #include "Text3DComponent.h" |
Syntax
UCLASS (ClassGroup=(Text3D), prioritizeCategories="Text Layout Geometry Materials",
Meta=(BlueprintSpawnableComponent))
class TEXT3UText3DComponent : public USceneComponent
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() ![]() |
TObjectPtr< UMaterialInterface > | BackMaterial | Material for the back part |
![]() ![]() ![]() ![]() ![]() |
bool | bCastShadow | Controls whether the text glyphs should cast a shadow or not. |
![]() ![]() ![]() ![]() ![]() |
float | Bevel | Size of bevel |
![]() ![]() ![]() ![]() ![]() |
TObjectPtr< UMaterialInterface > | BevelMaterial | Material for the bevel part |
![]() ![]() ![]() ![]() ![]() |
int32 | BevelSegments | Bevel Segments (Defines the amount of tesselation for the bevel part) |
![]() ![]() ![]() ![]() ![]() |
EText3DBevelType | BevelType | Bevel Type |
![]() ![]() ![]() ![]() ![]() |
bool | bHasMaxHeight | Enables a maximum height to the 3D Text |
![]() ![]() ![]() ![]() ![]() |
bool | bHasMaxWidth | Enables a maximum width to the 3D Text |
![]() ![]() ![]() ![]() ![]() |
bool | bOutline | Generate Outline |
![]() ![]() ![]() ![]() ![]() |
bool | bRefreshOnChange | Whether to allow automatic refresh/mesh generation |
![]() ![]() ![]() ![]() ![]() |
bool | bScaleProportionally | Should the mesh scale proportionally when Max Width/Height is set |
![]() ![]() ![]() ![]() ![]() |
float | Extrude | Size of the extrude |
![]() ![]() ![]() ![]() ![]() |
TObjectPtr< UMaterialInterface > | ExtrudeMaterial | Material for the extruded part |
![]() ![]() ![]() ![]() ![]() |
TObjectPtr< UFont > | Font | Text font |
![]() ![]() ![]() ![]() ![]() |
TObjectPtr< UMaterialInterface > | FrontMaterial | Material for the front part |
![]() ![]() ![]() ![]() ![]() |
EText3DHorizontalTextAlignment | HorizontalAlignment | Horizontal text alignment |
![]() ![]() ![]() ![]() ![]() |
float | Kerning | Text kerning |
![]() ![]() ![]() ![]() ![]() |
float | LineSpacing | Extra line spacing |
![]() ![]() ![]() ![]() ![]() |
float | MaxHeight | Sets a maximum height to the 3D Text |
![]() ![]() ![]() ![]() ![]() |
float | MaxWidth | Sets a maximum width to the 3D Text |
![]() ![]() ![]() ![]() ![]() |
EText3DMaxWidthHandling | MaxWidthHandling | Dictates how to handle the text if it exceeds the max width |
![]() ![]() ![]() ![]() ![]() |
float | OutlineExpand | Outline expand/offset amount |
![]() ![]() ![]() ![]() ![]() |
FText | Text | The text to generate a 3d mesh |
![]() ![]() ![]() ![]() ![]() |
FName | Typeface | |
![]() ![]() ![]() ![]() ![]() |
EText3DVerticalTextAlignment | VerticalAlignment | Vertical text alignment |
![]() ![]() ![]() ![]() ![]() |
float | WordSpacing | Extra word spacing |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | BeginDestroy () |
|
![]() ![]() |
bool | CastsShadow () |
Get the value of CastShadow. |
![]() |
void | Clears all generated components and meshes from this component. | |
![]() ![]() ![]() |
void | FormatText
(
FText& InOutText |
Will be called when text geometry is generated. |
![]() ![]() |
UMaterialInterface * | Get the text back material | |
![]() ![]() |
float | GetBevel () |
Get the 3d bevel value |
![]() ![]() |
UMaterialInterface * | Get the text bevel material | |
![]() ![]() |
int32 | Get the amount of segments that will be used to tessellate the Bevel | |
![]() ![]() |
EText3DBevelType | GetBevelType () |
Get the 3d bevel type |
![]() ![]() ![]() |
void | ||
![]() ![]() |
float | GetExtrude () |
Get the text extrusion size and signal the primitives to be rebuilt |
![]() ![]() |
UMaterialInterface * | Get the text extrude material | |
![]() ![]() |
const UFont * | GetFont () |
Get the text font and signal the primitives to be rebuilt |
![]() ![]() ![]() ![]() |
FText | Returns the Text property, after being formatted by the FormatText virtual function. | |
![]() ![]() |
UMaterialInterface * | Get the text front material | |
![]() ![]() ![]() |
int32 | Gets the number of font glyphs that are currently used | |
![]() ![]() ![]() |
USceneComponent * | GetGlyphKerningComponent
(
int32 Index |
Gets the USceneComponent that a glyph is attached to |
![]() ![]() ![]() |
const TArray< USceneComponent * > & | Gets all the glyph kerning components | |
![]() ![]() ![]() |
UStaticMeshComponent * | GetGlyphMeshComponent
(
int32 Index |
Gets the StaticMeshComponent of a glyph |
![]() ![]() ![]() |
const TArray< UStaticMeshComponent * > & | Gets all the glyph meshes | |
![]() ![]() |
EText3DHorizontalTextAlignment | Get the horizontal alignment value and signal the primitives to be rebuilt | |
![]() ![]() |
float | GetKerning () |
Get the kerning value and signal the primitives to be rebuilt |
![]() ![]() |
float | Get the line spacing value and signal the primitives to be rebuilt | |
![]() ![]() |
float | GetMaxHeight () |
Get the Maximum Height - If height is larger, mesh will scale down to fit MaxHeight value |
![]() ![]() |
float | GetMaxWidth () |
Get the Maximum Width - If width is larger, mesh will scale down to fit MaxWidth value |
![]() ![]() |
EText3DMaxWidthHandling | Get the Maximum Width Handling - Whether to wrap before scaling when the text size reaches the max width | |
![]() ![]() |
float | Get the outline width. | |
![]() ![]() |
const FText3DStatistics & | ||
![]() ![]() |
const FText & | GetText () |
Get the text value and signal the primitives to be rebuilt |
![]() ![]() ![]() |
FVector | GetTextScale () |
Gets the scale of actual text geometry, taking into account MaxWidth and MaxHeight constraints. |
![]() ![]() |
FName | GetTypeface () |
Get the typeface |
![]() ![]() ![]() |
TArray< FName > | ||
![]() ![]() |
EText3DVerticalTextAlignment | Get the vertical alignment and signal the primitives to be rebuilt | |
![]() ![]() |
float | Get the word spacing value and signal the primitives to be rebuilt | |
![]() ![]() |
bool | HasMaxHeight () |
Whether a maximum height is specified |
![]() ![]() |
bool | HasMaxWidth () |
Whether a maximum width is specified |
![]() ![]() |
bool | HasOutline () |
Get whether an outline is applied. |
![]() ![]() |
bool | IsFrozen () |
Freeze mesh rebuild, to avoid unnecessary mesh rebuilds when setting a few properties together |
![]() ![]() |
void | Intercept and propagate a change on this component to all children. | |
![]() ![]() |
void | OnRegister () |
|
![]() |
FTextGeneratedNative & | ||
![]() ![]() |
void | OnUnregister () |
|
![]() ![]() |
void | Intercept and propagate a change on this component to all children. | |
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
|
![]() ![]() |
void | PostLoad () |
|
![]() ![]() |
void | PostTransacted
(
const FTransactionObjectEvent& TransactionEvent |
|
![]() |
void | Rebuild () |
Manually update the geometry, ignoring RefreshOnChange (but still accounting for the Freeze flag) |
![]() ![]() |
bool | Get whether to allow automatic refresh/mesh generation | |
![]() ![]() |
bool | Get if the mesh should scale proportionally when Max Width/Height is set | |
![]() ![]() ![]() |
void | SetBackMaterial
(
UMaterialInterface* Value |
Set the text back material |
![]() ![]() ![]() |
void | SetBevel
(
const float Value |
Set the 3d bevel value |
![]() ![]() ![]() |
void | SetBevelMaterial
(
UMaterialInterface* Value |
Set the text bevel material |
![]() ![]() ![]() |
void | SetBevelSegments
(
const int32 Value |
Set the amount of segments that will be used to tessellate the Bevel |
![]() ![]() ![]() |
void | SetBevelType
(
const EText3DBevelType Value |
Set the 3d bevel type |
![]() ![]() ![]() |
void | SetCastShadow
(
bool NewCastShadow |
Set the value of CastShadow. |
![]() ![]() ![]() |
void | SetExtrude
(
const float Value |
Set the text extrusion size and signal the primitives to be rebuilt |
![]() ![]() ![]() |
void | SetExtrudeMaterial
(
UMaterialInterface* Value |
Set the text extrude material |
![]() ![]() ![]() |
void | SetFont
(
UFont* InFont |
Set the text font and signal the primitives to be rebuilt |
![]() ![]() ![]() |
void | SetFreeze
(
const bool bFreeze |
Freeze mesh rebuild, to avoid unnecessary mesh rebuilds when setting a few properties together |
![]() ![]() ![]() |
void | SetFrontMaterial
(
UMaterialInterface* Value |
Set the text front material |
![]() ![]() ![]() |
void | SetHasMaxHeight
(
const bool Value |
Enable / Disable a Maximum Height |
![]() ![]() ![]() |
void | SetHasMaxWidth
(
const bool Value |
Enable / Disable a Maximum Width |
![]() ![]() ![]() |
void | SetHasOutline
(
const bool bValue |
Set whether an outline is applied. |
![]() ![]() ![]() |
void | SetHorizontalAlignment
(
const EText3DHorizontalTextAlignment value |
Set the horizontal alignment value and signal the primitives to be rebuilt |
![]() ![]() ![]() |
void | SetKerning
(
const float Value |
Set the kerning value and signal the primitives to be rebuilt |
![]() ![]() ![]() |
void | SetLineSpacing
(
const float Value |
Set the line spacing value and signal the primitives to be rebuilt |
![]() ![]() ![]() |
void | SetMaxHeight
(
const float Value |
Set the Maximum Height - If height is larger, mesh will scale down to fit MaxHeight value |
![]() ![]() ![]() |
void | SetMaxWidth
(
const float Value |
Set the Maximum Width - If width is larger, mesh will scale down to fit MaxWidth value |
![]() ![]() ![]() |
void | SetMaxWidthHandling
(
const EText3DMaxWidthHandling Value |
Set the Maximum Width Handling - Whether to wrap before scaling when the text size reaches the max width |
![]() ![]() ![]() |
void | SetOutlineExpand
(
const float Value |
Set the outline width. |
![]() |
void | SetRefreshOnChange
(
const bool Value |
Set whether to allow automatic refresh/mesh generation |
![]() ![]() ![]() |
void | SetScaleProportionally
(
const bool Value |
Set if the mesh should scale proportionally when Max Width/Height is set |
![]() ![]() ![]() |
void | Set the text value and signal the primitives to be rebuilt | |
![]() |
void | SetTypeface
(
const FName InTypeface |
Set the typeface |
![]() ![]() ![]() |
void | SetVerticalAlignment
(
const EText3DVerticalTextAlignment value |
Set the vertical alignment and signal the primitives to be rebuilt |
![]() ![]() ![]() |
void | SetWordSpacing
(
const float Value |
Set the word spacing value and signal the primitives to be rebuilt |
![]() |
void | TriggerInternalRebuild
(
const EText3DModifyFlags InModifyFlags |
Can be used to force an internal geometry and/or layout rebuild |
![]() |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FTextGenerated | Delegate called after text is rebuilt |
Typedefs
Name | Description |
---|---|
FTextGeneratedNative | Delegate called after text is rebuilt |