Main Content

vrworld/isvalid

1 if vrworld object is valid, 0 if not

Syntax

x = isvalid(vrworld_object)

Arguments

vrworld_object

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 when the elements of vrworld_object are valid vrworld objects, and returns a 0 when 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.

Version History

Introduced before R2006a