|
Nebula
|
#include <particlesystemnode.h>
Inherits Models::ShaderStateNode.
Public Member Functions | |
| ParticleSystemNode () | |
| constructor | |
| virtual | ~ParticleSystemNode () |
| destructor | |
| virtual void | UpdateMeshResource (const Resources::ResourceName &msh) |
| change a mesh during runtime | |
| IndexT | GetPrimitiveGroupIndex () const |
| get the primitive group index in the emitter mesh | |
| void | SetEmitterAttrs (const Particles::EmitterAttrs &attrs) |
| set emitter attributes | |
| const Particles::EmitterAttrs & | GetEmitterAttrs () const |
| get emitter attributes | |
| const Particles::EmitterMesh & | GetEmitterMesh () const |
| get emitter mesh | |
| const Particles::EnvelopeSampleBuffer & | GetSampleBuffer () const |
| get emitter sample buffer | |
Public Member Functions inherited from Models::ShaderStateNode | |
| ShaderStateNode () | |
| constructor | |
| virtual | ~ShaderStateNode () |
| destructor | |
| const Materials::MaterialId | GetMaterial () const |
| get surface | |
Public Member Functions inherited from Models::TransformNode | |
| TransformNode () | |
| constructor | |
| virtual | ~TransformNode () |
| destructor | |
| void | GetLODDistances (float &minDistance, float &maxDistance) |
| Get LOD distances. | |
Public Member Functions inherited from Models::ModelNode | |
| ModelNode () | |
| constructor | |
| virtual | ~ModelNode () |
| destructor | |
| const Util::Array< ModelNode * > & | GetChildren () const |
| return constant reference to children | |
| const NodeType | GetType () const |
| get type of node | |
| const NodeBits | GetBits () const |
| get feature bits of node | |
| virtual bool | GetImplicitHierarchyActivation () const |
| return true if all children should create hierarchies upon calling CreateInstance | |
| const Util::StringAtom & | GetName () const |
| return name | |
| const uint32_t | HashCode () const |
| get hash | |
| virtual std::function< void(const CoreGraphics::CmdBufferId)> | GetApplyFunction () |
| Get function to apply node. | |
| virtual std::function< const CoreGraphics::PrimitiveGroup()> | GetPrimitiveGroupFunction () |
| Get function to fetch primitive group. | |
Static Public Member Functions | |
| static Util::FixedArray< CoreGraphics::ResourceTableId > | CreateResourceTables () |
| Create resource table. | |
Static Public Member Functions inherited from Models::ShaderStateNode | |
| static Util::FixedArray< CoreGraphics::ResourceTableId > | CreateResourceTables () |
| Create resource table. | |
Protected Member Functions | |
| virtual void | OnFinishedLoading (ModelStreamingData *streamingData) override |
| called once when all pending resource have been loaded | |
| virtual bool | Load (const Util::FourCC &fourcc, const Util::StringAtom &tag, const Ptr< IO::BinaryReader > &reader, bool immediate) override |
| parse data tag (called by loader code) | |
Protected Member Functions inherited from Models::ShaderStateNode | |
| bool | Load (const Util::FourCC &fourcc, const Util::StringAtom &tag, const Ptr< IO::BinaryReader > &reader, bool immediate) override |
| load shader state | |
| virtual void | Unload () override |
| unload data | |
Protected Member Functions inherited from Models::ModelNode | |
| virtual void | Discard () |
| discard node | |
Protected Attributes | |
| Particles::EnvelopeSampleBuffer | sampleBuffer |
| Particles::EmitterAttrs | emitterAttrs |
| Particles::EmitterMesh | emitterMesh |
| Resources::ResourceName | meshResId |
| Util::StringAtom | tag |
| IndexT | primGroupIndex |
| Resources::ResourceId | meshResource |
| CoreGraphics::MeshId | mesh |
Protected Attributes inherited from Models::ShaderStateNode | |
| Resources::ResourceId | materialRes |
| Materials::MaterialId | material |
| Resources::ResourceName | materialName |
| Util::FixedArray< CoreGraphics::ResourceTableId > | resourceTables |
Protected Attributes inherited from Models::TransformNode | |
| Math::vec3 | position |
| Math::quat | rotate |
| Math::vec3 | scale |
| Math::vec3 | rotatePivot |
| Math::vec3 | scalePivot |
| bool | isInViewSpace |
| float | minDistance |
| float | maxDistance |
| bool | useLodDistances |
| bool | lockedToViewer |
Protected Attributes inherited from Models::ModelNode | |
| Util::StringAtom | name |
| NodeType | type |
| NodeBits | bits |
| Models::ModelNode * | parent |
| Util::Array< Models::ModelNode * > | children |
| Math::bbox | boundingBox |
| Util::StringAtom | tag |
| IndexT | uniqueId |
Private Member Functions | |
| Particles::EnvelopeCurve | ParseEnvelopeCurveData (const Ptr< IO::BinaryReader > &reader) const |
| helper function to parse an EnvelopeCurve from a data stream | |
Friends | |
| class | Particles::ParticleContext |
| class | Models::ModelContext |
Additional Inherited Members | |
Static Public Attributes inherited from Models::ShaderStateNode | |
| static const uint | NumMaxOffsets = 4 |
Static Protected Attributes inherited from Models::ModelNode | |
| static IndexT | ModelNodeUniqueIdCounter = 0 |
| Models::ParticleSystemNode::ParticleSystemNode | ( | ) |
constructor
|
virtual |
destructor
|
static |
Create resource table.
|
inline |
get emitter attributes
|
inline |
get emitter mesh
|
inline |
get the primitive group index in the emitter mesh
|
inline |
get emitter sample buffer
|
overrideprotectedvirtual |
parse data tag (called by loader code)
Reimplemented from Models::TransformNode.
|
overrideprotectedvirtual |
called once when all pending resource have been loaded
Reimplemented from Models::ShaderStateNode.
|
private |
helper function to parse an EnvelopeCurve from a data stream
Helper function for ParseDataTag, parses the data elements of an EnvelopeCurve from the data stream and returns an EnvelopeCurve object.
|
inline |
set emitter attributes
|
virtual |
change a mesh during runtime
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |