For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/classes/Seat.md.

Class: Seat

Beta

描述此可骑乘实体上的特定座位位置。

Describes a particular seating position on this rideable entity.

Properties

lockRiderRotation

readonly lockRiderRotation: number

Beta

Remarks

骑乘者在骑乘此实体时允许旋转的角度(以度为单位)。

Angle in degrees that a rider is allowed to rotate while riding this entity.


maxRiderCount

readonly maxRiderCount: number

Beta

Remarks

此座位可支持的最大骑乘者数量。

A maximum number of riders that this seat can support.


minRiderCount

readonly minRiderCount: number

Beta

Remarks

如果需要填充此座位,可放置在此座位位置的最小骑乘者数量。

A minimum number of riders that can be placed in this seat position, if this seat is to be filled.


position

readonly position: Vector3

Beta

Remarks

此座位的实际位置,相对于实体的位置。

Physical location of this seat, relative to the entity's location.


seatRotation

readonly seatRotation: number

Beta

Remarks

旋转骑乘者的角度(以度为单位)。

Angle in degrees to rotate riders by.