diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a03088.html | 1740 |
1 files changed, 1740 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03088.html b/docs/doxygen/nel/a03088.html new file mode 100644 index 00000000..a8492b1f --- /dev/null +++ b/docs/doxygen/nel/a03088.html @@ -0,0 +1,1740 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NL3D::CPlayListUser class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::CPlayListUser Class Reference</h1><code>#include <<a class="el" href="a06178.html">play_list_user.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CPlayListUser: +<p><center><img src="a03088.png" usemap="#NL3D::CPlayListUser_map" border="0" alt=""></center> +<map name="NL3D::CPlayListUser_map"> +<area href="a03089.html" alt="NL3D::UPlayList" shape="rect" coords="0,0,129,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<a class="el" href="a03089.html">UPlayList</a> implementation. Basicly, this is a playlist, plus a ChannelMixer. <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06178.html#l00050">50</a> of file <a class="el" href="a06178.html">play_list_user.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom>{ <a class="el" href="a03089.html#NL3D_1_1UPlayListw0NL3D_1_1UPlayListw3">empty</a> = 0xffffffff + }</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a03089.html#NL3D_1_1UPlayListw5">TWrapMode</a> { <a class="el" href="a03089.html#NL3D_1_1UPlayListw5NL3D_1_1UPlayListw1">Clamp</a> = 0, +<a class="el" href="a03089.html#NL3D_1_1UPlayListw5NL3D_1_1UPlayListw4">Repeat</a>, +<a class="el" href="a03089.html#NL3D_1_1UPlayListw5NL3D_1_1UPlayListw2">Disable</a>, +<a class="el" href="a03089.html#NL3D_1_1UPlayListw5NL3D_1_1UPlayListw6">WrapModeCount</a> + }</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Wrap mode for the play list. <a href="#NL3D_1_1UPlayListw5">More...</a><br><br></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUsera0">CPlayListUser</a> (<a class="el" href="a03408.html">NLMISC::CSmartPtr</a>< <a class="el" href="a02210.html">CAnimationSet</a> > animationSet)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CPlayListUsera0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUsera1">evalPlayList</a> (double playTime)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Tool function. setup the mixer, and eval global channels. <a href="#NL3D_1_1CPlayListUsera1"></a><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Animation Setup.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz683_0">emptyPlayList</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz683_1">getAnimation</a> (<a class="el" href="a04558.html#a7">uint8</a> slot) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz683_2">setAnimation</a> (<a class="el" href="a04558.html#a7">uint8</a> slot, <a class="el" href="a04558.html#a15">uint</a> animation)</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Special channel operation.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz691_0">enableChannel</a> (<a class="el" href="a04558.html#a15">uint</a> channelId, bool enable)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz691_1">isChannelEnabled</a> (<a class="el" href="a04558.html#a15">uint</a> channelId) const </td></tr> + +<tr><td colspan="2"><div class="groupHeader">Animation Weight Setup.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz687_0">getEndWeight</a> (<a class="el" href="a04558.html#a7">uint8</a> slot, <a class="el" href="a05363.html#a367">TGlobalAnimationTime</a> &time) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a05363.html#a366">TAnimationTime</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz687_1">getLocalTime</a> (<a class="el" href="a04558.html#a7">uint8</a> slot, <a class="el" href="a05363.html#a367">TGlobalAnimationTime</a> globalTime, const <a class="el" href="a02212.html">UAnimationSet</a> &animSet) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz687_2">getLocalWeight</a> (<a class="el" href="a04558.html#a7">uint8</a> slot, <a class="el" href="a05363.html#a367">TGlobalAnimationTime</a> globalTime) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz687_3">getStartWeight</a> (<a class="el" href="a04558.html#a7">uint8</a> slot, <a class="el" href="a05363.html#a367">TGlobalAnimationTime</a> &time) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz687_4">getWeightSmoothness</a> (<a class="el" href="a04558.html#a7">uint8</a> slot) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz687_5">setEndWeight</a> (<a class="el" href="a04558.html#a7">uint8</a> slot, float endWeight, <a class="el" href="a05363.html#a367">TGlobalAnimationTime</a> time)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz687_6">setStartWeight</a> (<a class="el" href="a04558.html#a7">uint8</a> slot, float startWeight, <a class="el" href="a05363.html#a367">TGlobalAnimationTime</a> time)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz687_7">setWeight</a> (<a class="el" href="a04558.html#a7">uint8</a> slot, float weight)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz687_8">setWeightSmoothness</a> (<a class="el" href="a04558.html#a7">uint8</a> slot, float smoothness)</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Skeleton Weight Setup.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz689_0">getSkeletonWeight</a> (<a class="el" href="a04558.html#a7">uint8</a> slot, bool &inverted) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz689_1">setSkeletonWeight</a> (<a class="el" href="a04558.html#a7">uint8</a> slot, <a class="el" href="a04558.html#a15">uint</a> skeletonId, bool inverted=false)</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Animation Time Setup.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz685_0">getSpeedFactor</a> (<a class="el" href="a04558.html#a7">uint8</a> slot) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a05363.html#a367">TGlobalAnimationTime</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz685_1">getTimeOrigin</a> (<a class="el" href="a04558.html#a7">uint8</a> slot) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03089.html#NL3D_1_1UPlayListw5">TWrapMode</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz685_2">getWrapMode</a> (<a class="el" href="a04558.html#a7">uint8</a> slot) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz685_3">setSpeedFactor</a> (<a class="el" href="a04558.html#a7">uint8</a> slot, float speedFactor)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz685_4">setTimeOrigin</a> (<a class="el" href="a04558.html#a7">uint8</a> slot, <a class="el" href="a05363.html#a367">TGlobalAnimationTime</a> timeOrigin)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz685_5">setWrapMode</a> (<a class="el" href="a04558.html#a7">uint8</a> slot, <a class="el" href="a03089.html#NL3D_1_1UPlayListw5">TWrapMode</a> wrapMode)</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Animatable Link.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz681_0">registerTransform</a> (<a class="el" href="a02321.html">UTransform</a> *object, const char *prefix)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserz681_1">resetAllChannels</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03408.html">NLMISC::CSmartPtr</a>< <a class="el" href="a02210.html">CAnimationSet</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserr0">_AnimationSet</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02335.html">CChannelMixer</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserr1">_ChannelMixer</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02208.html">CAnimationPlaylist</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a></td></tr> + +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="a03088.html#NL3D_1_1CPlayListUsern0">CPlayListManagerUser</a></td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NL3D_1_1UPlayListw0" doxytag="NL3D::CPlayListUser::@62" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> anonymous enum<code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UPlayListw0NL3D_1_1UPlayListw3" doxytag="empty" ></a>empty</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06618.html#l00063">63</a> of file <a class="el" href="a06618.html">u_play_list.h</a>. +<p> +<div class="fragment"><pre>00064 { +00065 <span class="comment">// </span> +00066 <a class="code" href="a03089.html#NL3D_1_1UPlayListw0NL3D_1_1UPlayListw3">empty</a>=0xffffffff +00067 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UPlayListw5" doxytag="NL3D::CPlayListUser::TWrapMode" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a03089.html#NL3D_1_1UPlayListw5">NL3D::UPlayList::TWrapMode</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Wrap mode for the play list. +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UPlayListw5NL3D_1_1UPlayListw1" doxytag="Clamp" ></a>Clamp</em> </td><td> +Clamp the animation time. (default). </td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UPlayListw5NL3D_1_1UPlayListw4" doxytag="Repeat" ></a>Repeat</em> </td><td> +Repeat the animation. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UPlayListw5NL3D_1_1UPlayListw2" doxytag="Disable" ></a>Disable</em> </td><td> +Disable the animation. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UPlayListw5NL3D_1_1UPlayListw6" doxytag="WrapModeCount" ></a>WrapModeCount</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06618.html#l00070">70</a> of file <a class="el" href="a06618.html">u_play_list.h</a>. +<p> +<div class="fragment"><pre>00071 { +00073 <a class="code" href="a03089.html#NL3D_1_1UPlayListw5NL3D_1_1UPlayListw1">Clamp</a>=0, +00074 +00076 <a class="code" href="a03089.html#NL3D_1_1UPlayListw5NL3D_1_1UPlayListw4">Repeat</a>, +00077 +00079 <a class="code" href="a03089.html#NL3D_1_1UPlayListw5NL3D_1_1UPlayListw2">Disable</a>, +00080 +00081 <a class="code" href="a03089.html#NL3D_1_1UPlayListw5NL3D_1_1UPlayListw6">WrapModeCount</a> +00082 }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CPlayListUsera0" doxytag="NL3D::CPlayListUser::CPlayListUser" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CPlayListUser::CPlayListUser </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03408.html">NLMISC::CSmartPtr</a>< <a class="el" href="a02210.html">CAnimationSet</a> > </td> + <td class="mdname1" valign="top" nowrap> <em>animationSet</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="a06178.html#l00064">64</a> of file <a class="el" href="a06178.html">play_list_user.h</a>. +<p> +References <a class="el" href="a06178.html#l00054">_ChannelMixer</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05543.html#l00063">NL3D::CChannelMixer::setAnimationSet()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00065 { +00066 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00067 <a class="code" href="a04199.html#a6">nlassert</a>(animationSet!=NULL); +00068 <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr0">_AnimationSet</a>= animationSet; +00069 +00070 <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr1">_ChannelMixer</a>.setAnimationSet(_AnimationSet); +00071 +00072 <a class="code" href="a04199.html#a6">nlassert</a>((<a class="code" href="a04558.html#a15">uint</a>)UPlayList::empty == (<a class="code" href="a04558.html#a15">uint</a>)CAnimationPlaylist::empty); +00073 <a class="code" href="a04199.html#a6">nlassert</a>((<a class="code" href="a04558.html#a15">uint</a>)UPlayList::WrapModeCount == (<a class="code" href="a04558.html#a15">uint</a>)CAnimationPlaylist::WrapModeCount); +00074 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CPlayListUserz683_0" doxytag="NL3D::CPlayListUser::emptyPlayList" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPlayListUser::emptyPlayList </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Empty the playlist. Each slot is set to its default value. +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1506_0">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00094">94</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a05447.html#l00052">NL3D::CAnimationPlaylist::emptyPlayList()</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, and <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>. +<p> +<div class="fragment"><pre>00095 { +00096 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00097 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00098 +00099 <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.emptyPlayList (); +00100 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz691_0" doxytag="NL3D::CPlayListUser::enableChannel" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPlayListUser::enableChannel </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>channelId</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>enable</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +disabling a channel means it is no more modified during animation. Default is enabled. NB: this channel must have been added (via <a class="el" href="a03088.html#NL3D_1_1CPlayListUserz681_0">registerTransform()</a>....). <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>channelId</em> </td><td>channelId get from <a class="el" href="a02212.html#NL3D_1_1UAnimationSetz1378_0">UAnimationSet::getChannelIdByName()</a>.</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1514_0">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00246">246</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00054">_ChannelMixer</a>, <a class="el" href="a05543.html#l00389">NL3D::CChannelMixer::enableChannel()</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00247 { +00248 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00249 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00250 +00251 <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr1">_ChannelMixer</a>.enableChannel(channelId, enable); +00252 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUsera1" doxytag="NL3D::CPlayListUser::evalPlayList" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPlayListUser::evalPlayList </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double </td> + <td class="mdname1" valign="top" nowrap> <em>playTime</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Tool function. setup the mixer, and eval global channels. +<p> + +<p> +Definition at line <a class="el" href="a06177.html#l00264">264</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00054">_ChannelMixer</a>, <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a05543.html#l00154">NL3D::CChannelMixer::eval()</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, and <a class="el" href="a05447.html#l00176">NL3D::CAnimationPlaylist::setupMixer()</a>. +<p> +Referenced by <a class="el" href="a06397.html#l00281">NL3D::CSkeletonUser::computeCurrentBBox()</a>. +<p> +<div class="fragment"><pre>00265 { +00266 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00267 <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.setupMixer(_ChannelMixer, playTime); +00268 <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr1">_ChannelMixer</a>.eval(<span class="keyword">false</span>); +00269 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz683_1" doxytag="NL3D::CPlayListUser::getAnimation" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> NL3D::CPlayListUser::getAnimation </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname1" valign="top" nowrap> <em>slot</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the animation of a slot. Default value is empty.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>slot</em> </td><td>is the id of the slot to set. </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>the animation number in use in this slot. Return <a class="el" href="a03089.html#NL3D_1_1UPlayListw0NL3D_1_1UPlayListw3">UPlayList::empty</a> if the slot is empty.</dd></dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1506_1">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00110">110</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a05447.html#l00079">NL3D::CAnimationPlaylist::getAnimation()</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00111 { +00112 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00113 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00114 +00115 <span class="keywordflow">return</span> <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.getAnimation (slot); +00116 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz687_0" doxytag="NL3D::CPlayListUser::getEndWeight" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CPlayListUser::getEndWeight </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>slot</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a05363.html#a367">TGlobalAnimationTime</a> & </td> + <td class="mdname" nowrap> <em>time</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get animation end weight. Default value is 1.f.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>slot</em> </td><td>is the id to get the slot. </td></tr> + <tr><td valign=top><em>time</em> </td><td>will get the playlist time for which the start weight is set. Default is 0.f. </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>the end weight used in the slot.</dd></dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1510_0">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00193">193</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a05447.html#l00154">NL3D::CAnimationPlaylist::getEndWeight()</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, <a class="el" href="a05454.html#l00045">NL3D::TGlobalAnimationTime</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00194 { +00195 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00196 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00197 +00198 <span class="keywordflow">return</span> <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.getEndWeight (slot, time); +00199 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz687_1" doxytag="NL3D::CPlayListUser::getLocalTime" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a05363.html#a366">TAnimationTime</a> NL3D::CPlayListUser::getLocalTime </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>slot</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a05363.html#a367">TGlobalAnimationTime</a> </td> + <td class="mdname" nowrap> <em>globalTime</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02212.html">UAnimationSet</a> & </td> + <td class="mdname" nowrap> <em>animSet</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Convert a playlist global time in local time in a slot animation including wrap evaluation.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>slot</em> </td><td>is the slot in which the local time must be computed </td></tr> + <tr><td valign=top><em>time</em> </td><td>is the global time of the playlist</td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>the local time in the slot. If no animation are set in the slot, globalTime is returned.</dd></dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1510_1">NL3D::UPlayList</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz687_2" doxytag="NL3D::CPlayListUser::getLocalWeight" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CPlayListUser::getLocalWeight </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>slot</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a05363.html#a367">TGlobalAnimationTime</a> </td> + <td class="mdname" nowrap> <em>globalTime</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute weight of a slot at a given global playlist time<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>slot</em> </td><td>is the slot in which the weight must be computed </td></tr> + <tr><td valign=top><em>time</em> </td><td>is the global time of the playlist</td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>the weight of the slot for the given time.</dd></dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1510_2">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00063">63</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a05447.html#l00355">NL3D::CAnimationPlaylist::getLocalWeight()</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, <a class="el" href="a05454.html#l00045">NL3D::TGlobalAnimationTime</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00064 { +00065 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00066 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00067 +00068 <span class="keywordflow">return</span> <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.getLocalWeight (slot, globalTime); +00069 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz689_0" doxytag="NL3D::CPlayListUser::getSkeletonWeight" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> NL3D::CPlayListUser::getSkeletonWeight </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>slot</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>inverted</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the skeleton weight of a slot. Default value is empty.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>slot</em> </td><td>is the id of the slot to set. </td></tr> + <tr><td valign=top><em>inverted</em> </td><td>will receive the invert flag. </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>the skeleton weight number in use in this slot. Return <a class="el" href="a03089.html#NL3D_1_1UPlayListw0NL3D_1_1UPlayListw3">UPlayList::empty</a> if the slot is empty.</dd></dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1512_0">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00236">236</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a05447.html#l00094">NL3D::CAnimationPlaylist::getSkeletonWeight()</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00237 { +00238 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00239 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00240 +00241 <span class="keywordflow">return</span> <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.getSkeletonWeight (slot, inverted); +00242 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz685_0" doxytag="NL3D::CPlayListUser::getSpeedFactor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CPlayListUser::getSpeedFactor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname1" valign="top" nowrap> <em>slot</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get animation speed factor. Default value is 1.f.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>slot</em> </td><td>is the id to get the slot. </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>the speed factor used in the slot.</dd></dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1508_0">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00143">143</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a05447.html#l00123">NL3D::CAnimationPlaylist::getSpeedFactor()</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00144 { +00145 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00146 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00147 +00148 <span class="keywordflow">return</span> <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.getSpeedFactor (slot); +00149 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz687_3" doxytag="NL3D::CPlayListUser::getStartWeight" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CPlayListUser::getStartWeight </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>slot</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a05363.html#a367">TGlobalAnimationTime</a> & </td> + <td class="mdname" nowrap> <em>time</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get animation start weight. Default value is 1.f.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>slot</em> </td><td>is the id to get the slot. </td></tr> + <tr><td valign=top><em>time</em> </td><td>will get the playlist time for which the start weight is set. Default is 0.f. </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>the start weight used in the slot.</dd></dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1510_3">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00177">177</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a05447.html#l00138">NL3D::CAnimationPlaylist::getStartWeight()</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, <a class="el" href="a05454.html#l00045">NL3D::TGlobalAnimationTime</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00178 { +00179 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00180 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00181 +00182 <span class="keywordflow">return</span> <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.getStartWeight(slot, time); +00183 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz685_1" doxytag="NL3D::CPlayListUser::getTimeOrigin" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a05363.html#a367">TGlobalAnimationTime</a> NL3D::CPlayListUser::getTimeOrigin </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname1" valign="top" nowrap> <em>slot</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get animation time origin, ie, the time in the playlist for which slot time is the startTime of the slot animation. Default value is 0.f.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>slot</em> </td><td>is the id to get the slot. </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>time origin used in the slot.</dd></dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1508_1">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00128">128</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a05447.html#l00109">NL3D::CAnimationPlaylist::getTimeOrigin()</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a05454.html#l00045">NL3D::TGlobalAnimationTime</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00129 { +00130 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00131 +00132 <span class="keywordflow">return</span> <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.getTimeOrigin (slot); +00133 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz687_4" doxytag="NL3D::CPlayListUser::getWeightSmoothness" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CPlayListUser::getWeightSmoothness </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname1" valign="top" nowrap> <em>slot</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get weight smoothness. This is the smoothness of the weight interpolation. Must be between 0.f and 1.f. 0.f is a sharp interpolation (linear), 1.f is a smooth interpolation (quadratic). Default value is 0.f.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>slot</em> </td><td>is the id of the slot to set. </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>the smoothness value.</dd></dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1510_4">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00209">209</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a05447.html#l00169">NL3D::CAnimationPlaylist::getWeightSmoothness()</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00210 { +00211 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00212 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00213 +00214 <span class="keywordflow">return</span> <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.getWeightSmoothness (slot); +00215 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz685_2" doxytag="NL3D::CPlayListUser::getWrapMode" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03089.html#NL3D_1_1UPlayListw5">UPlayList::TWrapMode</a> NL3D::CPlayListUser::getWrapMode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname1" valign="top" nowrap> <em>slot</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the wrap mode in use in the play list.<p> +Wrap mode tells the play list how to use an animation when current time is not in the animation. <dl compact><dt><b>Returns:</b></dt><dd>the wrap mode in use.</dd></dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1508_2">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00159">159</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a05447.html#l00285">NL3D::CAnimationPlaylist::getWrapMode()</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00160 { +00161 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00162 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00163 +00164 <span class="keywordflow">return</span> (UPlayList::TWrapMode)(<a class="code" href="a04558.html#a15">uint</a>)<a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.getWrapMode (slot); +00165 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz691_1" doxytag="NL3D::CPlayListUser::isChannelEnabled" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPlayListUser::isChannelEnabled </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>channelId</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +see <a class="el" href="a03088.html#NL3D_1_1CPlayListUserz691_0">enableChannel()</a>. return false if channel do not exist... NB: this channel must have been added (via <a class="el" href="a03088.html#NL3D_1_1CPlayListUserz681_0">registerTransform()</a>....). <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>channelId</em> </td><td>channelId get from <a class="el" href="a02212.html#NL3D_1_1UAnimationSetz1378_0">UAnimationSet::getChannelIdByName()</a>.</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1514_1">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00254">254</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00054">_ChannelMixer</a>, <a class="el" href="a05543.html#l00405">NL3D::CChannelMixer::isChannelEnabled()</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00255 { +00256 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00257 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00258 +00259 <span class="keywordflow">return</span> <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr1">_ChannelMixer</a>.isChannelEnabled (channelId) ; +00260 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz681_0" doxytag="NL3D::CPlayListUser::registerTransform" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPlayListUser::registerTransform </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02321.html">UTransform</a> * </td> + <td class="mdname" nowrap> <em>object</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const char * </td> + <td class="mdname" nowrap> <em>prefix</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +register an Animatable object (<a class="el" href="a02321.html">UTransform</a>, <a class="el" href="a02322.html">UCamera</a>, <a class="el" href="a03047.html">UInstance</a>...) to the playlist. Before deleting this Animatable object, you SHOULD <a class="el" href="a03089.html#NL3D_1_1UPlayListz1504_1">UPlayList::resetAllChannels()</a> or delete the playlist from the playlistmanager.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>object</em> </td><td>is the object which will be affected by this animation playlist.</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1504_0">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00073">73</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00054">_ChannelMixer</a>, <a class="el" href="a06573.html#l00279">NL3D::CTransformUser::getTransform()</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a06568.html#l00334">NL3D::CTransform::registerToChannelMixer()</a>. +<p> +<div class="fragment"><pre>00074 { +00075 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00076 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00077 +00078 CTransformUser *obj= dynamic_cast<CTransformUser*>(object); +00079 <a class="code" href="a04199.html#a6">nlassert</a>(obj); +00080 +00081 <span class="comment">// Register the transform to the channel mixer.</span> +00082 obj->getTransform()->registerToChannelMixer(&_ChannelMixer, prefix); +00083 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz681_1" doxytag="NL3D::CPlayListUser::resetAllChannels" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPlayListUser::resetAllChannels </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Reset all channels so that no more Animatable object (Transforms etc...) are linked to this PLayList. Hence, the playlist has no effect on anything. +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1504_1">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00084">84</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00054">_ChannelMixer</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, and <a class="el" href="a05543.html#l00381">NL3D::CChannelMixer::resetChannels()</a>. +<p> +<div class="fragment"><pre>00085 { +00086 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00087 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00088 +00089 <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr1">_ChannelMixer</a>.resetChannels(); +00090 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz683_2" doxytag="NL3D::CPlayListUser::setAnimation" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPlayListUser::setAnimation </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>slot</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>animation</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the animation of a slot. Default value is empty.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>slot</em> </td><td>is the id of the slot to set. </td></tr> + <tr><td valign=top><em>animation</em> </td><td>is the animation number to use in this slot. To empty the slot, use <a class="el" href="a03089.html#NL3D_1_1UPlayListw0NL3D_1_1UPlayListw3">UPlayList::empty</a>.</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1506_2">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00102">102</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, <a class="el" href="a05447.html#l00072">NL3D::CAnimationPlaylist::setAnimation()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00103 { +00104 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00105 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00106 +00107 <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.setAnimation (slot, animation); +00108 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz687_5" doxytag="NL3D::CPlayListUser::setEndWeight" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPlayListUser::setEndWeight </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>slot</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>endWeight</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a05363.html#a367">TGlobalAnimationTime</a> </td> + <td class="mdname" nowrap> <em>time</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set animation end weight. This is the weight for this animation use at the end of the animation slot. Default value is 1.f.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>slot</em> </td><td>is the id of the slot to set. </td></tr> + <tr><td valign=top><em>time</em> </td><td>is the playlist time for which the start weight is set. Default is 1.f. </td></tr> + <tr><td valign=top><em>endWeight</em> </td><td>is the factor to use in this slot.</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1510_5">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00185">185</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, <a class="el" href="a05447.html#l00146">NL3D::CAnimationPlaylist::setEndWeight()</a>, <a class="el" href="a05454.html#l00045">NL3D::TGlobalAnimationTime</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00186 { +00187 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00188 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00189 +00190 <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.setEndWeight (slot, endWeight, time); +00191 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz689_1" doxytag="NL3D::CPlayListUser::setSkeletonWeight" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPlayListUser::setSkeletonWeight </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>slot</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>skeletonId</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>inverted</em> = false</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the skeleton weight animation of a slot. Default value is empty.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>slot</em> </td><td>is the id of the slot to set. </td></tr> + <tr><td valign=top><em>skeletonId</em> </td><td>is the skeleton weight number to use in this slot. To empty the slot, use <a class="el" href="a03089.html#NL3D_1_1UPlayListw0NL3D_1_1UPlayListw3">UPlayList::empty</a>. </td></tr> + <tr><td valign=top><em>inverted</em> </td><td>is false if the weights must be used as they are, true if the weights to used are 1.f - weight.</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1512_1">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00228">228</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, <a class="el" href="a05447.html#l00086">NL3D::CAnimationPlaylist::setSkeletonWeight()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00229 { +00230 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00231 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00232 +00233 <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.setSkeletonWeight (slot, skeletonId, inverted); +00234 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz685_3" doxytag="NL3D::CPlayListUser::setSpeedFactor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPlayListUser::setSpeedFactor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>slot</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>speedFactor</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set animation speed factor. Default value is 1.f.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>slot</em> </td><td>is the id of the slot to set. </td></tr> + <tr><td valign=top><em>speedFactor</em> </td><td>is the factor to use in this slot. The animation will go speedFactor* faster.</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1508_3">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00135">135</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, <a class="el" href="a05447.html#l00116">NL3D::CAnimationPlaylist::setSpeedFactor()</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00136 { +00137 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00138 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00139 +00140 <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.setSpeedFactor (slot, speedFactor); +00141 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz687_6" doxytag="NL3D::CPlayListUser::setStartWeight" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPlayListUser::setStartWeight </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>slot</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>startWeight</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a05363.html#a367">TGlobalAnimationTime</a> </td> + <td class="mdname" nowrap> <em>time</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set animation start weight. This is the weight for this animation use at the beginning of the animation slot. Default value is 1.f.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>slot</em> </td><td>is the id of the slot to set. </td></tr> + <tr><td valign=top><em>startWeight</em> </td><td>is the factor to use in this slot. </td></tr> + <tr><td valign=top><em>time</em> </td><td>is the playlist time for which the start weight is set. Default is 0.f.</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1510_6">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00169">169</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, <a class="el" href="a05447.html#l00130">NL3D::CAnimationPlaylist::setStartWeight()</a>, <a class="el" href="a05454.html#l00045">NL3D::TGlobalAnimationTime</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00170 { +00171 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00172 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00173 +00174 <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.setStartWeight (slot, startWeight, time); +00175 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz685_4" doxytag="NL3D::CPlayListUser::setTimeOrigin" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPlayListUser::setTimeOrigin </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>slot</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a05363.html#a367">TGlobalAnimationTime</a> </td> + <td class="mdname" nowrap> <em>timeOrigin</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set animation time origin, ie, the time in the playlist for which slot time is the startTime of the slot animation. Default value is 0.f.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>slot</em> </td><td>is the id of the slot to set. </td></tr> + <tr><td valign=top><em>timeOrigin</em> </td><td>time origin to use in the slot.</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1508_4">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00120">120</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, <a class="el" href="a05447.html#l00102">NL3D::CAnimationPlaylist::setTimeOrigin()</a>, <a class="el" href="a05454.html#l00045">NL3D::TGlobalAnimationTime</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00121 { +00122 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00123 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00124 +00125 <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.setTimeOrigin (slot, timeOrigin); +00126 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz687_7" doxytag="NL3D::CPlayListUser::setWeight" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPlayListUser::setWeight </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>slot</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>weight</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Setup a constant animation weight. NB: this is equivalent as following code:<ul> +<li>setStartWeight(slot, weight, 0);</li><li>setEndWeight(slot, weight, 0);</li></ul> +<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>slot</em> </td><td>is the id of the slot to set. </td></tr> + <tr><td valign=top><em>weight</em> </td><td>is the factor to use in this slot.</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1510_7">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00217">217</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, <a class="el" href="a05447.html#l00146">NL3D::CAnimationPlaylist::setEndWeight()</a>, <a class="el" href="a05447.html#l00130">NL3D::CAnimationPlaylist::setStartWeight()</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00218 { +00219 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00220 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00221 +00222 <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.setStartWeight (slot, weight, 0); +00223 <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.setEndWeight (slot, weight, 0); +00224 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz687_8" doxytag="NL3D::CPlayListUser::setWeightSmoothness" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPlayListUser::setWeightSmoothness </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>slot</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>smoothness</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set weight smoothness. This is the smoothness of the weight interpolation. Must be between 0.f and 1.f. 0.f is a sharp interpolation (linear), 1.f is a smooth interpolation (quadratic). Default value is 0.f.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>slot</em> </td><td>is the id of the slot to set. </td></tr> + <tr><td valign=top><em>smoothness</em> </td><td>is the smoothness value.</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1510_8">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00201">201</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, <a class="el" href="a05447.html#l00162">NL3D::CAnimationPlaylist::setWeightSmoothness()</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00202 { +00203 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00204 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00205 +00206 <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.setWeightSmoothness (slot, smoothness); +00207 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserz685_5" doxytag="NL3D::CPlayListUser::setWrapMode" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPlayListUser::setWrapMode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>slot</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03089.html#NL3D_1_1UPlayListw5">TWrapMode</a> </td> + <td class="mdname" nowrap> <em>wrapMode</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the wrap mode to use in the play list.<p> +Wrap mode tells the play list how to use an animation when current time is not in the animation. <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>wrapMode</em> </td><td>is the mode to use.</td></tr> + </table> +</dl> + +<p> +Implements <a class="el" href="a03089.html#NL3D_1_1UPlayListz1508_5">NL3D::UPlayList</a>. +<p> +Definition at line <a class="el" href="a06177.html#l00151">151</a> of file <a class="el" href="a06177.html">play_list_user.cpp</a>. +<p> +References <a class="el" href="a06178.html#l00053">_PlayList</a>, <a class="el" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>, <a class="el" href="a06178.html#l00037">NL3D_MEM_PLAYLIST</a>, <a class="el" href="a05447.html#l00278">NL3D::CAnimationPlaylist::setWrapMode()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00152 { +00153 <a class="code" href="a04755.html#a0">NL3D_MEM_PLAYLIST</a> +00154 <a class="code" href="a04754.html#a0">NL3D_HAUTO_UI_PLAY_LIST</a>; +00155 +00156 <a class="code" href="a03088.html#NL3D_1_1CPlayListUserr2">_PlayList</a>.setWrapMode (slot, (CAnimationPlaylist::TWrapMode)(<a class="code" href="a04558.html#a15">uint</a>)wrapMode); +00157 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CPlayListUsern0" doxytag="NL3D::CPlayListUser::CPlayListManagerUser" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> friend class <a class="el" href="a03087.html">CPlayListManagerUser</a><code> [friend]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06178.html#l00058">58</a> of file <a class="el" href="a06178.html">play_list_user.h</a>. </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CPlayListUserr0" doxytag="NL3D::CPlayListUser::_AnimationSet" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03408.html">NLMISC::CSmartPtr</a><<a class="el" href="a02210.html">CAnimationSet</a>> <a class="el" href="a03088.html#NL3D_1_1CPlayListUserr0">NL3D::CPlayListUser::_AnimationSet</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06178.html#l00056">56</a> of file <a class="el" href="a06178.html">play_list_user.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserr1" doxytag="NL3D::CPlayListUser::_ChannelMixer" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02335.html">CChannelMixer</a> <a class="el" href="a03088.html#NL3D_1_1CPlayListUserr1">NL3D::CPlayListUser::_ChannelMixer</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06178.html#l00054">54</a> of file <a class="el" href="a06178.html">play_list_user.h</a>. +<p> +Referenced by <a class="el" href="a06178.html#l00064">CPlayListUser()</a>, <a class="el" href="a06175.html#l00038">NL3D::CPlayListManagerUser::createPlayList()</a>, <a class="el" href="a06177.html#l00246">enableChannel()</a>, <a class="el" href="a06177.html#l00264">evalPlayList()</a>, <a class="el" href="a06177.html#l00254">isChannelEnabled()</a>, <a class="el" href="a06177.html#l00073">registerTransform()</a>, and <a class="el" href="a06177.html#l00084">resetAllChannels()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPlayListUserr2" doxytag="NL3D::CPlayListUser::_PlayList" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02208.html">CAnimationPlaylist</a> <a class="el" href="a03088.html#NL3D_1_1CPlayListUserr2">NL3D::CPlayListUser::_PlayList</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06178.html#l00053">53</a> of file <a class="el" href="a06178.html">play_list_user.h</a>. +<p> +Referenced by <a class="el" href="a06175.html#l00038">NL3D::CPlayListManagerUser::createPlayList()</a>, <a class="el" href="a06177.html#l00094">emptyPlayList()</a>, <a class="el" href="a06177.html#l00264">evalPlayList()</a>, <a class="el" href="a06177.html#l00110">getAnimation()</a>, <a class="el" href="a06177.html#l00193">getEndWeight()</a>, <a class="el" href="a06177.html#l00063">getLocalWeight()</a>, <a class="el" href="a06177.html#l00236">getSkeletonWeight()</a>, <a class="el" href="a06177.html#l00143">getSpeedFactor()</a>, <a class="el" href="a06177.html#l00177">getStartWeight()</a>, <a class="el" href="a06177.html#l00128">getTimeOrigin()</a>, <a class="el" href="a06177.html#l00209">getWeightSmoothness()</a>, <a class="el" href="a06177.html#l00159">getWrapMode()</a>, <a class="el" href="a06177.html#l00102">setAnimation()</a>, <a class="el" href="a06177.html#l00185">setEndWeight()</a>, <a class="el" href="a06177.html#l00228">setSkeletonWeight()</a>, <a class="el" href="a06177.html#l00135">setSpeedFactor()</a>, <a class="el" href="a06177.html#l00169">setStartWeight()</a>, <a class="el" href="a06177.html#l00120">setTimeOrigin()</a>, <a class="el" href="a06177.html#l00217">setWeight()</a>, <a class="el" href="a06177.html#l00201">setWeightSmoothness()</a>, and <a class="el" href="a06177.html#l00151">setWrapMode()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06178.html">play_list_user.h</a><li><a class="el" href="a06177.html">play_list_user.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:01:28 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |