MultiMeshInstance2D

Node that instances a MultiMesh in 2D.

MultiMeshInstance2D is a specialized node to instance a MultiMesh resource in 2D. Usage is the same as MultiMeshInstance.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

getMultimesh
Ref!MultiMesh getMultimesh()
getNormalMap
Ref!Texture getNormalMap()
getTexture
Ref!Texture getTexture()
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(MultiMeshInstance2D other)
opEquals
bool opEquals(typeof(null) n)
setMultimesh
void setMultimesh(MultiMesh multimesh)
setNormalMap
void setNormalMap(Texture normal_map)
setTexture
void setTexture(Texture texture)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

multimesh
MultiMesh multimesh [@property getter]
MultiMesh multimesh [@property setter]

The MultiMesh that will be drawn by the MultiMeshInstance2D.

normalMap
Texture normalMap [@property getter]
Texture normalMap [@property setter]

The normal map that will be used if using the default CanvasItemMaterial. Note: Godot expects the normal map to use X+, Y-, and Z+ coordinates. See url=http://wiki.polycount.com/wiki/Normal_Map_Technical_Details#Common_Swizzle_Coordinatesthis page/url for a comparison of normal map coordinates expected by popular engines.

texture
Texture texture [@property getter]
Texture texture [@property setter]

The Texture that will be used if using the default CanvasItemMaterial. Can be accessed as TEXTURE in CanvasItem shader.

Static functions

_new
MultiMeshInstance2D _new()

Construct a new instance of MultiMeshInstance2D. Note: use memnew!MultiMeshInstance2D instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(ToRef) as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta