MeshDataTool

Inherits: Reference < Object

Category: Core

Brief Description

Member Functions

void

clear ( )

int

commit_to_surface ( Object mesh )

int

create_from_surface ( Object mesh, int surface )

int

get_edge_count ( ) const

IntArray

get_edge_faces ( int idx ) const

void

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

void

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

Object

get_material ( ) const

Vector3

get_vertex ( int idx ) const

IntArray

get_vertex_bones ( int idx ) const

Color

get_vertex_color ( int idx ) const

int

get_vertex_count ( ) const

IntArray

get_vertex_edges ( int idx ) const

IntArray

get_vertex_faces ( int idx ) const

void

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

RealArray

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, IntArray 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, RealArray weights )

Member Function Description

  • void clear ( )

  • int get_edge_count ( ) const

  • void 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

  • void get_face_meta ( int idx ) const

  • int get_face_vertex ( int idx, int vertex ) const

  • int get_format ( ) const

  • Object get_material ( ) const

  • Color get_vertex_color ( int idx ) const

  • int get_vertex_count ( ) const

  • void get_vertex_meta ( int idx ) 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 )