:orphan:

===================
TKE_Color_By_FIndex
===================

Opcode
======

.. csv-table::

	"ASCII", "(none)"
	"Hexadecimal", "0A"
	"Decimal", "10"
	
	
Operands
========

Variable geometry, Float index 


.. csv-table::

	"geometry", "Bitmask of affected geometry. 1 byte, if high bit set one or more bytes follow. Bit definitions are :doc:`here </general/hsf/opcodes/geometry_table>`"
	"index", "index into the active color map"
	

Notes
=====

This is the color which will apply to geometry in the currently opened segment/geometry. Since the index can be a floating point value you can apply fractionalcolor interpolation to a surface to get the visual effects often required for Finite Element Analysis and Computational Fluid Dynamics models. For detailed information on what this means in the HOOPS/3dGS refer to the ``Set_Color_By_FIndex`` specification in the 3dGS Reference Manual.
