Sampling functions
Return type | Description |
float3 | SamplerName.sample(float3 position) Samples the vector-field at coordinate position . |
float3 | SamplerName.sample(float3 position, float time) Samples the animated vector-field at coordinate position , and at time-cursor time .time should be in the normalized [0, 1] range.If the vector-field is not animated, returns the same value as SamplerName.sample(position) . |