From: res <re...@gm...> - 2006-01-22 22:14:23
|
On 22.01.2006 23:05, Andrew Craig wrote: > // Snow needs a particle system, weather already has it's own > csRef<iParticleState> partstate ( SCF_QUERY_INTERFACE (mesh->GetM= eshObject (), iParticleState)); > partstate->SetMixMode (CS_FX_ADD); > ! partstate->SetChangeColor (csColor (.25,.25,.25)); > =20 > csRef<iSnowState> snowstate(SCF_QUERY_INTERFACE (mesh->GetMeshObj= ect (), iSnowState)); The SetColor() in iMeshObject is equivalent to the old iParticleState::SetColor(). -f.r. |