unreal.ComponentMobility

class unreal.ComponentMobility

Bases: unreal.EnumBase

Describes how often this component is allowed to move.

C++ Source:

  • Module: Engine

  • File: EngineTypes.h

MOVABLE

Movable objects can be moved and changed in game. - Totally dynamic - Can cast dynamic shadows - Slowest rendering

Type

2

STATIC

Static objects cannot be moved or changed in game. - Allows baked lighting - Fastest rendering

Type

0

STATIONARY

A stationary light will only have its shadowing and bounced lighting from static geometry baked by Lightmass, all other lighting will be dynamic. - It can change color and intensity in game. - Can’t move - Allows partial baked lighting - Dynamic shadows

Type

1