Rendering.VertexAttributeDescriptor.dimension

Unity · Версия 2020.3 LTS · Scripting · VertexAttributeDescriptor

Rendering.VertexAttributeDescriptor.dimension

public int dimension;

Описание

Размерность атрибута вершины.

Размер должен быть от 1 до 4 включительно. Значение по умолчанию – 3.

Смотрите так же: Mesh.SetVertexBufferParams.

Обновлено 17 ноября 2026 г.