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

MeshCollision

MeshCollision

enum MeshCollision : Enum<MeshCollision>
Mesh collision test type, used to determine how a mesh is hit tested. This is used in the Mesh, Panel, and Hittable components.

Entries

NameSummary
NoCollision

no collision
LineTest

collisions occurs with linetests when visible
LineTest_IgnoreVisible

collisions occurs with linetests regardless of visible

Properties

NameSummary
name
val name: String
ordinal
val ordinal: Int

Functions

NameSummary
valueOf
fun valueOf(value: String): MeshCollision

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<MeshCollision>

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