Room Piece Object
From Runic Games Wiki
Contents |
Room Piece
Description
This Level Object is used to construct the visuals and pathable area of a Layout. It contains a mesh and associated behavior as defined in the Level Set.
Location
Right-click on an empty space in the Layout Scene Manager and choose Building Blocks > Room Piece from the list.
Properties
Name | Type | Description | Read Only |
---|---|---|---|
GUID | |||
BRUSH ID | |
ID of the brush that created the Room Piece. | |
GUID | |
GUID. | |
ORIENTATION | |||
FORWARD | |
Forward by X,Y,Z. | |
RIGHT | |
Right by X,Y,Z. | |
UP | |
Up by X,Y,Z. | |
YAW | |
Yaw Rotation. | |
POSITION | |||
POSITION | |
Position by X,Y,Z world coordinates. | |
PROPERTIES | |||
BAKE | |
If True the Room Piece will be baked and destroyed on level load. If True it can't move dynamically. | |
CAN ALIAS | |
Control whether or not the Room Piece can be aliased. | |
CHANCE | |
The percent chance from 0.0 - 1.0 that the Room Piece will be loaded. | |
COLLISION ENABLED | |
If False the Room Piece will not have collision. | |
NOPATH | |
If True the Room Piece will not be pathable. | |
VISIBLE | |
Set the Room Piece visible or not. | |
RENDER ORDER | |||
OVERRIDE | |
The Render Order override of the Room Piece. Lower numbers render first. -1 uses the default set for the Room Piece. | |
RENDER ORDER | |
The template Render Order of the Room Piece. | |
ROOM PIECE | |||
MESH OVERRIDE | |
The mesh file override for the Room Piece. | |
PIECE | |
The selected Room Piece. | |
ROTATION RATE | |||
ROTATION RATE | |
Set the constant rotation rate by X,Y,Z. "Bake" must be False. | |
SCALE | |||
SCALE | |
Scale the Room Piece uniformly on the X, Y, Z axes (if set to be Scalable). | |
X | |
Scale the Room Piece on the X axis (if set to be Scalable). | |
Y | |
Scale the Room Piece on the Y axis (if set to be Scalable). | |
Z | |
Scale the Room Piece on the Z axis (if set to be Scalable). | |
VISUAL PIECE INDEX | |||
VISUAL | |
Set the Visual of the Room Piece. Selecting "Random" will choose a random Visual from the set. | |
Input Events
- Show
- Set the Room Piece to be visible.
- Hide
- Set the Room Piece to be invisible.
- Collidable
- Set the Room Piece to be collidable.
- Not Collidable
- Set the Room Piece to not be collidable.
Output Events
- On Visible
- This event will fire when the Room Piece receives a "Show" Input event.
- On Invisible
- This event will fire when the Room Piece receives a "Hide" Input event.