Scene Public
Last updated
Last updated
The number of agents in the Scene.
Syntax[get: Sansar.Script.Interface] public AgentCount { get; }
Value
Unsigned integer count of the number of agents in the Scene.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Gets the Chat interface for this Scene
SyntaxValue
The Chat Api
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Looks up an AgentInfo associated with the given object id.
SyntaxParameters
objectId
The object to find.
Returns
The AgentInfo, or null if an agent cannot be found with that id.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Looks up an AgentInfo associated with the given session id, if they are in the scene.
SyntaxParameters
sessionId
The sessionId of the agent to find.
Returns
The AgentInfo, or null if an agent cannot be found with that id.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Looks up an AgentInfo associated with the given persona id, if they are in the scene.
SyntaxParameters
personaId
The personaId of the agent to find.
Returns
The agent, or null if an agent cannot be found with that id in the scene.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Looks up a Object associated with the given object id.
SyntaxParameters
objectId
The object to find.
Returns
The ObjectPublic, or null if a Object cannot be found with that id.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Looks up Reflective objects in the scene that match the interface type by class name.
SyntaxType Parameters
TInterface
The interface type to find.
Parameters
name
The type name of the object's class to find.
Returns
An IEnumerable which contains all objects of the given type name that match the given interface.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
SyntaxParameters
index
The index of the agent to get.
Returns
Returns null if the index is larger than the number of agents in the Scene.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Returns the current list of Agents in the Scene.
SyntaxReturns
The current list of agents in the Scene
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
The name of the user who created the specified portal.
SyntaxParameters
objectId
Documentation for this section has not yet been entered.
Returns
String
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Description for the specified portal.
SyntaxParameters
objectId
Documentation for this section has not yet been entered.
Returns
String
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
URI destination for the specified portal.
SyntaxParameters
objectId
Documentation for this section has not yet been entered.
Returns
String
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Gets the SceneInfo for this Scene
SyntaxValue
The full SceneInfo Api
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
Gets the User interface for this Scene
SyntaxValue
The User Api
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
[get: Sansar.Script.Interface] public Chat { get; }
[Sansar.Script.Interface] public FindAgent ( personaId)
[Sansar.Script.Interface] [Sansar.Script.NonReflective] [System.Runtime.CompilerServices.IteratorStateMachine(typeof(Sansar.Simulation.ScenePublic/d__33`1))] public FindReflective ( name) where TInterface : class
[Sansar.Script.Interface] public GetAgent ( index)
[get: Sansar.Script.Interface] public SceneInfo { get; }
[Sansar.Script.Interface] public override ToString ()
[get: Sansar.Script.Interface] public User { get; }