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 Method Detail

def sensor_orientation_landscape? #

Returns true if this enum value equals SensorOrientationLandscape


[View source]
def sensor_orientation_portrait? #

Returns true if this enum value equals SensorOrientationPortrait


[View source]
def sensor_orientation_undefined? #

Returns true if this enum value equals SensorOrientationUndefined


[View source]