mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update doc/*/vcm.md
This commit is contained in:
parent
d0cc59ad3a
commit
60f74ae54a
2 changed files with 4 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ This primitive describes a triangle.
|
||||||
- `region-scale` - multiplier vector for the UV region. Example: `region-scale (0.5,1)`
|
- `region-scale` - multiplier vector for the UV region. Example: `region-scale (0.5,1)`
|
||||||
- `shading` - determines whether shading is enabled on the primitive. Example: `shading off`
|
- `shading` - determines whether shading is enabled on the primitive. Example: `shading off`
|
||||||
- `normal` - overrides normal vector. Example: `normal (0,1,0)`
|
- `normal` - overrides normal vector. Example: `normal (0,1,0)`
|
||||||
|
- `cull-face` - determines which side will be culled. Example: `cull-face front` or `cull-face off` (disables face culling)
|
||||||
|
|
||||||
By default, texture coordinates are not affected by shape or size, unlike other primitives.
|
By default, texture coordinates are not affected by shape or size, unlike other primitives.
|
||||||
|
|
||||||
|
|
@ -58,6 +59,7 @@ This primitive describes a parallelogram using the right and up vectors.
|
||||||
- `shading` - determines whether shading is enabled on the primitive. Example: `shading off`
|
- `shading` - determines whether shading is enabled on the primitive. Example: `shading off`
|
||||||
- `flip` - flips the UV region horizontally or vertically. Example: `flip v`
|
- `flip` - flips the UV region horizontally or vertically. Example: `flip v`
|
||||||
- `normal` - overrides normal vector. Example: `normal (0,1,0)`
|
- `normal` - overrides normal vector. Example: `normal (0,1,0)`
|
||||||
|
- `cull-face` - determines which side will be culled. Example: `cull-face front` or `cull-face off` (disables face culling)
|
||||||
|
|
||||||
### `box` Properties
|
### `box` Properties
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -42,6 +42,7 @@
|
||||||
- `region-scale` вектор-множитель для UV региона. Пример: `region-scale (0.5,1)`
|
- `region-scale` вектор-множитель для UV региона. Пример: `region-scale (0.5,1)`
|
||||||
- `shading` определяет возможность затенения на примитиве. Пример: `shading off`
|
- `shading` определяет возможность затенения на примитиве. Пример: `shading off`
|
||||||
- `normal` переопределяет вектор нормали. Пример: `normal (0,1,0)`
|
- `normal` переопределяет вектор нормали. Пример: `normal (0,1,0)`
|
||||||
|
- `cull-face` - определяет, какая сторона будет отсечена. Пример: `cull-face front` или `cull-face off` (отлючает отсечение сторон)
|
||||||
|
|
||||||
Текстурные координаты по-умолчанию не зависят от формы из размера, в отличие от других примитивов.
|
Текстурные координаты по-умолчанию не зависят от формы из размера, в отличие от других примитивов.
|
||||||
|
|
||||||
|
|
@ -58,6 +59,7 @@
|
||||||
- `shading` - определяет возможность затенения на примитиве. Пример: `shading off`
|
- `shading` - определяет возможность затенения на примитиве. Пример: `shading off`
|
||||||
- `flip` - отражает UV регион по горизонтали или вертикали. Пример: `flip v`
|
- `flip` - отражает UV регион по горизонтали или вертикали. Пример: `flip v`
|
||||||
- `normal` - переопределяет вектор нормали. Пример: `normal (0,1,0)`
|
- `normal` - переопределяет вектор нормали. Пример: `normal (0,1,0)`
|
||||||
|
- `cull-face` - определяет, какая сторона будет отсечена. Пример: `cull-face front` или `cull-face off` (отлючает отсечение сторон)
|
||||||
|
|
||||||
### Свойства `box`
|
### Свойства `box`
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue