Held Object
Data, event type, and info docs for Held Object.
Last updated
Data, event type, and info docs for Held Object.
Last updated
Handler for agent grab events.
SyntaxValue
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
The type of held object event which occurred.
Syntax[get: Sansar.Script.Interface] public HeldObjectEvent { get; }
Value
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
information about the held object
SyntaxValue
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
The ObjectId of the held object.
SyntaxValue
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
A string representation of this object.
SyntaxReturns
A string representation of this object.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Type of held object event.
[Sansar.Script.Interface] [System.Flags] public enum HeldObjectEventType
Grab
Grabbed by a player avatar.
Release
Released by a player avatar.
Namespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Information about if this HeldObjectInfo is being held by an agent.
[Sansar.Script.Interface] public struct HeldObjectInfo
Syntax
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Is the object being held by an agent
Syntax
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
The local space point on the object that is held.
Syntax
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
The SessionId of the agent that is holding the object.
Syntax
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
[get: Sansar.Script.Interface] public HeldObjectInfo { get; }
[Sansar.Script.Interface] public override ToString ()
[Sansar.Script.Interface] public IsHeld
[Sansar.Script.Interface] public LocalPosition