API reference
API reference
Select your platform
No SDKs available
No versions available

AnchorMeshScalingMode

AnchorMeshScalingMode

enum AnchorMeshScalingMode : Enum<AnchorMeshScalingMode>
Scaling mode when a mesh gets spawned.

Entries

NameSummary
STRETCH
Stretch the mesh to match the bounds of the anchor.
UNIFORM_SCALING
Scale the mesh to match the anchor but scale each axis uniform. This means the mesh may be not filling the bounding box of the anchor completley.
UNIFORM_XZ_SCALING
Same as UNIFORM_SCALING, but only scales the X and Z axis uniform.
NO_SCALING
Do not apply any scaling.

Properties

NameSummary
name
val name: String
ordinal
val ordinal: Int

Functions

NameSummary
valueOf
fun valueOf(value: String): AnchorMeshScalingMode
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.)
values
fun values(): Array<AnchorMeshScalingMode>
Returns an array containing the constants of this enum type, in the order they’re declared.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon