NvBlastExtShearDamageDesc

Defined in extensions/shaders/NvBlastExtDamageShaders.h

Variables

  • damage: normalized damage amount, range: [0, 1] (maximum health value to be reduced)

  • maxRadius: outer radius of damage action

  • minRadius: inner radius of damage action

  • normal: directional damage component

  • position: origin of damage action

struct NvBlastExtShearDamageDesc

Shear Damage Desc.

Public Members

float damage

normalized damage amount, range: [0, 1] (maximum health value to be reduced)

float normal[3]

directional damage component

float position[3]

origin of damage action

float minRadius

inner radius of damage action

float maxRadius

outer radius of damage action