nw::gfx::SceneBuilder::ParticleSetMarginCount Member Function

Syntax

SceneBuilder & ParticleSetMarginCount(
     int marginCount
);

Arguments

Name Description
marginCount

Return Values

Description

Sets the number of buffers to create when creating a particle set.

If a value is specified, the number of buffers given by that value plus the value specified for the number of particle sets in the resource are created. If 0 is specified, the number of buffers given by the number of particle sets in the resource plus the default margin are created.


CONFIDENTIAL