Scene, object, avatar, physics, animation and interaction APIs.
| Type | Kind | Summary |
|---|---|---|
| AgentInfo | Class | The AgentInfo class has basic information and IDs for an agent. |
| AgentPrivate | Class | The AgentPrivate class is the full interface for interactions with avatars. |
| AgentPublic | Class | The AgentPublic class is a more limited subset of the AgentPrivate API for use by other scripts in the scene. |
| AgentScript | Class | 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 | Class | Represents a scriptable Animation node. |
| AnimationBoneSubset | Enum | Enumeration for different animation skeleton subsets |
| AnimationComponent | Class | The AnimationComponent handles interactions with animations. |
| AnimationComponent. | Delegate | Animation events. |
| AnimationData | Class | Animation events. |
| AnimationParameters | Struct | The AnimationParameters struct contains settings for playing animations. |
| AnimationPlaybackMode | Enum | Enumeration for the different animation playback modes |
| AudioComponent | Class | The AudioComponent handles interactions with audio components. |
| CameraComponent | Class | The CameraComponent handles interactions with cameras. |
| CameraControlMode | Enum | Type of camera mode a user is in. |
| CameraShakeHandle | Class | Stops a shake requested by the creating script; it does not report client playback. |
| CameraShakePattern | Enum | Selects the motion used by a camera shake. |
| CameraShakeSettings | Class | Configures a camera shake; changes affect subsequent starts only. |
| CharacterAnimation | Class | The CharacterAnimation class represents an animation that can be played on a character component. |
| CharacterComponent | Class | The CharacterComponent handles character specific operations like playing CharacterAnimations. |
| CharacterTracker | Class | The CharacterTracker keeps track of the quests associated with a QuestCharacter for a user. |
| CharacterTrackerData | Class | Handler for Character Tracker update events. |
| Chat | Class | The Chat class handles chat subscriptions and sending messages to users and other scripts. |
| Chat. | Delegate | Subscribe to receive events on chat messages from the system, users or scripts. |
| ChatData | Class | Subscribe to receive events on chat messages from the system, users or scripts. |
| Client | Class | The Client class is used for access to the Client connected to a AgentPrivate. |
| Cluster | Class | The Cluster class handles interactions with in game objects. |
| ClusterId | Struct | Encapsulates an Cluster Id. |
| ClusterResource | Class | The ClusterResource class represents a cluster that could be added to the scene. See ScenePrivate.CreateCluster. |
| CollisionData | Class | Handler for rigid body events. |
| CollisionEventPhase | Enum | Phase for events that encapsulate sequence of occurrences |
| CollisionEventType | Enum | Type of collision event. |
| CommandAction | Enum | Specifies a command action. |
| CommandData | Class | Command events are generated by the client when input events occur. |
| ComponentType | Enum | Type of component. See ObjectPrivate.GetComponent |
| ControlPointType | Enum | Control points are a representation of some spatial inputs, primarily VR controllers. |
| DataStore | Class | The DataStore class provides access to a persistent data store that can be accessed by scripts from any experience. |
| DataStore. | Struct | Controls how various DataStore operations proceed. |
| DataStore. | Class | Holds the result of operations on a DataStore. |
| HeldObjectData | Class | Handler for agent grab events. |
| HeldObjectEventType | Enum | Type of held object event. |
| HeldObjectInfo | Struct | Information about if this HeldObjectInfo is being held by an agent. |
| HttpClient | Class | The Http Client can be used to make HTTP requests to external services. |
| HttpClient. | Class | The result of a HttpClient.Request call. |
| HttpRequestMethod | Enum | Enumerates the possible Http Request Methods |
| HttpRequestOptions | Struct | Options used for HttpClient.Request |
| HttpResponse | Struct | Data returned from HttpClient.Request |
| Interaction | Class | |
| InteractionData | Class | Handler for Interaction events. |
| InterpolationMode | Enum | Type of interpolation to use for various interfaces |
| LightComponent | Class | The LightComponent handles interactions with lights. |
| LightType | Enum | Enumeration for the different types of lights |
| MaterialProperties | Struct | |
| MediaAction | Enum | Special actions to perform on media surfaces with SetMediaAction |
| MeshComponent | Class | The MeshComponent handles interactions with static meshes. |
| MirrorComponent | Class | The MirrorComponent handles interactions with mirrors. |
| ModalDialog | Class | Manages a modal dialog which can be presented to the user. |
| MoveMode | Enum | Type of interpolation to use for movement |
| Mover | Class | The Mover handles adding moves to process for an object. |
| ObjectPrivate | Class | Interface to an object in a Cluster in the Scene. |
| ObjectPrivate. | Class | The result of AddInteraction request. |
| ObjectPublic | Class | The ObjectPublic class is a more limited subset of the ObjectPrivate API for use by other scripts in the scene. |
| ObjectScript | Class | Extend SceneObjectScript to create a script that can be used on content that is rezzable in a scene. |
| Objective | Class | The Objective is the interface for a user’s Quest Objective |
| ObjectiveData | Class | Handler for Objective state change events. |
| ObjectiveDefinition | Class | The ObjectiveDefinition stores the data that is used to create quest objective instances for users. |
| ObjectiveDefinition. | Class | |
| ObjectiveState | Enum | State of a quest objective for a user. |
| PlayHandle | Class | The PlayHandle represents audio play handles. |
| PlaySettings | Struct | The PlaySettings class contains settings for playing sounds. |
| PlayStatus | Enum | Current status of the PlayStatus. |
| Quest | Class | The Quest is the interface for a user’s progress in a Quest. |
| QuestCharacter | Class | The QuestCharacter is the interface for a Quest Character |
| QuestData | Class | Handler for Quest state change events. |
| QuestDefinition | Class | The QuestDefinition stores the data that is used to create quest instances for users. |
| QuestDefinition. | Class | |
| QuestState | Enum | State of a quest for a user. |
| RagdollRegion | Enum | Flags for targeting specific ragdoll body regions. Combine with bitwise OR. |
| RayCastHit | Struct | Result of a Raycast. |
| ReactionData | Class | Subscribe to receive reaction events from users. |
| Reactions | Class | The Reactions class subscriptions to user reaction events. |
| RenderMaterial | Class | The RenderMaterial handles interactions with render materials. |
| RigidBodyComponent | Class | The RigidBodyComponent handles interactions with rigid body physics. |
| RigidBodyComponent. | Delegate | Handler for rigid body events. |
| RigidBodyMotionType | Enum | Type of motion that can be applied to a rigid body. |
| SceneInfo | Class | Information about a Scene. |
| SceneObjectScript | Class | 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 | Class | Interface for Scripts that are part of a Scene. A more complete and less limited API than ScenePublic |
| ScenePrivate. | Class | The result of a create cluster request. |
| ScenePrivate. | Delegate | Handler for CreateCluster |
| ScenePublic | Class | The Public Scene API, a more limited subset of ScenePrivate. |
| ScriptCameraControlMode | Enum | Type of control mode to use for a script camera. |
| SimpleScript | Class | 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. | Class | Use to create additional OnAddUser subscriptions |
| SimpleScript. | Class | Set options for OnChat() overrides, or use to create more simple chat handlers. |
| SimpleScript. | Class | Set options for OnCollision events, or use to create more simple collision handlers. |
| SimpleScript. | Class | Use to create additional OnRemoveUser subscriptions |
| SimpleScript. | Class | Set options for OnScriptEvent events. |
| SimpleScript. | Class | Set options for OnTimer() overrides, or use to create more simple timers. |
| SimpleScript. | Class | Internal Use Only |
| SitEventType | Enum | Type of sit event. |
| SitObjectData | Class | Handler for agent sit events. |
| SitObjectInfo | Struct | Information about if an agent is sitting on this SitObjectInfo. |
| SoundResource | Class | The SoundResource class represents a sound that could be added to the scene. |
| StreamChannel | Enum | For playing a stream from the scene. |
| TextureResource | Class | The TextureResource class represents a texture from the inventory, such as a color LUT. See ScenePrivate.SetColorLut. |
| ThumbnailedClusterResource | Class | The ThumbnailedClusterResource class represents a cluster that has properties to be shown in the UI. |
| TimeOfDayMode | Enum | How a scene’s time of day runs. |
| TutorialHint | Enum | Tutorial hint types. |
| TwitchData | Class | Twitch events are generated in response to twitch stream interaction. |
| TwitchEventType | Enum | Enumerates the types of twitch events that scripts can subscribe to. |
| UI | Class | Manages the client UI. |
| UIMenu | Class | Manages a clickable on-screen menu UI element. |
| UIProgressBar | Class | Manages a progress bar UI element. |
| UIScoreBoard | Class | Manages a score board HUD element. |
| User | Class | The User class handles interactions user logins and logoffs. |
| User. | Delegate | Subscribe to receive events when users enter or leave the experience, or change their chat name. |
| UserData | Class | Subscribe to receive events when users enter or leave the experience. |
Generated from the Sansar 47.10.0 client ScriptApi snapshot.