RoomWorld Class

Summary

The RoomWorld class contains functionality for loading rooms and streaming them to other clients.
Namespace
global
Base Types
graph TD Base0["PortalWorld"]-->Type click Base0 "/2019.CRCS-WebSite/Documentation/api/global/PortalWorld" Base1["World"]-->Base0 click Base1 "/2019.CRCS-WebSite/Documentation/api/global/World" Base2["MonoBehaviour"]-->Base1 Type["RoomWorld"] class Type type-node

Syntax

public class RoomWorld : PortalWorld

Fields

Name Constant Value Summary
defaultPortal
Inherited from PortalWorld
defaultPortalViewType
Inherited from PortalWorld
defaultPortalXform
Inherited from PortalWorld
network
Inherited from World
portalManager
Inherited from PortalWorld
roomLoader
A reference to the a roomLoader helper class for loading and streaming room data
roomName
The name of the room to be loaded
roomOrigin
Transform that determines the location, orientation, and scale of the room when it gets loaded in.
selector
Inherited from PortalWorld
worldManager
Inherited from World

Methods

Name Value Summary
Awake() void
Init() void
Initializes The RoomWorld. Begins by calling the base (PortalWorld) Init method, then continues by telling the RoomLoader to load the room determined by "roomName" in.