Difference between revisions of "NiVertexColorPropertyGetVertexMode"
Jump to navigation
Jump to search
imported>DragoonWraith (New page: This is a command from NifSE. '''Syntax''' (short:vertMode) NiVertexColorPropertyGetVertexMode short:nifID ''short:blockID'' (short:vertMode) NiVertexColorPropGetVer...) |
imported>DragoonWraith |
||
Line 3: | Line 3: | ||
'''Syntax''' | '''Syntax''' | ||
(short:vertMode) NiVertexColorPropertyGetVertexMode short:nifID ''short:blockID'' | (short:vertMode) NiVertexColorPropertyGetVertexMode short:nifID ''short:blockID'' | ||
(short:vertMode) | (short:vertMode) NiVertColorPropGetVertMode short:nifID ''short:blockID'' | ||
Returns the integer ID for the vertex mode used by the [[:Category:NifSE (NiVertexColorProperty)|<tt>NiVertexColorProperty</tt>]] specified by <tt>blockID</tt>. The possible values and their meanings are indicated below. | Returns the integer ID for the vertex mode used by the [[:Category:NifSE (NiVertexColorProperty)|<tt>NiVertexColorProperty</tt>]] specified by <tt>blockID</tt>. The possible values and their meanings are indicated below. |
Latest revision as of 18:12, 23 January 2011
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)