Simstim

VEX Dictionary / getderiv

getderiv

Computes surface-parametric U and V derivatives of a named attribute at the current shading point.

group: shadingshadingmath

Available in displace, fog, light, shadow, surface

Usage

void getderiv(float attr, string attrName, int isVertexAttr, float s, float t, float &du, float &dv, ...)
void getderiv(<vector> attr, string attrName, int isVertexAttr, float s, float t, <vector> &du, <vector> &dv, ...)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗