Portal64/skelatool64/doc/modules/sk_transform.html
2022-12-30 20:28:27 -07:00

195 lines
4.3 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>skeletool64</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Functions">Functions</a></li>
<li><a href="#Class_Transform">Class Transform </a></li>
</ul>
<h2>Modules</h2>
<ul class="nowrap">
<li><a href="../modules/sk_input.html">sk_input</a></li>
<li><a href="../modules/sk_mesh.html">sk_mesh</a></li>
<li><strong>sk_transform</strong></li>
<li><a href="../modules/sk_animation.html">sk_animation</a></li>
<li><a href="../modules/sk_definition_writer.html">sk_definition_writer</a></li>
<li><a href="../modules/sk_math.html">sk_math</a></li>
<li><a href="../modules/sk_scene.html">sk_scene</a></li>
</ul>
</div>
<div id="content">
<h1>Module <code>sk_transform</code></h1>
<p></p>
<p></p>
<h2><a href="#Functions">Functions</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#from_pos_rot_scale">from_pos_rot_scale (pos[, rot[, scale]])</a></td>
<td class="summary"></td>
</tr>
</table>
<h2><a href="#Class_Transform">Class Transform </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Transform:decompose">Transform:decompose ()</a></td>
<td class="summary"></td>
</tr>
<tr>
<td class="name" nowrap><a href="#Transform:__mul">Transform:__mul (other)</a></td>
<td class="summary"></td>
</tr>
</table>
<br/>
<br/>
<h2 class="section-header "><a name="Functions"></a>Functions</h2>
<dl class="function">
<dt>
<a name = "from_pos_rot_scale"></a>
<strong>from_pos_rot_scale (pos[, rot[, scale]])</strong>
</dt>
<dd>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">pos</span>
<span class="types"><span class="type">sk_math.Vector3</span></span>
</li>
<li><span class="parameter">rot</span>
<span class="types"><span class="type">sk_math.Quaternion</span></span>
(<em>optional</em>)
</li>
<li><span class="parameter">scale</span>
<span class="types"><span class="type">sk_math.Scale</span></span>
(<em>optional</em>)
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../modules/sk_transform.html#Transform">Transform</a></span>
</ol>
</dd>
</dl>
<h2 class="section-header has-description"><a name="Class_Transform"></a>Class Transform </h2>
<div class="section-description">
A 4x4 matrix transform
</div>
<dl class="function">
<dt>
<a name = "Transform:decompose"></a>
<strong>Transform:decompose ()</strong>
</dt>
<dd>
<h3>Returns:</h3>
<ol>
<li>
<span class="types"><span class="type">vector3.Vector3</span></span>
position</li>
<li>
<span class="types"><span class="type">quaternion.Quaternion</span></span>
rotation</li>
<li>
<span class="types"><span class="type">vector3.Vector3</span></span>
scale</li>
</ol>
</dd>
<dt>
<a name = "Transform:__mul"></a>
<strong>Transform:__mul (other)</strong>
</dt>
<dd>
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">other</span>
<span class="types"><a class="type" href="../modules/sk_transform.html#Transform">Transform</a> or <span class="type">sk_math.Vector3</span></span>
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../modules/sk_transform.html#Transform">Transform</a></span>
</ol>
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
<i style="float:right;">Last updated 2022-12-30 12:30:52 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>