MeshDataTool

Inherits: Reference < Object

Category: Core

Brief Description

Member Functions

void clear ( )
int commit_to_surface ( ArrayMesh mesh )
int create_from_surface ( ArrayMesh mesh, int surface )
int get_edge_count ( ) const
PoolIntArray get_edge_faces ( int idx ) const
Variant get_edge_meta ( int idx ) const
int get_edge_vertex ( int idx, int vertex ) const
int get_face_count ( ) const
int get_face_edge ( int idx, int edge ) const
Variant get_face_meta ( int idx ) const
Vector3 get_face_normal ( int idx ) const
int get_face_vertex ( int idx, int vertex ) const
int get_format ( ) const
Material get_material ( ) const
Vector3 get_vertex ( int idx ) const
PoolIntArray get_vertex_bones ( int idx ) const
Color get_vertex_color ( int idx ) const
int get_vertex_count ( ) const
PoolIntArray get_vertex_edges ( int idx ) const
PoolIntArray get_vertex_faces ( int idx ) const
Variant get_vertex_meta ( int idx ) const
Vector3 get_vertex_normal ( int idx ) const
Plane get_vertex_tangent ( int idx ) const
Vector2 get_vertex_uv ( int idx ) const
Vector2 get_vertex_uv2 ( int idx ) const
PoolRealArray get_vertex_weights ( int idx ) const
void set_edge_meta ( int idx, Variant meta )
void set_face_meta ( int idx, Variant meta )
void set_material ( Material material )
void set_vertex ( int idx, Vector3 vertex )
void set_vertex_bones ( int idx, PoolIntArray bones )
void set_vertex_color ( int idx, Color color )
void set_vertex_meta ( int idx, Variant meta )
void set_vertex_normal ( int idx, Vector3 normal )
void set_vertex_tangent ( int idx, Plane tangent )
void set_vertex_uv ( int idx, Vector2 uv )
void set_vertex_uv2 ( int idx, Vector2 uv2 )
void set_vertex_weights ( int idx, PoolRealArray weights )

Member Function Description

  • void clear ( )
  • int get_edge_count ( ) const
  • int get_edge_vertex ( int idx, int vertex ) const
  • int get_face_count ( ) const
  • int get_face_edge ( int idx, int edge ) const
  • int get_face_vertex ( int idx, int vertex ) const
  • int get_format ( ) const
  • Color get_vertex_color ( int idx ) const
  • int get_vertex_count ( ) const
  • Plane get_vertex_tangent ( int idx ) const
  • void set_material ( Material material )
  • void set_vertex_color ( int idx, Color color )
  • void set_vertex_normal ( int idx, Vector3 normal )
  • void set_vertex_tangent ( int idx, Plane tangent )