<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=Mesh</id>
	<title>Mesh - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=Mesh"/>
	<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=Mesh&amp;action=history"/>
	<updated>2026-04-22T00:34:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.4</generator>
	<entry>
		<id>https://wiki.crumbledworld.com/index.php?title=Mesh&amp;diff=17&amp;oldid=prev</id>
		<title>Anders: Created page with &quot;{{:MeshExampleCode}}  ==Inheritance== RenderNode  ==Static functions== {| class=&quot;wikitable&quot; !|return !|function !|description |- |Mesh |new() |Create a new Instance of the the Mesh |- |}  ==Functions== {| class=&quot;wikitable&quot; !|return !|function !|description |- |float |setColor() |get mesh approximated height. |- |float |getHeight() |get mesh apporixmated height. |- |bool |Mesh:getHasAlpha()|getHasAlp...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=Mesh&amp;diff=17&amp;oldid=prev"/>
		<updated>2025-07-05T13:00:24Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{:MeshExampleCode}}  ==Inheritance== &lt;a href=&quot;/index.php/RenderNode&quot; title=&quot;RenderNode&quot;&gt;RenderNode&lt;/a&gt;  ==Static functions== {| class=&amp;quot;wikitable&amp;quot; !|return !|function !|description |- |&lt;a href=&quot;/index.php/Mesh&quot; title=&quot;Mesh&quot;&gt;Mesh&lt;/a&gt; |&lt;a href=&quot;/index.php?title=Mesh:new()&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Mesh:new() (page does not exist)&quot;&gt;new&lt;/a&gt;() |Create a new Instance of the the Mesh |- |}  ==Functions== {| class=&amp;quot;wikitable&amp;quot; !|return !|function !|description |- |float |&lt;a href=&quot;/index.php?title=Mesh:getGlobalHeight()&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Mesh:getGlobalHeight() (page does not exist)&quot;&gt;setColor&lt;/a&gt;() |get mesh approximated height. |- |float |&lt;a href=&quot;/index.php?title=Mesh:getHeight()&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Mesh:getHeight() (page does not exist)&quot;&gt;getHeight&lt;/a&gt;() |get mesh apporixmated height. |- |bool |Mesh:getHasAlpha()|getHasAlp...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{:MeshExampleCode}}&lt;br /&gt;
&lt;br /&gt;
==Inheritance==&lt;br /&gt;
[[RenderNode]]&lt;br /&gt;
&lt;br /&gt;
==Static functions==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!|return&lt;br /&gt;
!|function&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|[[Mesh]]&lt;br /&gt;
|[[Mesh:new()|new]]()&lt;br /&gt;
|Create a new Instance of the the Mesh&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!|return&lt;br /&gt;
!|function&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|float&lt;br /&gt;
|[[Mesh:getGlobalHeight()|setColor]]()&lt;br /&gt;
|get mesh approximated height.&lt;br /&gt;
|-&lt;br /&gt;
|float&lt;br /&gt;
|[[Mesh:getHeight()|getHeight]]()&lt;br /&gt;
|get mesh apporixmated height.&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|[[Mesh:getHasAlpha()|getHasAlpha]]()&lt;br /&gt;
|get if the mesh has alpha.&lt;br /&gt;
|-&lt;br /&gt;
|[[String]]&lt;br /&gt;
|[[Mesh:getName()|getName]]()&lt;br /&gt;
|get mesh name.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|[[Vec3]]&lt;br /&gt;
|[[Mesh:getVertex(int index)|getVertex]](int index)&lt;br /&gt;
|Returns the current local position for this mesh. Animation will effect the position.&lt;br /&gt;
|-&lt;br /&gt;
|[[Vec3]]&lt;br /&gt;
|[[Mesh:getNormal(int index)|getNormal]](int index)&lt;br /&gt;
|Returns the current local normal for this mesh. Animation will effect the position.&lt;br /&gt;
|-&lt;br /&gt;
|[[Vec3]]&lt;br /&gt;
|[[Mesh:getTangent(int index)|getTangent]](int index)&lt;br /&gt;
|Returns the current local tangent for this mesh. Animation will effect the position.&lt;br /&gt;
|-&lt;br /&gt;
|[[Vec2]]&lt;br /&gt;
|[[Mesh:getUvCoord(int index)|getUvCoord]](int index)&lt;br /&gt;
|Returns the uvCoord.&lt;br /&gt;
|-&lt;br /&gt;
|[[Vec3]]&lt;br /&gt;
|[[Mesh:getColor(int index)|getColor]](int index)&lt;br /&gt;
|Returns the color.&lt;br /&gt;
|-&lt;br /&gt;
|int&lt;br /&gt;
|[[Mesh:getIndex(int index)|getIndex]](int index)&lt;br /&gt;
|return the vertex index.&lt;br /&gt;
|-&lt;br /&gt;
|int&lt;br /&gt;
|[[Mesh:getNumVertex()|getNumVertex]]()&lt;br /&gt;
|Return number of vertices.&lt;br /&gt;
|-&lt;br /&gt;
|int&lt;br /&gt;
|[[Mesh:getNumIndex()|getNumIndex]]()&lt;br /&gt;
|Return number of index.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Mesh:setColor(Vec3 color)|setColor]]([[Vec3]] color)&lt;br /&gt;
|Set shader.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Mesh:setName(string name)|setName]](string name)&lt;br /&gt;
|Set the name of the mesh&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Mesh:setColor(Vec4 color)|setColor]]([[Vec4]] color)&lt;br /&gt;
|Set shader.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Mesh:setVisible(bool visible)|setVisible]](bool visible)&lt;br /&gt;
|Set visible.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Mesh:rotate(Vec3 axis, float rad)|rotate]]([[Vec3]] axis, float rad)&lt;br /&gt;
|roate around axis.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Mesh:rotateAroundPoint(Vec3 axis, Vec3 point, float rad)|rotateAroundPoint]]([[Vec3]] axis, [[Vec3]] point, float rad)&lt;br /&gt;
|rotae around a given point on the given axis.&lt;br /&gt;
|-&lt;br /&gt;
|[[NodeMesh]]&lt;br /&gt;
|[[Mesh:splitMeshByBoneName(string boneName)|splitMeshByBoneName]](string boneName)&lt;br /&gt;
|Split the mesh in two, return nil when mesh is no splited.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Anders</name></author>
	</entry>
</feed>