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.
Animation Represents a scriptable Animation node.
AnimationComponent The AnimationComponent handles interactions with animations.
AnimationComponent.SubscriptionHandler Animation events.
AnimationData Animation events.
AnimationParameters The AnimationParameters struct contains settings for playing animations.
AnimationPlaybackMode Enumeration for the different animation playback modes
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 a 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.
CollisionEventPhase Phase for events that encapsulate sequence of occurrences
CollisionEventType Type of collision event.
CommandAction Specifies a command action.
CommandData Command events are generated by the client when input events occur.
ComponentType Type of component. See Sansar.Simulation.ObjectPrivate.GetComponent(Sansar.Simulation.ComponentType, uint)
ControlPointType Control points are a representation of some spatial inputs, primarily VR controllers.
Interaction  
InteractionData Handler for Interaction events.
Interactions Documentation for this section has not yet been entered.
LightComponent The LightComponent handles interactions with lights.
LightType Enumeration for the different types of lights
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.
RigidBodyMotionType Type of motion that can be applied to a rigid body.
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.
SimpleScript Extend SimpleScript to create a script that can be used on content that is natively in the scene. This is the primary script type in Sansar.
SimpleScript.OnAddUserOptionsAttribute Use to create additional OnAddUser subscriptions
SimpleScript.OnChatOptionsAttribute Set options for OnChat() overrides, or use to create more simple chat handlers.
SimpleScript.OnCollisionOptionsAttribute Set options for OnCollision events, or use to create more simple collision handlers.
SimpleScript.OnRemoveUserOptionsAttribute Use to create additional OnRemoveUser subscriptions
SimpleScript.OnScriptEventOptionsAttribute Set options for OnScriptEvent events.
SimpleScript.OnTimerOptionsAttribute Set options for OnTimer() overrides, or use to create more simple timers.
SimpleScript.SimpleScriptOptionsAttribute Internal Use Only
SoundResource The SoundResource class represents a sound that could be added to the scene.
StreamChannel For playing a stream from 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.
 

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

0 Comments

Article is closed for comments.