enum Godot::DisplayServer::SensorOrientation

Defined in:

libgodot/generated/classes/classes_part2.cr

Enum Members

SensorOrientationUndefined = 0_i64
SensorOrientationPortrait = 1_i64
SensorOrientationLandscape = 2_i64

Instance Method Summary

Instance methods inherited from struct Enum

!=(other : Int) : Bool !=, ==(other : Int) : Bool ==

Instance Method Detail

def sensor_orientation_landscape? #

Returns true if this enum value equals SensorOrientationLandscape


def sensor_orientation_portrait? #

Returns true if this enum value equals SensorOrientationPortrait


def sensor_orientation_undefined? #

Returns true if this enum value equals SensorOrientationUndefined