Handler for agent sit events.
public class SitObjectData : Sansar.Script.EventDataMembers at a glance
| Kind | Members |
|---|---|
| Properties | ComponentId · ObjectId · SitObjectEvent · SitObjectInfo |
| Methods | ToString |
Properties
ComponentId
public Sansar.Script.ComponentId ComponentId { get; }The ComponentId of the object the agent is sitting on RigidBodyComponent.
ObjectId
public Sansar.Script.ObjectId ObjectId { get; }The ObjectId of the object the agent is sitting on
SitObjectEvent
public SitEventType SitObjectEvent { get; }The type of sit event which occurred.
SitObjectInfo
public SitObjectInfo SitObjectInfo { get; }information about the object the agent is sitting on
Methods
ToString
public override string ToString()A string representation of this object.
Returns: string — A string representation of this object.
Remarks
The format of this string may change between releases.
Used in examples
Generated from the Sansar 47.10.0 client ScriptApi snapshot.