Ninjaライブラリ - パーティクル関数

njPtclSpriteEnd

パーティクルスプライトの描画の終了

書式

void njPtclSpriteEnd( void ) 

引数

なし

戻り値

なし

解説

テクスチャ付きのパーティクル群の描画の終了を宣言します。 njPtclSpriteStart関数とこの関数の間に実行する njPtclDrawSprite関数で実際の描画を行います。 njPtclSpriteStart関数とnjPtclSpriteEnd関数の間では 何度でも njPtclDrawSprite関数を呼ぶことができますが、他の描画関数を呼ぶことはできません。

用例

NJS_POINT3  ptcl[100] = {
   { 0.f, 0.f, 0.f },
   { 1.f, 0.f, 0.f },
   { 0.f, 1.f, 0.f },
	:

};

njPtclSpriteStart( 0, 0xffffffff, 0 );
njPtclDrawSprite( ptcl, 100, 10,f, 10,f );
njRotateXYZ( NULL, 0x1000, 0x1000, 0x1000 );
njPtclDrawSprite( ptcl, 100, 10,f, 10,f );
njPtclSpriteEnd();

参照

njPtclSpriteStart()
njPtclDrawSprite()

njPtclSpriteEnd
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999