wiki.sine.space | sinespace

Difference between revisions of "Scripting/SAvatarAppearance"

From wiki.sine.space
Jump to: navigation, search
(Created page with " =Public Member Functions= {{ScriptFunction|void|LoadOutfit|(int outfitID);|description||5=<pre></pre>|6=<pre></pre>}} {{ScriptFunction|void|ResetOutfit|();|description||5=<...")
 
Line 1: Line 1:
  
 
=Public Member Functions=
 
=Public Member Functions=
 +
  
 
{{ScriptFunction|void|LoadOutfit|(int outfitID);|description||5=<pre></pre>|6=<pre></pre>}}
 
{{ScriptFunction|void|LoadOutfit|(int outfitID);|description||5=<pre></pre>|6=<pre></pre>}}
 +
  
 
{{ScriptFunction|void|ResetOutfit|();|description||5=<pre></pre>|6=<pre></pre>}}
 
{{ScriptFunction|void|ResetOutfit|();|description||5=<pre></pre>|6=<pre></pre>}}
 +
  
 
{{ScriptFunction|void|ResetOutfitToTemplate|(int outfitID);|description|5=<pre></pre>|6=<pre></pre>}}
 
{{ScriptFunction|void|ResetOutfitToTemplate|(int outfitID);|description|5=<pre></pre>|6=<pre></pre>}}
 +
  
 
{{ScriptFunction|float|GetSlider|(SAppearanceSlider slider);|Return the value of Appearance Sliders.|5=<pre></pre>|6=<pre></pre>}}
 
{{ScriptFunction|float|GetSlider|(SAppearanceSlider slider);|Return the value of Appearance Sliders.|5=<pre></pre>|6=<pre></pre>}}
 +
  
 
{{ScriptFunction|float|GetHeight|();|Return height of avatar.|5=<pre></pre>|6=<pre></pre>}}
 
{{ScriptFunction|float|GetHeight|();|Return height of avatar.|5=<pre></pre>|6=<pre></pre>}}
 +
  
 
{{ScriptFunction|SColor|GetSkinTone|();|Return skin tone of avatar.|5=<pre></pre>|6=<pre></pre>}}
 
{{ScriptFunction|SColor|GetSkinTone|();|Return skin tone of avatar.|5=<pre></pre>|6=<pre></pre>}}
 +
  
 
{{ScriptFunction|SColor|GetEyeTone|();|Return eye tone of avatar.|5=<pre></pre>|6=<pre></pre>}}
 
{{ScriptFunction|SColor|GetEyeTone|();|Return eye tone of avatar.|5=<pre></pre>|6=<pre></pre>}}
 +
 +
  
 
=Properties=
 
=Properties=
 +
  
 
{{ScriptFunction|long|OutfitID|{ get; }|Return the current outfit id.|5=<pre></pre>|6=<pre></pre>}}
 
{{ScriptFunction|long|OutfitID|{ get; }|Return the current outfit id.|5=<pre></pre>|6=<pre></pre>}}
  
{{ScriptFunction|SGameObject|Skeleton{ get; }|Return the GameObject of avatar skeleton.|5=<pre></pre>|6=<pre></pre>}}
+
 
 +
{{ScriptFunction|SGameObject|Skeleton|{ get; }|Return the GameObject of avatar skeleton.|5=<pre></pre>|6=<pre></pre>}}
 +
 
  
 
{{ScriptFunction|bool|Loaded|{ get; }|Returns true if the avatar is full loaded.|5=<pre></pre>|6=<pre></pre>}}
 
{{ScriptFunction|bool|Loaded|{ get; }|Returns true if the avatar is full loaded.|5=<pre></pre>|6=<pre></pre>}}
 +
  
 
{{Scripting Navbox}}
 
{{Scripting Navbox}}

Revision as of 13:01, 17 January 2022

Public Member Functions

LoadOutfit

void LoadOutfit (int outfitID);

description



ResetOutfit

void ResetOutfit ();

description



ResetOutfitToTemplate

void ResetOutfitToTemplate (int outfitID);

description



GetSlider

float GetSlider (SAppearanceSlider slider);

Return the value of Appearance Sliders.



GetHeight

float GetHeight ();

Return height of avatar.



GetSkinTone

SColor GetSkinTone ();

Return skin tone of avatar.



GetEyeTone

SColor GetEyeTone ();

Return eye tone of avatar.



Properties

OutfitID

long OutfitID { get; }

Return the current outfit id.



Skeleton

SGameObject Skeleton { get; }

Return the GameObject of avatar skeleton.



Loaded

bool Loaded { get; }

Returns true if the avatar is full loaded.