ConcavePolygonShape¶
Inherits: Shape < Resource < Reference < Object
类别: 核心
简要说明¶
凹多边形。
方法¶
get_faces ( ) const |
|
无效 |
set_faces ( PoolVector3Array faces ) |
描述¶
凹多边形形状资源,可设置为 PhysicsBody 或区域。此形状是通过输入三角形列表创建的。
方法说明¶
PoolVector3Array get_faces ( ) const
返回面(三角形数组)。
void set_faces ( PoolVector3Array faces )
设置面(三角形数组)。