SitObjectData

SitObjectData Class

Handler for agent sit events.

Syntax

[Sansar.Script.Interface]
public class SitObjectData : Sansar.Script.EventData

Remarks

 

Requirements

Namespace: Sansar.Simulation
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0

Members

See Also: Inherited members from Sansar.Script.EventData.

Public Properties

[read-only]
 
ComponentId Sansar.Script.ComponentId . The ComponentId of the object the agent is sitting on Sansar.Simulation.RigidBodyComponent.
[read-only]
 
ObjectId Sansar.Script.ObjectId . The ObjectId of the object the agent is sitting on
[read-only]
 
SitObjectEvent SitEventType . The type of sit event which occurred.
[read-only]
 
SitObjectInfo SitObjectInfo . information about the object the agent is sitting on

Public Methods

override
ToString () : string
A string representation of this object.
override
ToString () : string
Generates a string representation of the EventData. (Inherited from Sansar.Script.EventData.)

Member Details

ComponentId Property

The ComponentId of the object the agent is sitting on Sansar.Simulation.RigidBodyComponent.

Syntax

[get: Sansar.Script.Interface]
public Sansar.Script.ComponentId ComponentId { get; }

Value

Remarks

 

Requirements

Namespace: 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

Syntax

[get: Sansar.Script.Interface]
public Sansar.Script.ObjectId ObjectId { get; }

Value

Remarks

 

Requirements

Namespace: 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

 

Requirements

Namespace: 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

 

Requirements

Namespace: 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

The format of this string may change between releases.

Requirements

Namespace: Sansar.Simulation
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.