Generic Model Object
From Runic Games Wiki
Contents |
Generic Model
Description
This Level Object is used to place a model mesh file in a Layout. Path nodes will not be generated on Generic Models as they have no collision.
Location
Right-click on an empty space in the Layout Scene Manager and choose Building Blocks > Generic Model from the list.
Properties
Name | Type | Description | Read Only |
---|---|---|---|
ANIMATION | |||
ANIMATION | |
Set the animation to play on the Generic Model. | |
LOOPS | |
If True the "Animation" will loop. | |
SPEED | |
Set the speed multiplier of the "Animation". | |
START ON LOAD | |
If True the "Animation" will start playing on level load. | |
INFO | |||
POLY COUNT | |
The polygon count for the loaded mesh. | |
MUTATORS | |||
CASTS SHADOWS | |
If True the Generic Model will cast shadows. | |
OPACITY | |
Set the opacity of the Generic Model. | |
POST RENDER | |
Set the Generic Model to render after other objects. | |
SCALE X | |
Scale the Generic Model on the X axis. | |
SCALE Y | |
Scale the Generic Model on the Y axis. | |
SCALE Z | |
Scale the Generic Model on the Z axis. | |
UNIQUE MATERIAL | |
If True the material on the Generic Model will be marked unique. Note: This is required for "Opacity" to work. | |
ORIENTATION | |||
FORWARD | |
Forward by X,Y,Z. | |
RIGHT | |
Right by X,Y,Z. | |
UP | |
Up by X,Y,Z. | |
POSITION | |||
POSITION | |
Position by X,Y,Z world coordinates. | |
PROPERTIES | |||
VISIBLE | |
Set the Generic Model visible or not. | |
RENDERING | |||
LIGHT MAP | |
If True the Generic Model will render to the Light Map. | |
RESOURCES | |||
FILE | |
Set the file containing the model mesh. | |
TEXTURE | |||
TEXTURE OVERRIDE | |
Set a texture override for the Generic Model. | |
Input Events
- Show
- Set the Generic Model to be visible.
- Hide
- Set the Generic Model to be invisible.
- Play
- Start playing the specified "Animation" on the Generic Model.
- Play Looping
- Start playing and loop the specified "Animation" on the Generic Model.
- Stop
- Stop playing the specified "Animation" on the Generic Model.
- Pass Self
- Pass the Generic Model object to another object.
Output Events
- On Visible
- This event will be fired when the Generic Model receives a "Show" Input event.
- On Invisible
- This event will be fired when the Generic Model receives a "Hide" Input event.
- Pass Self
- This event will be fired when the Generic Model receives a "Pass Self" Input event.