KMSTATUS kmChangeStripSpriteBaseColor( pStripHead, dwBaseColor )
PKMSTRIPHEAD pStripHead
KMPACKEDARGB dwBaseColor
pStripHead (入力/出力)KMSTRIPHEADへのポインタ dwBaseColor (入力)SpriteのBaseColor
KMSTATUS_SUCCESS 成功 KMSTATUS_INVALID_VERTEX_TYPE 現在のVertexTypeでは無効な設定
kmGenerateStripHead()/kmGenerateStripHead15()関数、kmGenerateStripHead16()関数で構築したKMSTRIPHEAD構造体の Sprite用BaseColorを変更します。対応する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のみ設定可能