PbNonLinearDataMapping2SetValues Method (PbNonLinearDataMapping2Types, Single, SbColor) |
Sets non linear function for data mapping, with RGB color.
Namespace: OIV.MeshViz.GraphAssembly: OIV.MeshViz (in OIV.MeshViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public void SetValues(
PbNonLinearDataMapping2Types type,
float[] v,
SbColor[] c
)
Public Sub SetValues (
type As PbNonLinearDataMapping2Types,
v As Single(),
c As SbColor()
)
public:
void SetValues(
PbNonLinearDataMapping2Types type,
array<float>^ v,
array<SbColor>^ c
)
member SetValues :
type : PbNonLinearDataMapping2Types *
v : float32[] *
c : SbColor[] -> unit
Parameters
- type
- Type: OIV.MeshViz.GraphPbNonLinearDataMapping2Types
- v
- Type: SystemSingle
- c
- Type: OIV.InventorSbColor
Remarks If type = NON_LINEAR_PER_LEVEL, the number of colors must be equal to numValues + 1, otherwise it must be equal to numValues.
See Also