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 pixelProj

Field Value

mat4d
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 projMat

Field Value

mat4d

rgb

Current color (rgb).

public vec3f rgb

Field Value

vec3f

scaleProj

Scale part of the projection matrix in MVP convention.

public mat4d scaleProj

Field Value

mat4d
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 view

Field Value

mat4d

vpMat

public mat4d vpMat

Field Value

mat4d

width

Canvas width.

public int width

Field Value

int