Godot Engine 3.2Alpha
继承于Resource < Reference < Object,是一种资源类型,作用是把各种网格格式解析成一种Godot的中间格式
常用属性
| 类型 | 属性名 | 说明 |
|---|---|---|
| Vector2 | lightmap_size_hint |
常用方法
| 类型 | 方法名 | 说明 |
|---|---|---|
| Shape | create_convex_shape ( ) const | |
| Mesh | create_outline ( float margin ) const | |
| Shape | create_trimesh_shape ( ) const | |
| TriangleMesh | generate_triangle_mesh ( ) const | |
| PoolVector3Array | get_faces ( ) const | |
| int | get_surface_count ( ) const | |
| Array | surface_get_arrays ( int surf_idx ) const | |
| Array | surface_get_blend_shape_arrays ( int surf_idx ) const | |
| Material | surface_get_material ( int surf_idx ) const |
