godot-d ~releases (2022-04-02T06:37:10.8312204)
Dub
Repo
Mesh.surfaceGetMaterial
godot
mesh
Mesh
Returns a
Material
in a given surface. Surface is rendered using this material.
struct
Mesh
@
nogc
nothrow const
Ref
!
Material
surfaceGetMaterial
(
in
long
surf_idx
)
Meta
Source
See Implementation
godot
mesh
Mesh
aliases
BaseClasses
enums
ArrayFormat
ArrayType
BlendShapeMode
Constants
PrimitiveType
functions
createConvexShape
createOutline
createTrimeshShape
generateTriangleMesh
getAabb
getFaces
getLightmapSizeHint
getSurfaceCount
opAssign
opEquals
setLightmapSizeHint
surfaceGetArrays
surfaceGetBlendShapeArrays
surfaceGetMaterial
surfaceSetMaterial
toHash
properties
lightmapSizeHint
static functions
_new
static variables
_classBindingInitialized
structs
GDNativeClassBinding
unions
__anonymous
variables
_GODOT_internal_name
Returns a Material in a given surface. Surface is rendered using this material.