API reference

UMRUKSeatsComponent Class

Extends UActorComponent
In Header file MRUtilityKit/Public/MRUtilityKitSeatsComponent.h
This component gets attached to Anchors which have seats available. Seats can be used for example to spawn avatars in the correct locations.

Fields

SeatPoses : TArray< FTransform >
Signature
TArray<FTransform> UMRUKSeatsComponent::SeatPoses

Member Functions

CalculateSeatPoses ( SeatWidth )
Calculate the seat poses that are available on the actor. This gets called automatically after the room has been loaded. However, it's okay to call this function again with a different SeatWidth. The seat poses will then get recalculated.
Signature
void UMRUKSeatsComponent::CalculateSeatPoses(double SeatWidth=60.0)
Parameters
SeatWidth: double  The width of each seat.
Returns
void