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

Vector2SortCriterion

Vector2SortCriterion

class Vector2SortCriterion(val attrId: Int) : SortCriterion
Represents a sorting criterion based on a Vector2 attribute.

Constructors

NameSummary
Vector2SortCriterion
constructor(attrId: Int)

Properties

NameSummary
attrId
val attrId: Int
propCode
var propCode: Int
sortOption
var sortOption: Int

Functions

NameSummary
asc
fun asc(): SortCriterion

function to set the sorting order to ascending
byX
fun byX(): Vector2SortCriterion

Specifies that the sorting should be based on the X property of the Vector2 attribute.
byY
fun byY(): Vector2SortCriterion

Specifies that the sorting should be based on the Y property of the Vector2 attribute.
desc
fun desc(): SortCriterion

function to set the sorting order to descending
Did you find this page helpful?
Thumbs up icon
Thumbs down icon