pointDistanceField
field
pointDistanceField
RayTK
v0.42
A float field that provides the distance from a specific point in space from either the current position or from another point.
Parameters
| Name | Description | Regular Handling | Read-Only Handling |
|---|---|---|---|
Center | The point from which distance is measured. | Runtime | Baked |
Coord Type | The type of coordinates to use. | ||
| |||
Axes | Which axes to use when calculating distances. | Semi-Baked | Semi-Baked |
| |||
Inputs
-
Coordinate Field: (optional) If provided, this is used to produce positions instead of the actual coordinates.- Coordinate Types:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4
- Coordinate Types:
-
Center Field: (optional) If provided, this is used to produce the center position instead of the Center parameter.- Coordinate Types:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4 - Supports Variables From Inputs:
coordField
- Coordinate Types: