Mesh

Inherits: Resource < RefCounted < Object

Inherited By: ArrayMesh, ImmediateMesh, PlaceholderMesh, PrimitiveMesh

There is currently no description for this class. Please help us by contributing one!

Properties

Vector2i

lightmap_size_hint

Vector2i(0, 0)

Methods

AABB

_get_aabb ( ) virtual const

int

_get_blend_shape_count ( ) virtual const

StringName

_get_blend_shape_name ( int index ) virtual const

int

_get_surface_count ( ) virtual const

void

_set_blend_shape_name ( int index, StringName name ) virtual

int

_surface_get_array_index_len ( int index ) virtual const

int

_surface_get_array_len ( int index ) virtual const

Array

_surface_get_arrays ( int index ) virtual const

Array[]

_surface_get_blend_shape_arrays ( int index ) virtual const

int

_surface_get_format ( int index ) virtual const

Dictionary

_surface_get_lods ( int index ) virtual const

Material

_surface_get_material ( int index ) virtual const

int

_surface_get_primitive_type ( int index ) virtual const

void

_surface_set_material ( int index, Material material ) virtual

ConvexPolygonShape3D

create_convex_shape ( bool clean=true, bool simplify=false ) const

Mesh

create_outline ( float margin ) const

Resource

create_placeholder ( ) const

ConcavePolygonShape3D

create_trimesh_shape ( ) const

TriangleMesh

generate_triangle_mesh ( ) const

AABB

get_aabb ( ) const

PackedVector3Array

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

void

surface_set_material ( int surf_idx, Material material )


Enumerations

enum PrimitiveType:

PrimitiveType PRIMITIVE_POINTS = 0

There is currently no description for this enum. Please help us by contributing one!

PrimitiveType PRIMITIVE_LINES = 1

There is currently no description for this enum. Please help us by contributing one!

PrimitiveType PRIMITIVE_LINE_STRIP = 2

There is currently no description for this enum. Please help us by contributing one!

PrimitiveType PRIMITIVE_TRIANGLES = 3

There is currently no description for this enum. Please help us by contributing one!

PrimitiveType PRIMITIVE_TRIANGLE_STRIP = 4

There is currently no description for this enum. Please help us by contributing one!


enum ArrayType:

ArrayType ARRAY_VERTEX = 0

There is currently no description for this enum. Please help us by contributing one!

ArrayType ARRAY_NORMAL = 1

There is currently no description for this enum. Please help us by contributing one!

ArrayType ARRAY_TANGENT = 2

There is currently no description for this enum. Please help us by contributing one!

ArrayType ARRAY_COLOR = 3

There is currently no description for this enum. Please help us by contributing one!

ArrayType ARRAY_TEX_UV = 4

There is currently no description for this enum. Please help us by contributing one!

ArrayType ARRAY_TEX_UV2 = 5

There is currently no description for this enum. Please help us by contributing one!

ArrayType ARRAY_CUSTOM0 = 6

There is currently no description for this enum. Please help us by contributing one!

ArrayType ARRAY_CUSTOM1 = 7

There is currently no description for this enum. Please help us by contributing one!

ArrayType ARRAY_CUSTOM2 = 8

There is currently no description for this enum. Please help us by contributing one!

ArrayType ARRAY_CUSTOM3 = 9

There is currently no description for this enum. Please help us by contributing one!

ArrayType ARRAY_BONES = 10

There is currently no description for this enum. Please help us by contributing one!

ArrayType ARRAY_WEIGHTS = 11

There is currently no description for this enum. Please help us by contributing one!

ArrayType ARRAY_INDEX = 12

There is currently no description for this enum. Please help us by contributing one!

ArrayType ARRAY_MAX = 13

There is currently no description for this enum. Please help us by contributing one!


enum ArrayCustomFormat:

ArrayCustomFormat ARRAY_CUSTOM_RGBA8_UNORM = 0

There is currently no description for this enum. Please help us by contributing one!

ArrayCustomFormat ARRAY_CUSTOM_RGBA8_SNORM = 1

There is currently no description for this enum. Please help us by contributing one!

ArrayCustomFormat ARRAY_CUSTOM_RG_HALF = 2

There is currently no description for this enum. Please help us by contributing one!

ArrayCustomFormat ARRAY_CUSTOM_RGBA_HALF = 3

There is currently no description for this enum. Please help us by contributing one!

ArrayCustomFormat ARRAY_CUSTOM_R_FLOAT = 4

There is currently no description for this enum. Please help us by contributing one!

ArrayCustomFormat ARRAY_CUSTOM_RG_FLOAT = 5

There is currently no description for this enum. Please help us by contributing one!

ArrayCustomFormat ARRAY_CUSTOM_RGB_FLOAT = 6

There is currently no description for this enum. Please help us by contributing one!

ArrayCustomFormat ARRAY_CUSTOM_RGBA_FLOAT = 7

There is currently no description for this enum. Please help us by contributing one!

ArrayCustomFormat ARRAY_CUSTOM_MAX = 8

There is currently no description for this enum. Please help us by contributing one!


flags ArrayFormat:

ArrayFormat ARRAY_FORMAT_VERTEX = 1

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_NORMAL = 2

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_TANGENT = 4

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_COLOR = 8

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_TEX_UV = 16

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_TEX_UV2 = 32

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_CUSTOM0 = 64

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_CUSTOM1 = 128

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_CUSTOM2 = 256

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_CUSTOM3 = 512

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_BONES = 1024

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_WEIGHTS = 2048

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_INDEX = 4096

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_BLEND_SHAPE_MASK = 7

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_CUSTOM_BASE = 13

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_CUSTOM_BITS = 3

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_CUSTOM0_SHIFT = 13

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_CUSTOM1_SHIFT = 16

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_CUSTOM2_SHIFT = 19

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_CUSTOM3_SHIFT = 22

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FORMAT_CUSTOM_MASK = 7

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_COMPRESS_FLAGS_BASE = 25

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FLAG_USE_2D_VERTICES = 33554432

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FLAG_USE_DYNAMIC_UPDATE = 67108864

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FLAG_USE_8_BONE_WEIGHTS = 134217728

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FLAG_USES_EMPTY_VERTEX_ARRAY = 268435456

There is currently no description for this enum. Please help us by contributing one!

ArrayFormat ARRAY_FLAG_COMPRESS_ATTRIBUTES = 536870912

There is currently no description for this enum. Please help us by contributing one!


enum BlendShapeMode:

BlendShapeMode BLEND_SHAPE_MODE_NORMALIZED = 0

There is currently no description for this enum. Please help us by contributing one!

BlendShapeMode BLEND_SHAPE_MODE_RELATIVE = 1

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

Vector2i lightmap_size_hint = Vector2i(0, 0)

  • void set_lightmap_size_hint ( Vector2i value )

  • Vector2i get_lightmap_size_hint ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

AABB _get_aabb ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


int _get_blend_shape_count ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


StringName _get_blend_shape_name ( int index ) virtual const

There is currently no description for this method. Please help us by contributing one!


int _get_surface_count ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


void _set_blend_shape_name ( int index, StringName name ) virtual

There is currently no description for this method. Please help us by contributing one!


int _surface_get_array_index_len ( int index ) virtual const

There is currently no description for this method. Please help us by contributing one!


int _surface_get_array_len ( int index ) virtual const

There is currently no description for this method. Please help us by contributing one!


Array _surface_get_arrays ( int index ) virtual const

There is currently no description for this method. Please help us by contributing one!


Array[] _surface_get_blend_shape_arrays ( int index ) virtual const

There is currently no description for this method. Please help us by contributing one!


int _surface_get_format ( int index ) virtual const

There is currently no description for this method. Please help us by contributing one!


Dictionary _surface_get_lods ( int index ) virtual const

There is currently no description for this method. Please help us by contributing one!


Material _surface_get_material ( int index ) virtual const

There is currently no description for this method. Please help us by contributing one!


int _surface_get_primitive_type ( int index ) virtual const

There is currently no description for this method. Please help us by contributing one!


void _surface_set_material ( int index, Material material ) virtual

There is currently no description for this method. Please help us by contributing one!


ConvexPolygonShape3D create_convex_shape ( bool clean=true, bool simplify=false ) const

There is currently no description for this method. Please help us by contributing one!


Mesh create_outline ( float margin ) const

There is currently no description for this method. Please help us by contributing one!


Resource create_placeholder ( ) const

There is currently no description for this method. Please help us by contributing one!


ConcavePolygonShape3D create_trimesh_shape ( ) const

There is currently no description for this method. Please help us by contributing one!


TriangleMesh generate_triangle_mesh ( ) const

There is currently no description for this method. Please help us by contributing one!


AABB get_aabb ( ) const

There is currently no description for this method. Please help us by contributing one!


PackedVector3Array get_faces ( ) const

There is currently no description for this method. Please help us by contributing one!


int get_surface_count ( ) const

There is currently no description for this method. Please help us by contributing one!


Array surface_get_arrays ( int surf_idx ) const

There is currently no description for this method. Please help us by contributing one!


Array[] surface_get_blend_shape_arrays ( int surf_idx ) const

There is currently no description for this method. Please help us by contributing one!


Material surface_get_material ( int surf_idx ) const

There is currently no description for this method. Please help us by contributing one!


void surface_set_material ( int surf_idx, Material material )

There is currently no description for this method. Please help us by contributing one!