NiVertexColorPropertyGetVertexMode
This is a command from NifSE.
Syntax
(short:vertMode) NiVertexColorPropertyGetVertexMode short:nifID short:blockID (short:vertMode) NiVertColorPropGetVertMode short:nifID short:blockID
Returns the integer ID for the vertex mode used by the NiVertexColorProperty specified by blockID. The possible values and their meanings are indicated below.
Returns -1 if the function fails for any reason.
The default value of blockID, 0, indicates the NIF's root, a NiNode. NiNode blocks are not derived from NiVertexColorProperty, so this function will always require an explicit blockID.
Vertex Modes
- SRC_IGNORE = 0
- SRC_EMISSIVE = 1
- SRC_AMB_DIF = 2 (ambient and diffuse, the default)