Table of Contents

Class RenderInstance

Namespace
LibGFX.Graphics
Assembly
LibGFX.dll

Represents a render instance with a transform and visibility state.

public class RenderInstance
Inheritance
RenderInstance
Inherited Members

Properties

Transform

The transform of the instance.

public Transform Transform { get; set; }

Property Value

Transform

UVTransform

The UV transform of the instance. X, Y reprensents the scale of the UV coordinates. Z, W represents the offset of the UV coordinates.

public Vector4 UVTransform { get; set; }

Property Value

Vector4

Visible

The visibility state of the instance.

public bool Visible { get; set; }

Property Value

bool

Methods

GetExtras()

Gets the extra data for the instance.

public Vector4 GetExtras()

Returns

Vector4

GetMatrix()

Gets the model matrix of the instance.

public Matrix4 GetMatrix()

Returns

Matrix4