Difference between revisions of "CBlob::SetVisible"

From King Arthur's Gold Wiki
Jump to: navigation, search
(Created page with "<onlyinclude> </onlyinclude> <syntaxhighlight lang="cpp"> void SetVisible(bool visible) </syntaxhighlight> Object method of: CBlob Category:Scripting [[Category...")
 
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
+
Sets blob's visibility in the world.
 
</onlyinclude>
 
</onlyinclude>
 
   
 
   
 
<syntaxhighlight lang="cpp">
 
<syntaxhighlight lang="cpp">
+
void SetVisible(bool visible)  
void SetVisible(bool visible)
+
</syntaxhighlight>
+
 
 +
 
 +
Example (this example sets blob invisible in the world):
 +
<syntaxhighlight lang="cpp">
 +
blob.SetVisible( false );
 +
</syntaxhighlight>
 +
 
 +
Example (this example sets blob visible in the world):
 +
<syntaxhighlight lang="cpp">
 +
blob.SetVisible( true );
 
</syntaxhighlight>
 
</syntaxhighlight>
 
   
 
   

Latest revision as of 22:21, 1 October 2012

Sets blob's visibility in the world.


void SetVisible(bool visible)


Example (this example sets blob invisible in the world):

blob.SetVisible( false );

Example (this example sets blob visible in the world):

blob.SetVisible( true );

Object method of: CBlob