godot-d ~releases (2022-04-02T06:37:10.8312204)
Dub
Repo
MeshInstance.setSurfaceMaterial
godot
meshinstance
MeshInstance
Sets the
Material
for a surface of the
Mesh
resource.
struct
MeshInstance
@
nogc
nothrow
void
setSurfaceMaterial
(
in
long
surface
,
Material
material
)
Meta
Source
See Implementation
godot
meshinstance
MeshInstance
aliases
BaseClasses
functions
_meshChanged
_updateSkinning
createConvexCollision
createDebugTangents
createTrimeshCollision
getActiveMaterial
getMesh
getSkeletonPath
getSkin
getSurfaceMaterial
getSurfaceMaterialCount
isSoftwareSkinningTransformNormalsEnabled
opAssign
opEquals
setMesh
setSkeletonPath
setSkin
setSoftwareSkinningTransformNormals
setSurfaceMaterial
toHash
properties
mesh
skeleton
skin
softwareSkinningTransformNormals
static functions
_new
static variables
_classBindingInitialized
structs
GDNativeClassBinding
unions
__anonymous
variables
_GODOT_internal_name
Sets the Material for a surface of the Mesh resource.