Rebel Fork Framework
Urho3D::ParticleGraphNodes::RenderBillboardInstance Class Referencefinal
Inheritance diagram for Urho3D::ParticleGraphNodes::RenderBillboardInstance:

Public Member Functions

void Init (ParticleGraphNode *node, ParticleGraphLayerInstance *layer) override
 
void OnSceneSet (Scene *scene) override
 
void UpdateDrawableAttributes () override
 
void Prepare (unsigned numParticles)
 
void UpdateParticle (unsigned index, const Vector3 &pos, const Vector2 &size, float frameIndex, Color &color, float rotation, Vector3 &direction)
 
void Commit ()
 
void operator() (const UpdateContext &context, unsigned numParticles, const SparseSpan< Vector3 > &pin0, const SparseSpan< Vector2 > &pin1, const SparseSpan< float > &frame, const SparseSpan< Color > &color, const SparseSpan< float > &rotation, const SparseSpan< Vector3 > &direction)
 

Protected Attributes

SharedPtr< Urho3D::Node > sceneNode_
 
SharedPtr< Urho3D::BillboardSetbillboardSet_
 
SharedPtr< Urho3D::Octreeoctree_
 
unsigned cols_ {}
 
unsigned rows_ {}
 
Vector2 uvTileSize_
 
Vector2 cropOffset_
 
Vector2 cropSize_
 

The documentation for this class was generated from the following files: