Mesh Vertexes
From GMod Wiki
This page needs reviewing. An expert needs to verify that all of the information in this page is correct. See more articles for review here. |
Structure | |
Name | Mesh Vertexes |
Available On: | |
Description: | |
Used to create meshes |
Members
Type | Name | Description |
---|---|---|
Vector | pos | The position of the vertex in model space (I assume this means it's a local position.) |
Vector | normal | (Optional) The normal of the vertex, this should normally face out wards from the the surface it is drawing |
Float | u | (Optional) Horizontal texture Coordinate. |
Float | v | (Optional) Vertical texture Coordinate. |
Examples
Description | N/A | ||
---|---|---|---|
Used on | |||
Code |
| ||
Output | N/A |
Additional Notes
- Make sure to define your primitives clockwise, otherwise they will be culled.