WorldScale

enum WorldScale : Enum<WorldScale>

The way how a WindowContainer will be scaled in the world. Available options include:

  • Automatic: how the WindowContainer will be scaled is decided by the system automatically. Currently, it's the same as Dynamic.

  • Dynamic: Dynamic scale means the WindowContainer will scale larger as it moves further away, maintaining the same angular size.

  • Fixed: Fixed scale means the WindowContainer will keep its physical size in the world.

Will be Automatic by default.

Entries

Link copied to clipboard

the scale mode where the WindowContainer will be scaled is decided by the system automatically. Currently, it's the same as Dynamic.

Link copied to clipboard

Dynamic scale means the WindowContainer will scale larger as it moves further away, maintaining the same angular size.

Link copied to clipboard

Fixed scale means the WindowContainer will keep its physical size in the world.

Properties

Link copied to clipboard
val entries: EnumEntries<WorldScale>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard
fun valueOf(value: String): WorldScale

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<WorldScale>

Returns an array containing the constants of this enum type, in the order they're declared.