The shape sampler allows you to sample different properties of various 3D shapes (including custom meshes):
Selecting or hovering a shape sampler displays its shape in the viewport
Shape samplers are either generic primitives (box, sphere, …) or static meshes (FBX files) that can be used to extract shape properties (positions, normals, uvs…) at a random or specific location.
Shape samplers are most commonly used with the following templates:
- ShapeSample
- ShapeProperties
- ShapeSampleFromUV
- ShapeSampleDistanceField
- shape.project
- shape.contains
- Projection
Note: Shapes can be overridden by any other shape (including animated meshes) by the game engine when using attribute samplers.