InteractionData

InteractionData Class

Handler for Interaction events.

Syntax

[Sansar.Script.Interface]
public class InteractionData : 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]
 
AgentId Sansar.Script.SessionId . The SessionId of the agent who clicked the Interaction.The SessionId of the agent who clicked the Interaction.This API is not implemented
[read-only]
 
HitNormal Sansar.Vector .
[read-only]
 
HitPosition Sansar.Vector .
[read-only]
 
Origin Sansar.Vector .

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

AgentId Property

The SessionId of the agent who clicked the Interaction.The SessionId of the agent who clicked the Interaction.This API is not implemented

Syntax

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

Value

Remarks

 

Requirements

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

HitNormal Property

 

Syntax

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

Value

Remarks

 

Requirements

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

HitPosition Property

 

Syntax

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

Value

Remarks

 

Requirements

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

Origin Property

 

Syntax

[get: Sansar.Script.Interface]
public Sansar.Vector Origin { 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

Article is closed for comments.