CubeMesh
Inherits: PrimitiveMesh < Mesh < Resource < Reference < Object PrimitiveMesh.
Description
PrimitiveMesh.
Vector3(3, 2, 1).
Note: When using a large textured CubeMesh (e.g. as a floor), you may stumble upon UV jittering issues depending on the camera angle. To solve this, increase subdivide_depth, subdivide_height and subdivide_width until you no longer notice UV jittering.
Properties
Property Descriptions
- Vector3 size Size of the cuboid mesh.
- int subdivide_depth Number of extra edge loops inserted along the Z axis.
- int subdivide_height Number of extra edge loops inserted along the Y axis.
- int subdivide_width Number of extra edge loops inserted along the X axis.
