Sit Object Data
SitObjectData Class
Handler for agent sit events.
Syntax
Member Details
ComponentId Property
SyntaxValue
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
ObjectId Property
The ObjectId of the object the agent is sitting on
SyntaxValue
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
SitObjectEvent Property
The type of sit event which occurred.
Syntax[get: Sansar.Script.Interface] public SitEventType SitObjectEvent { get; }
Value
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
SitObjectInfo Property
information about the object the agent is sitting on
Syntax[get: Sansar.Script.Interface] public SitObjectInfo SitObjectInfo { get; }
Value
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
ToString Method
A string representation of this object.
Syntax[Sansar.Script.Interface] public override string ToString ()
Returns
A string representation of this object.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
SitObjectInfo Struct
Information about if an agent is sitting on this SitObjectInfo.
Syntax
[Sansar.Script.Interface] public struct SitObjectInfo
Member Details
ExitForward Field
The local space forward direction of the exit point from this sit point.
Syntax[Sansar.Script.Interface] public Sansar.Vector ExitForward
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
ExitPosition Field
The local space exit point where an agent will be when they stand up from this sit point.
Syntax[Sansar.Script.Interface] public Sansar.Vector ExitPosition
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
IsOccupied Field
Is an agent sitting on this object
Syntax[Sansar.Script.Interface] public bool IsOccupied
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
LocalForward Field
The local space forward direction for the object sit point.
Syntax[Sansar.Script.Interface] public Sansar.Vector LocalForward
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
LocalPosition Field
The local space point on the object where an agent would sit.
Syntax[Sansar.Script.Interface] public Sansar.Vector LocalPosition
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
SessionId Field
The SessionId of the agent that is sitting on the object.
Syntax
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Last updated