Table of Contents

Struct bind_t

Namespace
Hi.Native
Assembly
HiDisp.dll

Runtime rendering data for each iteration in rendering loop. It manipulates geometry transformation, such as moving, rotatingand scaling. It also deal with color and picking. A bind_t object is generated by rendering in the every beginning of each rendering iteration.

public struct bind_t
Inherited Members
Extension Methods

Fields

height

Canvas height.

public int height

Field Value

int

is_picking_mode

Is picking mode.

public int is_picking_mode

Field Value

int

models

Model matrixes in MVP convention.

public mat_stack_t models

Field Value

mat_stack_t

picking_id

Current picking id.

public int picking_id

Field Value

int

pixelProj

Pixel mapping part of the projection matrix in MVP convention.

public mat4d_t pixelProj

Field Value

mat4d_t
See Also

pixel_width_on_model

Pixel width on model layer.

public double pixel_width_on_model

Field Value

double

projMat

Projection matrix in MVP convention. Equal to scaleProj * pixelProj.

public mat4d_t projMat

Field Value

mat4d_t

rgb

Current color (rgb).

public vec3f_t rgb

Field Value

vec3f_t

scaleProj

Scale part of the projection matrix in MVP convention.

public mat4d_t scaleProj

Field Value

mat4d_t
See Also

sparkle_rate

Sparkle rate of specular light. The rate only effects on the Drawing which contains N(normal) value.

public float sparkle_rate

Field Value

float

view

View matrix in MVP convention.

public mat4d_t view

Field Value

mat4d_t

vpMat

public mat4d_t vpMat

Field Value

mat4d_t

width

Canvas width.

public int width

Field Value

int