nw::gfx::ParticleSet::Create Member Function

Syntax

static ParticleSet * Create(
     SceneNode * parent,
     ResSceneObject resource,
     const ParticleSet::Description & description,
     os::IAllocator * mainAllocator,
     os::IAllocator * deviceAllocator,
     ParticleShape * shape
);

Arguments

Name Description
in parent Parent node.
in resource Resource.
in description Content to configure.
in mainAllocator Main allocator.
in deviceAllocator Device allocator.
in shape Shape.

Return Values

Transfrom node that was created.

Description

Creates a particle set from a resource.


CONFIDENTIAL