r3wisdiv

r3wisdsuvset

r3wisdiv

Class

real/wires/r3wisdiv.h

Library

r3wire

Description:

Subdivision wireframe Class

See Also

real/wires/r3wibool.h

Super Class

r3Wiboolean

R3CLID_WIBOOLEAN

JavaScript

r3Wisubdivision

Class Identifier

R3CLID_WISUBDIVISION - 1236

Methods

REGISTERCOLORHO,

Attributes

MaterialRenderin, ForceTessellatio,

R3WISUBDIVCM_REGISTERCOLORHO

Method

REGISTERCOLORHO

Identifier

R3WISUBDIVCM_REGISTERCOLORHO

Return

R3BOOL, true if succeeded

JavaScript

rc = obj.REGISTERCOLORHO();

Description

Register function for defining surface color. The function * is called whenever the surface needs to be tesselated.

MaterialRenderin

Attribute

MaterialRenderin

Identifier

R3WISUBDIVA_MaterialRenderin

JavaScript type

Integer

C type

R3INT

Description

see values below

Syntax


jsobj.SetMaterialRenderin(value);
value = jsobj.GetMaterialRenderin();


R3INT value = ...;
R3SetAttrs(r3obj, R3WISUBDIVA_MaterialRendering_, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3WISUBDIVA_MaterialRendering_, &value, R3TAG_END);

ForceTessellatio

Attribute

ForceTessellatio

Identifier

R3WISUBDIVA_ForceTessellatio

JavaScript type

Boolean

C type

R3BOOL

Description

Syntax


jsobj.SetForceTessellatio(value);
value = jsobj.GetForceTessellatio();


R3BOOL value = ...;
R3SetAttrs(r3obj, R3WISUBDIVA_ForceTessellation_, value, R3TAG_END);
R3BOOL value;
R3GetAttrs(r3obj, R3WISUBDIVA_ForceTessellation_, &value, R3TAG_END);

R3WISUBDIVA_EXTRATAGABASE

hit codes for R3WIREM_HITFACENORMALHANDLE

R3WISDSHIT_TRANSLATE
R3WISDSHIT_SCALE
R3WISDSHIT_ROTATE

values for R3WISUBDIVA_MaterialRendering

R3WISDSMATREN_SINGLE_
R3WISDSMATREN_FULL_

Tags

Tags

R3WISUBDIVCA_FullMaterialRendering