godot-d v0.1.1 (2018-11-04T13:23:39Z)
Dub
Repo
ArrayMesh.surfaceSetMaterial
godot
arraymesh
ArrayMesh
Set a
Material
for a given surface. Surface will be rendered using this material.
struct
ArrayMesh
@
nogc
nothrow
void
surfaceSetMaterial
(
in
long
surf_idx
,
Material
material
)
Meta
Source
See Implementation
godot
arraymesh
ArrayMesh
aliases
BaseClasses
enums
ArrayFormat
ArrayType
Constants
functions
addBlendShape
addSurfaceFromArrays
centerGeometry
clearBlendShapes
getBlendShapeCount
getBlendShapeMode
getBlendShapeName
getCustomAabb
lightmapUnwrap
opAssign
opEquals
regenNormalmaps
setBlendShapeMode
setCustomAabb
surfaceFindByName
surfaceGetArrayIndexLen
surfaceGetArrayLen
surfaceGetFormat
surfaceGetName
surfaceGetPrimitiveType
surfaceRemove
surfaceSetMaterial
surfaceSetName
surfaceUpdateRegion
properties
blendShapeMode
customAabb
static functions
_new
static variables
_classBindingInitialized
structs
_classBinding
unions
__anonymous
variables
_GODOT_internal_name
Set a Material for a given surface. Surface will be rendered using this material.