NvFlowGridEmitParams Struct Reference
[NvFlowGridEmit]

Parameters for both emission and collision. More...

#include <NvFlow.h>


Data Fields

float allocationPredict
 Higher values cause extra allocation based on linear velocity and predict velocity.
NvFlowFloat3 allocationScale
 Higher values cause more blocks to allocate around emitter; 0.f means no allocation, 1.f is default.
NvFlowFloat4x4 bounds
 Transform from emitter ndc to world space.
NvFlowFloat3 centerOfMass
 Center of mass in emitter local coordinate space.
float deltaTime
 DeltaTime used to compute impulse.
NvFlowUint emitMaterialIndex
 Index into material lookup defined by NvFlowGridUpdateEmitMaterials().
NvFlowUint emitMode
 Emitter behavior, based on NvFlowGridEmitMode, 0u is default.
float fuel
 Target fuel.
float fuelCoupleRate
 Rate of correction to target, inf means instantaneous.
float fuelRelease
 Fuel released when temperature exceeds release temperature.
float fuelReleaseTemp
 Minimum temperature to release fuelRelease additional fuel.
NvFlowFloat4x4 localToWorld
 Transform from shape local space to world space.
float maxActiveDist
 Maximum distance value for active emission.
float maxEdgeDist
 Distance before maxActiveDist to 0.0 emitter opacity.
float minActiveDist
 Minimum distance value for active emission.
float minEdgeDist
 Distance from minActiveDist to 1.0 emitter opacity.
NvFlowFloat3 predictVelocity
 Velocity used only for predict.
float predictVelocityWeight
 Blend weight between linearVelocity and predictVelocity.
float shapeDistScale
 Scale to apply to SDF value.
NvFlowUint shapeRangeOffset
 Start of shape range, offset in number of Shapes.
NvFlowUint shapeRangeSize
 Size of shape range, in number of Shapes.
NvFlowShapeType shapeType
 Type of shape in the set.
float slipFactor
 0.0 => no slip, fully damped; 1.0 => full slip
float slipThickness
 Thickness of slip boundary region.
float smoke
 Target smoke.
float smokeCoupleRate
 Rate of correction to target, inf means instantaneous.
float temperature
 Target temperature.
float temperatureCoupleRate
 Rate of correction to target, inf means instantaneous.
NvFlowFloat3 velocityAngular
 Angular velocity, in world units, emitter direction.
NvFlowFloat3 velocityCoupleRate
 Rate of correction to target, inf means instantaneous.
NvFlowFloat3 velocityLinear
 Linear velocity, in world units, emitter direction.


Detailed Description

Parameters for both emission and collision.

Field Documentation

Higher values cause extra allocation based on linear velocity and predict velocity.

Higher values cause more blocks to allocate around emitter; 0.f means no allocation, 1.f is default.

Transform from emitter ndc to world space.

Center of mass in emitter local coordinate space.

DeltaTime used to compute impulse.

Index into material lookup defined by NvFlowGridUpdateEmitMaterials().

Emitter behavior, based on NvFlowGridEmitMode, 0u is default.

Target fuel.

Rate of correction to target, inf means instantaneous.

Fuel released when temperature exceeds release temperature.

Minimum temperature to release fuelRelease additional fuel.

Transform from shape local space to world space.

Maximum distance value for active emission.

Distance before maxActiveDist to 0.0 emitter opacity.

Minimum distance value for active emission.

Distance from minActiveDist to 1.0 emitter opacity.

Velocity used only for predict.

Blend weight between linearVelocity and predictVelocity.

Scale to apply to SDF value.

Start of shape range, offset in number of Shapes.

Size of shape range, in number of Shapes.

Type of shape in the set.

0.0 => no slip, fully damped; 1.0 => full slip

Thickness of slip boundary region.

Target smoke.

Rate of correction to target, inf means instantaneous.

Target temperature.

Rate of correction to target, inf means instantaneous.

Angular velocity, in world units, emitter direction.

Rate of correction to target, inf means instantaneous.

Linear velocity, in world units, emitter direction.


The documentation for this struct was generated from the following file: