Kamui2 Library - 描画パラメータ設定関数

kmChangeStripModifierInstruction

ModifierInstructionの変更

書式

KMSTATUS kmChangeStripModifierInstruction( pStripHead, dwModifierInstruction )
PKMSTRIPHEAD pStripHead
KMDWORD dwModifierInstruction

引数

pStripHead   (入力/出力)KMSTRIPHEADへのポインタを指定します。
dwModifierInstruction   (入力)ModifierInstructionを設定します。
KM_MODIFIER_NORMAL_POLY   
KM_MODIFIER_INCLUDE_FIRST_POLY   
KM_MODIFIER_EXCLUDE_FIRST_POLY   
KM_MODIFIER_INCLUDE_LAST_POLY   
KM_MODIFIER_EXCLUDE_LAST_POLY   

戻り値

KMSTATUS_SUCCESS   成功
   KMSTATUS_INVALID_VERTEX_TYPE
   現在のVertexTypeでは無効な設定

解説

kmGenerateStripHead/kmGenerateStripHeadXX(17)で構築したKMSTRIPHEAD構造体の ModifierInstructionを変更します。

対応するVertexTypeは以下のようになります。

 VertexType   対応状況 
 VertexType00    × 
 VertexType01    × 
 VertexType02    × 
 VertexType03    × 
 VertexType04    × 
 VertexType05    × 
 VertexType06   × 
 VertexType07   × 
 VertexType08   × 
 VertexType09   × 
 VertexType10   × 
 VertexType11   × 
 VertexType12   × 
 VertexType13   × 
 VertexType14   × 
 VertexType15   × 
 VertexType16   × 
 VertexType17   ◎ 

引数 dwModifierInstructionには、以下のModifierInstructionを設定します。


kmChangeStripModifierInstruction
COPYRIGHT © NEC Corporation / © SEGA ENTERPRISES, LTD., 1998-2000