PrismMesh

继承: PrimitiveMesh < Mesh < Resource < RefCounted < Object

表示棱镜形状PrimitiveMesh的类。

描述

表示棱镜形状PrimitiveMesh的类。

属性


属性说明

float left_to_right = 0.5 🔗

  • void set_left_to_right(value: float)

  • float get_left_to_right()

上边缘沿X轴位移。0.0位置边缘直高于左下角边缘。


Vector3 size = Vector3(1, 1, 1) 🔗

棱镜的大小。


int subdivide_depth = 0 🔗

  • void set_subdivide_depth(value: int)

  • int get_subdivide_depth()

沿Z轴添加的边缘环的数量。


int subdivide_height = 0 🔗

  • void set_subdivide_height(value: int)

  • int get_subdivide_height()

沿Y轴添加的边缘环的数量。


int subdivide_width = 0 🔗

  • void set_subdivide_width(value: int)

  • int get_subdivide_width()

沿X轴添加的边缘环的数量。