Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# RealOrientation - Runtime Docs

## RealOrientation :: float

The smooth orientation. It is a `float` in the range `[0, 1)` that covers a full circle, starting at the top and going clockwise.

This means a value of `0` indicates "north", a value of `0.5` indicates "south". For example then, a value of `0.625` would indicate "south-west", and a value of `0.875` would indicate "north-west".

Concept used in

- LuaEntity::orientation
- LuaEntity::relative_turret_orientation
- LuaEntity::torso_orientation
- LuaRenderObject::orientation
- LuaRendering::draw_text()
- LuaRendering::draw_polygon()
- LuaRendering::draw_sprite()
- LuaRendering::draw_light()
- LuaRendering::draw_animation()
- LuaSegment::orientation
- LuaSpaceLocationPrototype::orientation
- LuaSpaceLocationPrototype::starmap_icon_orientation
- LuaSpaceLocationPrototype::parked_platforms_orientation
- LuaSpaceLocationPrototype::label_orientation
- LuaSurface::create_entity()
- LuaSurface::wind_orientation
- BlueprintEntity
- BoundingBox
- CircularProjectileCreationSpecification
- PostSegmentDiedData
- RollingStockDrawData