r3frmchn

r3frmchn

Class

real/raytr/r3frmchn.h

Library

r3raytr

Description:

special constant channel mapping

See Also

real/raytr/r3frmapp.h

Super Class

r3Frmapping

R3CLID_FRMAPPING

JavaScript

r3Frmapchn

Class Identifier

R3CLID_FRMAPCHN - 452

Attributes

Channel, Value, Phase,

Registration

int R3RegisterFrMapChannelClass(R3APP *app);

Channel

Attribute

Channel

Identifier

R3FRMCHNA_Channel

JavaScript type

String

C type

char*

Description

name of channel

Syntax


jsobj.SetChannel(value);


char* value = ...;
R3SetAttrs(r3obj, R3FRMCHNA_Channel, value, R3TAG_END);

Value

Attribute

Value

Identifier

R3FRMCHNA_Value

Type

r3Vect

Description

const value. pad floats to vectors by f->(f,f,f)

Syntax


jsobj.SetValue(value);


R3VECTOR value = ...;
R3SetAttrs(r3obj, R3FRMCHNA_Value, value, R3TAG_END);

Phase

Attribute

Phase

Identifier

R3FRMCHNA_Phase

JavaScript type

Integer

C type

R3INT

Description

class id of evaluation phase, default R3CLID_PHASESURFACE

Syntax


jsobj.SetPhase(value);


R3INT value = ...;
R3SetAttrs(r3obj, R3FRMCHNA_Phase, value, R3TAG_END);


r3appobj *