warp.volume\_sample\_v ====================== .. currentmodule:: warp._src.lang .. function:: volume_sample_v(id: uint64, uvw: vec3f, sampling_mode: int32) -> vec3f .. wp-function-tags:: :kernel: true :python: true :differentiable: true Sample the vector (:class:`warp.vec3f`) volume given by ``id`` at the index-space point ``uvw``. ``uvw`` is in index space (voxel coordinates) and may be fractional; ``sampling_mode`` must be :attr:`warp.Volume.CLOSEST` or :attr:`warp.Volume.LINEAR` and is applied per component. Sampling uses the resolved volume value (see :func:`~warp.volume_sample`). ``id`` must identify a ``vec3f`` volume. In kernels, ``volume_sample_v()`` is equivalent to :func:`~warp.volume_sample` with ``dtype=warp.vec3f``. :returns: The sampled :class:`warp.vec3f` value. See :func:`~warp.volume_sample` for a usage example.