Sansar.Simulation Namespace


Sansar.Simulation Namespace

Namespace

Server Script types:

Type Description
AgentInfo The AgentInfo class has basic information and IDs for an agent.
AgentPrivate The AgentPrivate class is the full interface for interactions with avatars.
AgentPublic The AgentPublic class is a more limited subset of the Sansar.Simulation.AgentPrivate API for use by other scripts in the scene.
AgentScript Extend AgentScript to create a script to be attached directly to an agent. For future use: Sansar does not currently support adding scripts to agents.
AnimationComponent The AnimationComponent handles interactions with animations.
AnimationComponent.SubscriptionHandler Animation events.
AnimationData Animation events.
AudioComponent The AudioComponent handles interactions with audio components.
Chat The Chat class handles chat subscriptions and sending messages to users and other scripts.
Chat.SubscriptionHandler Subscribe to receive events on chat messages from the system, users or scripts.
ChatData Subscribe to receive events on chat messages from the system, users or scripts.
Client The Client class is used for access to the Client connected to this Sansar.Simulation.AgentPrivate.
Cluster The Cluster class handles interactions with in game objects.
ClusterId Encapsulates an Cluster Id.
ClusterResource The ClusterResource class represents a cluster that could be added to the scene. See Sansar.Simulation.ScenePrivate.CreateCluster(Sansar.Simulation.ClusterResource, Sansar.Vector, Sansar.Quaternion, Sansar.Vector, Sansar.Simulation.ScenePrivate.CreateComplete).
CollisionData Handler for rigid body events.
CollisionEventType Type of collision event.
ComponentType Type of component. See Sansar.Simulation.ObjectPrivate.GetComponent(Sansar.Simulation.ComponentType, uint)
ModalDialog Manages a modal dialog which can be presented to the user.
ObjectPrivate Interface to an object in a Sansar.Simulation.Cluster in the Scene.
ObjectPublic The ObjectPublic class is a more limited subset of the Sansar.Simulation.ObjectPrivate API for use by other scripts in the scene.
PlayHandle The PlayHandle represents audio play handles.
PlaySettings The PlaySettings class contains settings for playing sounds.
PlayStatus Current status of the PlayStatus.
RigidBodyComponent The RigidBodyComponent handles interactions with rigid body physics.
RigidBodyComponent.SubscriptionHandler Handler for rigid body events.
SceneInfo Information about a Scene.
SceneObjectScript Extend SceneObjectScript to create a script that can be used on content that is natively in the scene. This is the primary script type in Sansar.
ScenePrivate Interface for Scripts that are part of a Scene. A more complete and less limited API than Sansar.Simulation.ScenePublic
ScenePrivate.CreateClusterData The result of a create cluster request.
ScenePrivate.CreateClusterHandler Handler for CreateCluster
ScenePublic The Public Scene API, a more limited subset of Sansar.Simulation.ScenePrivate.
SoundResource The SoundResource class represents a sound that could be added to the scene.
UI Manages the client UI.
User The User class handles interactions user logins and logoffs.
User.SubscriptionHandler Subscribe to receive events when users enter or leave the experience, or change their chat name.
UserData Subscribe to receive events when users enter or leave the experience, or change their chat name.
 

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

0 Comments

Article is closed for comments.