Generic Model Object

From Runic Games Wiki
Jump to: navigation, search

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
string
Set the animation to play on the Generic Model.
LOOPS
bool
If True the "Animation" will loop.
SPEED
float
Set the speed multiplier of the "Animation".
START ON LOAD
bool
If True the "Animation" will start playing on level load.
INFO
POLY COUNT
int
The polygon count for the loaded mesh.
true
MUTATORS
CASTS SHADOWS
bool
If True the Generic Model will cast shadows.
OPACITY
float
Set the opacity of the Generic Model.
POST RENDER
bool
Set the Generic Model to render after other objects.
SCALE X
float
Scale the Generic Model on the X axis.
SCALE Y
float
Scale the Generic Model on the Y axis.
SCALE Z
float
Scale the Generic Model on the Z axis.
UNIQUE MATERIAL
bool
If True the material on the Generic Model will be marked unique. Note: This is required for "Opacity" to work.
ORIENTATION
FORWARD
CVector3
Forward by X,Y,Z.
RIGHT
CVector3
Right by X,Y,Z.
UP
CVector3
Up by X,Y,Z.
POSITION
POSITION
CVector3
Position by X,Y,Z world coordinates.
PROPERTIES
VISIBLE
bool
Set the Generic Model visible or not.
RENDERING
LIGHT MAP
bool
If True the Generic Model will render to the Light Map.
RESOURCES
FILE
string
Set the file containing the model mesh.
TEXTURE
TEXTURE OVERRIDE
string
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.
Personal tools
Namespaces

Variants
Actions
Navigation
Runic Sites
Toolbox