Class Text3DRenderer
Renders 3D text.
Inheritance
Text3DRenderer
Implements
Inherited Members
Namespace: Evergine.Components.Fonts
Assembly: Evergine.Components.dll
Syntax
public class Text3DRenderer : Drawable3D, IDependencyObject
Fields
Text3DMesh
The Text3D component.
Declaration
[BindComponent(true, true, BindComponentSource.Owner, null, true)]
public Text3DMesh Text3DMesh
Field Value
Type | Description |
---|---|
Text3DMesh |
renderMeshInfo
The render mesh information.
Declaration
protected RenderMeshInfo renderMeshInfo
Field Value
Type | Description |
---|---|
RenderMeshInfo |
Properties
DebugMode
Gets or sets a value indicating whether debug mode is enabled.
Declaration
public bool DebugMode { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
Draw(DrawContext)
Allows custom drawing.
Declaration
public override void Draw(DrawContext drawContext)
Parameters
Type | Name | Description |
---|---|---|
DrawContext | drawContext | The draw context. |
Overrides
Remarks
This method will only be called if all the following points are true:
OnActivated()
Invoked when the object is activated once it is attached.
Declaration
protected override void OnActivated()
Overrides
OnAttached()
Invoked when the object is attached to the system.
Declaration
protected override bool OnAttached()
Returns
Type | Description |
---|---|
bool | True if everything is OK. |
Overrides
OnDeactivated()
Invoked when the object is deactivated.
Declaration
protected override void OnDeactivated()
Overrides
OnDetach()
Invoked when the object is detached.
Declaration
protected override void OnDetach()