Maps grayscale slope angle colors onto a different 256-color palette.
int32 MapSlopeAnglesToColors( ColorArray p_acSoureColors, ColorArray p_acPaletteColors, ColorArray p_acDestColors )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<ColorArray> | p_acSoureColors | A pointer to a <ColorArray> that contains the grayscale slope angle colors. |
<ColorArray> | p_acPaletteColors | A pointer to a <ColorArray> that contains the new 256-color palette. The range of colors maps from least slope angle to greatest slope angle. |
<ColorArray> | p_acDestColors | A pointer to a <ColorArray> that stores the new slope angle color map results. |
None published. Please look for an example in the Scenome Scripting Language code base.