TEXT3UText3DComponent

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Text3D

Header

/Engine/Plugins/Experimental/Text3D/Source/Text3D/Public/Text3DComponent.h

Include

#include "Text3DComponent.h"

Syntax

UCLASS(ClassGroup=(Text3D), Meta=(BlueprintSpawnableComponent))
class TEXT3UText3DComponent : public USceneComponent

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadWrite blueprintsetter

UMaterialInterf...

 

BackMaterial

Material for the back part

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite blueprintsetter

float

 

Bevel

Size of bevel

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite blueprintsetter

UMaterialInterf...

 

BevelMaterial

Material for the bevel part

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite blueprintsetter

int32

 

BevelSegments

Bevel Segments (Defines the amount of tesselation for the bevel part)

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite blueprintsetter

EText3DBevelTyp...

 

BevelType

Bevel Type

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite blueprintsetter

bool

 

bHasMaxHeight

Enables a maximum height to the 3D Text

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite blueprintsetter

bool

 

bHasMaxWidth

Enables a maximum width to the 3D Text

Public variable UProperty Category, EditAnywhere BlueprintReadWrite blueprintsetter

bool

 

bOutline

Generate Outline

Public variable UProperty Category, EditAnywhere BlueprintReadWrite blueprintsetter

bool

 

bScaleProportionally

Should the mesh scale proportionally when Max Width/Height is set

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite blueprintsetter

float

 

Extrude

Size of the extrude

Public variable UProperty Category, EditAnywhere BlueprintReadWrite blueprintsetter

UMaterialInterf...

 

ExtrudeMaterial

Material for the extruded part

Public variable UProperty Category, EditAnywhere BlueprintReadWrite blueprintsetter

UFont *

 

Font

Text font

Public variable UProperty Category, EditAnywhere BlueprintReadWrite blueprintsetter

UMaterialInterf...

 

FrontMaterial

Material for the front part

Public variable UProperty Category, EditAnywhere BlueprintReadWrite blueprintsetter

EText3DHorizont...

 

HorizontalAlignment

Horizontal text alignment

Public variable UProperty Category, EditAnywhere BlueprintReadWrite blueprintsetter

float

 

Kerning

Text kerning

Public variable UProperty Category, EditAnywhere BlueprintReadWrite blueprintsetter

float

 

LineSpacing

Extra line spacing

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite blueprintsetter

float

 

MaxHeight

Sets a maximum height to the 3D Text

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite blueprintsetter

float

 

MaxWidth

Sets a maximum width to the 3D Text

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite blueprintsetter

FText

 

Text

The text to generate a 3d mesh

Public variable UProperty Category, EditAnywhere BlueprintReadWrite blueprintsetter

EText3DVertical...

 

VerticalAlignment

Vertical text alignment

Public variable UProperty Category, EditAnywhere BlueprintReadWrite blueprintsetter

float

 

WordSpacing

Extra word spacing

Functions

Name Description

Public function UFunction BlueprintCallable, Category

void

 

GetBounds

(
    FVector& Origin,
    FVector& BoxExtent
)

Public function UFunction BlueprintCallable, Category

int32

 

GetGlyphCount()

Gets the number of font glyphs that are currently used

Public function UFunction BlueprintCallable, Category

USceneCompon...

 

GetGlyphKerningComponent

(
    int32 Index
)

Gets the USceneComponent that a glyph is attached to

Public function UFunction BlueprintCallable, Category

const TArray...

 

GetGlyphKerningComponents()

Gets all the glyph kerning components

Public function UFunction BlueprintCallable, Category

UStaticMeshC...

 

GetGlyphMeshComponent

(
    int32 Index
)

Gets the StaticMeshComponent of a glyph

Public function UFunction BlueprintCallable, Category

const TArray...

 

GetGlyphMeshComponents()

Gets all the glyph meshes

Public function

FTextGenerat...

 

OnTextGenerated()

Public function UFunction BlueprintCallable, Category

void

 

SetBackMaterial

(
    UMaterialInterface* Value
)

Set the text back material

Public function UFunction BlueprintCallable, Category

void

 

SetBevel

(
    const float Value
)

Set the 3d bevel value

Public function UFunction BlueprintCallable, Category

void

 

SetBevelMaterial

(
    UMaterialInterface* Value
)

Set the text bevel material

Public function UFunction BlueprintCallable, Category

void

 

SetBevelSegments

(
    const int32 Value
)

Set the amount of segments that will be used to tesselate the Bevel

Public function UFunction BlueprintCallable, Category

void

 

SetBevelType

(
    const EText3DBevelType Value
)

Set the 3d bevel type

Public function UFunction BlueprintCallable, Category

void

 

SetExtrude

(
    const float Value
)

Set the text extrusion size and signal the primitives to be rebuilt

Public function UFunction BlueprintCallable, Category

void

 

SetExtrudeMaterial

(
    UMaterialInterface* Value
)

Set the text extrude material

Public function UFunction BlueprintCallable, Category

void

 

SetFont

(
    UFont*const InFont
)

Set the text font and signal the primitives to be rebuilt

Public function UFunction BlueprintCallable, Category

void

 

SetFreeze

(
    const bool bFreeze
)

Freeze mesh rebuild, to avoid unnecessary mesh rebuilds when setting a few properties together

Public function UFunction BlueprintCallable, Category

void

 

SetFrontMaterial

(
    UMaterialInterface* Value
)

Set the text front material

Public function UFunction BlueprintCallable, Category

void

 

SetHasMaxHeight

(
    const bool Value
)

Enable / Disable a Maximum Height

Public function UFunction BlueprintCallable, Category

void

 

SetHasMaxWidth

(
    const bool Value
)

Enable / Disable a Maximum Width

Public function UFunction BlueprintCallable, Category

void

 

SetHorizontalAlignment

(
    const EText3DHorizontalTextAlignmen...
)

Set the horizontal alignment value and signal the primitives to be rebuilt

Public function UFunction BlueprintCallable, Category

void

 

SetKerning

(
    const float Value
)

Set the kerning value and signal the primitives to be rebuilt

Public function UFunction BlueprintCallable, Category

void

 

SetLineSpacing

(
    const float Value
)

Set the line spacing value and signal the primitives to be rebuilt

Public function UFunction BlueprintCallable, Category

void

 

SetMaxHeight

(
    const float Value
)

Set the Maximum Height - If height is larger, mesh will scale down to fit MaxHeight value

Public function UFunction BlueprintCallable, Category

void

 

SetMaxWidth

(
    const float Value
)

Set the Maximum Width - If width is larger, mesh will scale down to fit MaxWidth value

Public function UFunction BlueprintCallable, Category

void

 

SetOutline

(
    const bool bValue
)

Public function UFunction BlueprintCallable, Category

void

 

SetScaleProportionally

(
    const bool Value
)

Set if the mesh should scale proportionally when Max Width/Height is set

Public function UFunction BlueprintCallable, Category

void

 

SetText

(
    const FText& Value
)

Set the text value and signal the primitives to be rebuilt

Public function UFunction BlueprintCallable, Category

void

 

SetVerticalAlignment

(
    const EText3DVerticalTextAlignment ...
)

Set the vertical alignment and signal the primitives to be rebuilt

Public function UFunction BlueprintCallable, Category

void

 

SetWordSpacing

(
    const float Value
)

Set the word spacing value and signal the primitives to be rebuilt

Public function

 

UText3DComponent()

Overridden from USceneComponent

Name Description

Protected function Virtual

void

 

OnHiddenInGameChanged()

Overridable internal function to respond to changes in the hidden in game value of the component.

Protected function Virtual

void

 

OnVisibilityChanged()

Overridable internal function to respond to changes in the visibility of the component.

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

OnRegister()

Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called.

Public function Virtual

void

 

OnUnregister()

Called when a component is unregistered.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Classes

Name

Description

Public class

FTextGenerated

Delegate called after text is rebuilt

Typedefs

Name

Description

FTextGeneratedNative

Delegate called after text is rebuilt