r3mpcopy
real/code/r3mpcopy.h
r3code
Copy material shader. This reads a material property defined by the input channel and writes it to the destination property. Bindings allows channel mixing. for example, Red can be directed to Blue, X can be bound to Z etc.
r3Matprop
R3CLID_MATPROP
r3Mpcopy
R3CLID_MPCOPY - 496
int R3RegisterMPCopyClass(R3APP *app);
Remap1
Remap1
R3MPCOPYA_Remap1
Integer
R3INT
channel binding information
jsobj.SetRemap1(value);
value = jsobj.GetRemap1();
R3INT value = ...;
R3SetAttrs(r3obj, R3MPCOPYA_Remap1, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3MPCOPYA_Remap1, &value, R3TAG_END);
Remap2
Remap2
R3MPCOPYA_Remap2
Integer
R3INT
channel binding information
jsobj.SetRemap2(value);
value = jsobj.GetRemap2();
R3INT value = ...;
R3SetAttrs(r3obj, R3MPCOPYA_Remap2, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3MPCOPYA_Remap2, &value, R3TAG_END);
Remap3
Remap3
R3MPCOPYA_Remap3
Integer
R3INT
channel binding information
jsobj.SetRemap3(value);
value = jsobj.GetRemap3();
R3INT value = ...;
R3SetAttrs(r3obj, R3MPCOPYA_Remap3, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3MPCOPYA_Remap3, &value, R3TAG_END);