KMSTATUS kmChangeStripShadowMode( pStripHead, nShadowMode )
PKMSTRIPHEAD pStripHead
KMSHADOWMODE nShadowMode
pStripHead (入力/出力)KMSTRIPHEADへのポインタ nShadowMode (入力)ShadowMode
KMSTATUS_SUCCESS 成功 KMSTATUS_INVALID_VERTEX_TYPE 現在のVertexTypeでは無効な設定
kmGenerateStripHead()関数/kmGenerateStripHead00()関数〜kmGenerateStripHead08()関数、kmGenerateStripHead15()関数、kmGenerateStripHead16()関数で構築したKMSTRIPHEAD構造体の ShadowModeを変更します。対応するVertexTypeは以下のようになります。
VertexType 対応状況 VertexType00 ◎ VertexType01 ◎ VertexType02 ◎ VertexType03 ◎ VertexType04 ◎ VertexType05 ◎ VertexType06 ◎ VertexType07 ◎ VertexType08 ◎ VertexType09 × VertexType10 × VertexType11 × VertexType12 × VertexType13 × VertexType14 × VertexType15 ◎ VertexType16 ◎ VertexType17 ×
◎:KM_IMAGE_PARAM1 / KM_IMAGE_PARAM2 設定可能
○:KM_IMAGE_PARAM1のみ設定可能引数nShadowModeには、以下のShadowModeを設定します。
- KM_NORMAL_POLYGON
- KM_CHEAPSHADOW_POLYGON