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

Vector4SortCriterion Class

Extends SortCriterion
Modifiers: final
Represents a sorting criterion based on a Vector4 attribute.

Signature

class Vector4SortCriterion(val attrId: Int) : SortCriterion

Constructors

Vector4SortCriterion ( attrId ) : Vector4SortCriterion
Signature
constructor(attrId: Int)
Parameters
attrId: Int
The ID of the attribute to sort by.

Properties

attrId : Int
[Get]
Signature
val attrId: Int
propCode : Int
[Get][Set]
Signature
var propCode: Int
sortOption : Int
[Get][Set]
Signature
var sortOption: Int

Functions

asc () : SortCriterion
function to set the sorting order to ascending
Signature
fun asc(): SortCriterion
Specifies that the sorting should be based on the W property of the Vector4 attribute.
Signature
fun byW(): Vector4SortCriterion
Returns
The current instance of Vector4SortCriterion for method chaining.
Specifies that the sorting should be based on the X property of the Vector4 attribute.
Signature
fun byX(): Vector4SortCriterion
Returns
The current instance of Vector4SortCriterion for method chaining.
Specifies that the sorting should be based on the Y property of the Vector4 attribute.
Signature
fun byY(): Vector4SortCriterion
Returns
The current instance of Vector4SortCriterion for method chaining.
Specifies that the sorting should be based on the Z property of the Vector4 attribute.
Signature
fun byZ(): Vector4SortCriterion
Returns
The current instance of Vector4SortCriterion for method chaining.
desc () : SortCriterion
function to set the sorting order to descending
Signature
fun desc(): SortCriterion
Did you find this page helpful?
Thumbs up icon
Thumbs down icon