SRoomFloor
ClientComponents
On this classEnabled
Members 7
| Property | Enabled | Status of enable or disable room floor component |
| Property | Name | Name of this floor |
| Property | Description | Description of this floor. |
| Property | IsDefaultFloor | Is this default floor? |
| Property | Furniture | Get all furniture game objects |
| Property | Owner | Return the ID of the user account that owns this room floor, if any. |
| Property | GameObject | – |
Properties
Enabled
bool Enabled {get; set; }
Status of enable or disable room floor component
Example
Lua
Space.Host.ExecutingObject.Floor.Enabled = false
NameRead only
string Name {get; }
Name of this floor
Example
Lua
Space.Host.ExecutingObject.Floor.Name
DescriptionRead only
string Description {get; }
Description of this floor.
Example
Lua
floorDescription = Space.Host.ExecutingObject.Floor.Description
IsDefaultFloorRead only
bool IsDefaultFloor {get; }
Is this default floor?
Example
Lua
isDefault = Space.Host.ExecutingObject.Floor.IsDefaultFloor
FurnitureRead only
Get all furniture game objects
Example
Lua
furnitureInFloor = Space.Host.ExecutingObject.Floor.Furniture
OwnerRead only
int Owner {get; }
Return the ID of the user account that owns this room floor, if any.
Example
Lua
ownerID = Space.Host.ExecutingObject.Floor.Owner
GameObjectRead only
Example
Lua
theGameObject = Space.Host.ExecutingObject.Floor.GameObject



