Class Text3DRenderer
Render text 3D.
Inheritance
Text3DRenderer
Implements
Inherited Members
Namespace: Evergine.Components.Fonts
Assembly: Evergine.Components.dll
Syntax
public class Text3DRenderer : Drawable3D, IDependencyObject
Fields
Text3DMesh
The text 3D component.
Declaration
[BindComponent(true, true, BindComponentSource.Owner, null, true)]
public Text3DMesh Text3DMesh
Field Value
Type | Description |
---|---|
Text3DMesh |
Transform
The transform 3D component.
Declaration
[BindComponent(true, true, BindComponentSource.Owner, null, true)]
public Transform3D Transform
Field Value
Type | Description |
---|---|
Transform3D |
renderMeshInfo
The render mesh info.
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 to perform 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 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 all 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()