Simstim

VEX Dictionary / volumesmoothsample

volumesmoothsample

Samples a volume/VDB primitive's scalar value using smooth interpolation, optionally returning the gradient.

group: volumevolume

Available in every context

Usage

float volumesmoothsample(<geometry>, int primnum, vector pos)
float volumesmoothsample(<geometry>, string volumename, vector pos)
float volumesmoothsample(<geometry>, int primnum, vector pos, vector &grad)
float volumesmoothsample(<geometry>, string volumename, vector pos, vector &grad)
float volumesmoothsample(<geometry>, int primnum, vector pos, vector &grad, matrix3 &hess)
float volumesmoothsample(<geometry>, string volumename, vector pos, vector &grad, matrix3 &hess)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗