NNS_G2dSetEntityCurrentAnimation

構文

#include <nnsys/g2d/g2d_Entity.h>
void NNS_G2dSetEntityCurrentAnimation( NNSG2dEntity* pEntity, u16 idx );
  

引数

pEntity [OUT] エンティティ
idx [IN] 再生アニメーション番号

返り値

なし

説明

エンティティの再生アニメーションを設定します。
不正なインデックスが入力された場合、何もしません。
NNS_G2dSetCurrentAnimation()が改名されました。以前の関数は別名として残されています。

参照

NNS_G2dSetCurrentAnimation

NNS_G2dInitEntity

履歴

2004/08/02 関数改名の実施

2004/05/28 初版