User`s guide
vrworld/get
10-133
vrworld/get
Property value of vrworld object
Syntax
get(vrworld_object)
x = get(vrworld_object)
x = get(vrworld_object, 'property_name')
Arguments
vrworld_object A vrworld object representing a virtual world.
property_name Name of the property.
Description
get(vrworld_object) displays all the virtual world properties and their values.
x = get(vrworld_object) returns an M-by-1 structure where the field names are the
names of the virtual world properties. Each field contains the associated property value.
M is equal to length(vrworld_object).
x = get(vrworld_object, 'property_name') returns the value of the specified
property.
• If vrworld_object is a vector of vrworld handles, the get method returns an M-
by-1 cell array of values where M is equal to length(vrworld_object).
• If property_name is a 1-by-N or N-by-1 cell array of strings containing field names,
the get method returns an M-by-N cell array of values.
The following are properties of vrworld objects. Names are not case sensitive.
Property Value Description
Clients Scalar Number of clients currently viewing the
virtual world. Read only.