| Virtual Reality Toolbox | ![]() |
Return 1 if the vrworld object is valid, and 0 if it is not
Syntax
Arguments
vrworld_object |
Name of a vrworld object representing a virtual world. |
Description
A vrworld object is considered valid if its associated virtual world still exists. x = isvalid(vrworld_object) returns an array that contains a 1 where the elements of vrworld_object are valid vrworld objects, and returns a 0 where they are not.
You use this method to check whether the vrworld object is still valid. Using a delete or vrclear command can make a vrworld object invalid.
See Also
vrfigure/isvalid, vrnode/isvalid
| vrworld/get | vrworld/nodes | ![]() |