Table of Contents

Class CanvasComponent

Namespace
Crux.Components
Assembly
Crux.dll
public class CanvasComponent : RenderComponent
Inheritance
CanvasComponent
Inherited Members

Constructors

CanvasComponent(GameObject)

public CanvasComponent(GameObject gameObject)

Parameters

gameObject GameObject

Fields

BindPoints

public Dictionary<string, Func<string>> BindPoints

Field Value

Dictionary<string, Func<string>>

VirtualResolution

public Vector2 VirtualResolution

Field Value

Vector2

Methods

AfterRender()

public void AfterRender()

Clone(GameObject)

public override Component Clone(GameObject gameObject)

Parameters

gameObject GameObject

Returns

Component

GetModelMatrix(CUIBounds)

public Matrix4 GetModelMatrix(CUIBounds bounds)

Parameters

bounds CUIBounds

Returns

Matrix4

ParseMarkup(string)

public void ParseMarkup(string src)

Parameters

src string

Render()

public override void Render()

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Update()

public override void Update()