unreal.Text3DStaticMeshesRenderer

class unreal.Text3DStaticMeshesRenderer(outer: Object | None = None, name: Name | str = 'None')

Bases: Text3DRendererBase

Legacy/default renderer for Text3D Each text character is rendered as a StaticMesh within its own StaticMeshComponent Kerning is done through a scene component containing the current character Text3DComponent - Text3DRoot (Root) – Text3DSceneComponent (Kerning) — Text3DStaticMeshComponent (Character)

Eg: The text “Hello” will be rendered using 5 SceneComponents and 5 StaticMeshComponents

C++ Source:

  • Plugin: Text3D

  • Module: Text3D

  • File: Text3DStaticMeshesRenderer.h

get_glyph_count() int32

Gets the number of font glyphs that are currently used

Return type:

int32

get_glyph_kerning_component(index) SceneComponent

Gets the USceneComponent that a glyph is attached to

Parameters:

index (int32)

Return type:

SceneComponent

get_glyph_kerning_components() Array[SceneComponent]

Gets all the glyph kerning components

Return type:

Array[SceneComponent]

get_glyph_mesh_component(index) StaticMeshComponent

Gets the StaticMeshComponent of a glyph

Parameters:

index (int32)

Return type:

StaticMeshComponent

get_glyph_mesh_components() Array[StaticMeshComponent]

Gets all the glyph meshes

Return type:

Array[StaticMeshComponent]