mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-10 20:13:44 +00:00
678 lines
22 KiB
HTML
678 lines
22 KiB
HTML
<!DOCTYPE HTML>
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (11.0.27) on Tue Oct 28 02:00:43 EDT 2025 -->
|
|
<title>IModelData</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="dc.created" content="2025-10-28">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.min.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style">
|
|
<script type="text/javascript" src="../../../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
|
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
|
<!--[if IE]>
|
|
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript" src="../../../../../jquery/jquery-3.7.1.min.js"></script>
|
|
<script type="text/javascript" src="../../../../../jquery/jquery-ui.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="IModelData";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6};
|
|
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
var pathtoroot = "../../../../../";
|
|
var useModuleDirectories = true;
|
|
loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<header role="banner">
|
|
<nav role="navigation">
|
|
<div class="fixedNav">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a id="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
|
</ul>
|
|
<ul class="navListSearch">
|
|
<li><label for="search">SEARCH:</label>
|
|
<input type="text" id="search" value="search" disabled="disabled">
|
|
<input type="reset" id="reset" value="reset" disabled="disabled">
|
|
</li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a id="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
</div>
|
|
<div class="navPadding"> </div>
|
|
<script type="text/javascript"><!--
|
|
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
|
//-->
|
|
</script>
|
|
</nav>
|
|
</header>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<main role="main">
|
|
<div class="header">
|
|
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">noppes.npcs.api.entity.data</a></div>
|
|
<h2 title="Interface IModelData" class="title">Interface IModelData</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<hr>
|
|
<pre>public interface <span class="typeNameLabel">IModelData</span></pre>
|
|
<div class="block">Provides configuration data for a model including wearable settings,
|
|
hidden parts, rotation, and scale.
|
|
<p>
|
|
This interface allows controlling the appearance of an entity's model
|
|
such as headwear, bodywear, arm and leg configurations, and the ability
|
|
to hide parts. It also manages model rotation and scaling settings as well
|
|
as the association with an entity type.</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<section>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="memberSummary">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Method</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code>byte</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#bodyWear()">bodyWear</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Gets the current bodywear configuration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#bodyWear(byte)">bodyWear</a></span>​(byte config)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the bodywear configuration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#enableRotation()">enableRotation</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Checks whether rotation is enabled for the model.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#enableRotation(boolean)">enableRotation</a></span>​(boolean enableRotation)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Enables or disables rotation for the model.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEntity()">getEntity</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Gets the entity class name associated with this model data.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code><a href="IModelRotate.html" title="interface in noppes.npcs.api.entity.data">IModelRotate</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRotation()">getRotation</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the model rotation configuration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code><a href="IModelScale.html" title="interface in noppes.npcs.api.entity.data">IModelScale</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getScale()">getScale</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the model scaling configuration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code>byte</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#headWear()">headWear</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Gets the current headwear configuration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#headWear(byte)">headWear</a></span>​(byte config)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the headwear configuration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hidden(int)">hidden</a></span>​(int part)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the hide configuration for the specified part.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hidePart(int,byte)">hidePart</a></span>​(int part,
|
|
byte hide)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Hide Body Parts
|
|
part: [0: Head, 1: Body, 2: Arms, 3: Legs]
|
|
hide: [0: None, 1: Both, 2: Right, 3: Left], only values 0 and 1 used for head & body.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code>byte</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#leftArmWear()">leftArmWear</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Gets the current left arm wear configuration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#leftArmWear(byte)">leftArmWear</a></span>​(byte config)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the left arm wear configuration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code>byte</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#leftLegWear()">leftLegWear</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Gets the current left leg wear configuration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#leftLegWear(byte)">leftLegWear</a></span>​(byte config)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the left leg wear configuration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code>byte</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rightArmWear()">rightArmWear</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Gets the current right arm wear configuration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i16" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rightArmWear(byte)">rightArmWear</a></span>​(byte config)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the right arm wear configuration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i17" class="rowColor">
|
|
<td class="colFirst"><code>byte</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rightLegWear()">rightLegWear</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Gets the current right leg wear configuration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i18" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rightLegWear(byte)">rightLegWear</a></span>​(byte config)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the right leg wear configuration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i19" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setEntity(java.lang.String)">setEntity</a></span>​(java.lang.String string)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Associates this model data with an entity using its class name.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<section>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a id="headWear(byte)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>headWear</h4>
|
|
<pre class="methodSignature">void headWear​(byte config)</pre>
|
|
<div class="block">Sets the headwear configuration.
|
|
Valid values: 0 (hidden), 1 (2D), 2 (3D).</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>config</code> - the headwear configuration.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="headWear()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>headWear</h4>
|
|
<pre class="methodSignature">byte headWear()</pre>
|
|
<div class="block">Gets the current headwear configuration.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the headwear configuration.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="bodyWear(byte)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>bodyWear</h4>
|
|
<pre class="methodSignature">void bodyWear​(byte config)</pre>
|
|
<div class="block">Sets the bodywear configuration.
|
|
Valid values: 0 (hidden), 1 (2D), 2 (3D).</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>config</code> - the bodywear configuration.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="bodyWear()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>bodyWear</h4>
|
|
<pre class="methodSignature">byte bodyWear()</pre>
|
|
<div class="block">Gets the current bodywear configuration.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the bodywear configuration.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="rightArmWear(byte)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>rightArmWear</h4>
|
|
<pre class="methodSignature">void rightArmWear​(byte config)</pre>
|
|
<div class="block">Sets the right arm wear configuration.
|
|
Valid values: 0 (hidden), 1 (2D), 2 (3D).</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>config</code> - the right arm configuration.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="rightArmWear()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>rightArmWear</h4>
|
|
<pre class="methodSignature">byte rightArmWear()</pre>
|
|
<div class="block">Gets the current right arm wear configuration.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the right arm configuration.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="leftArmWear(byte)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>leftArmWear</h4>
|
|
<pre class="methodSignature">void leftArmWear​(byte config)</pre>
|
|
<div class="block">Sets the left arm wear configuration.
|
|
Valid values: 0 (hidden), 1 (2D), 2 (3D).</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>config</code> - the left arm configuration.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="leftArmWear()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>leftArmWear</h4>
|
|
<pre class="methodSignature">byte leftArmWear()</pre>
|
|
<div class="block">Gets the current left arm wear configuration.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the left arm configuration.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="rightLegWear(byte)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>rightLegWear</h4>
|
|
<pre class="methodSignature">void rightLegWear​(byte config)</pre>
|
|
<div class="block">Sets the right leg wear configuration.
|
|
Valid values: 0 (hidden), 1 (2D), 2 (3D).</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>config</code> - the right leg configuration.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="rightLegWear()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>rightLegWear</h4>
|
|
<pre class="methodSignature">byte rightLegWear()</pre>
|
|
<div class="block">Gets the current right leg wear configuration.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the right leg configuration.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="leftLegWear(byte)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>leftLegWear</h4>
|
|
<pre class="methodSignature">void leftLegWear​(byte config)</pre>
|
|
<div class="block">Sets the left leg wear configuration.
|
|
Valid values: 0 (hidden), 1 (2D), 2 (3D).</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>config</code> - the left leg configuration.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="leftLegWear()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>leftLegWear</h4>
|
|
<pre class="methodSignature">byte leftLegWear()</pre>
|
|
<div class="block">Gets the current left leg wear configuration.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the left leg configuration.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="hidePart(int,byte)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hidePart</h4>
|
|
<pre class="methodSignature">void hidePart​(int part,
|
|
byte hide)</pre>
|
|
<div class="block">Hide Body Parts
|
|
part: [0: Head, 1: Body, 2: Arms, 3: Legs]
|
|
hide: [0: None, 1: Both, 2: Right, 3: Left], only values 0 and 1 used for head & body.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>part</code> - the part index.</dd>
|
|
<dd><code>hide</code> - the hide configuration.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="hidden(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hidden</h4>
|
|
<pre class="methodSignature">int hidden​(int part)</pre>
|
|
<div class="block">Returns the hide configuration for the specified part.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>part</code> - the part index.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the current hide configuration.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="enableRotation(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>enableRotation</h4>
|
|
<pre class="methodSignature">void enableRotation​(boolean enableRotation)</pre>
|
|
<div class="block">Enables or disables rotation for the model.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>enableRotation</code> - true to enable rotation; false to disable.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="enableRotation()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>enableRotation</h4>
|
|
<pre class="methodSignature">boolean enableRotation()</pre>
|
|
<div class="block">Checks whether rotation is enabled for the model.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if rotation is enabled; false otherwise.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getRotation()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getRotation</h4>
|
|
<pre class="methodSignature"><a href="IModelRotate.html" title="interface in noppes.npcs.api.entity.data">IModelRotate</a> getRotation()</pre>
|
|
<div class="block">Returns the model rotation configuration.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the rotation settings.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getScale()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getScale</h4>
|
|
<pre class="methodSignature"><a href="IModelScale.html" title="interface in noppes.npcs.api.entity.data">IModelScale</a> getScale()</pre>
|
|
<div class="block">Returns the model scaling configuration.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the scale settings.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setEntity(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setEntity</h4>
|
|
<pre class="methodSignature">void setEntity​(java.lang.String string)</pre>
|
|
<div class="block">Associates this model data with an entity using its class name.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>string</code> - the fully qualified class name of the entity.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getEntity()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>getEntity</h4>
|
|
<pre class="methodSignature">java.lang.String getEntity()</pre>
|
|
<div class="block">Gets the entity class name associated with this model data.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the entity class name, or null if not set.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<footer role="contentinfo">
|
|
<nav role="navigation">
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a id="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../../allclasses.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a id="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</nav>
|
|
</footer>
|
|
</body>
|
|
</html>
|