API Reference · Materials and textures

MappingSpace

Namespace: Ava3D

public enum MappingSpace

Whether a projection travels with the object or stays fixed in the world.

Values

ValueDescription
Object

The object's own space. The texture sticks to the geometry, so it does not swim when the object moves — and after a fold, an object's space is its room's.

World

World space. Two identical objects at two positions read different parts of the texture, which breaks up a repeat for free — and makes anything that moves swim, which is why it is not the default.

See also