unreal.ComponentMobility
¶
- class unreal.ComponentMobility¶
Bases:
EnumBase
Describes how often this component is allowed to move.
C++ Source:
Module: Engine
File: EngineTypes.h
- MOVABLE: ComponentMobility¶
Movable objects can be moved and changed in game. - Totally dynamic - Can cast dynamic shadows - Slowest rendering
- Type:
2
- STATIC: ComponentMobility¶
Static objects cannot be moved or changed in game. - Allows baked lighting - Fastest rendering
- Type:
0
- STATIONARY: ComponentMobility¶
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