Astra Unity 2.6.6
Astra Unity Plugin
|
Classes | |
class | AnimatingAnAvatar |
A simple animation example illustrating how to setup the mecanim system and play an animation More... | |
class | AstraExample |
class | AstraExamples |
class | AvatarAgent |
Script that when attached to an avatar, allows it to operate as an independent AI agent that will randomly wander around the scene. More... | |
class | AvatarSpawner |
An example of how to procedurally spawn an avatar into the scene from the existing avatar catalog More... | |
class | BlenderCameraController |
class | CameraControllerBase |
Base component that other camera types like Maya or Unity extend from. Provides several common camera focus and movement functions as an example for working with a character editor. More... | |
class | CameraControllerDemo |
This example uses the Astra system to set up a simple Avatar editor More... | |
class | DriveMorphable |
class | EventSecondsPublisher |
A component that will publish the seconds since application start roughly every second More... | |
class | EventSecondsSubscriber |
Receives an event when loaded with the current number of seconds since the application began. Try toggling the component on and off or deleting it in the scene and observe the console output. More... | |
class | ExampleCameraControllers |
class | GetAvatarRecipeJSON |
class | GettingStarted |
class | LoadAnyUserAvatarByGuid |
class | LoadAssetOntoAvatar |
class | LoadAvatarByGuid |
class | LoadAvatarByRecipeJSON |
class | LoadClothing |
class | LoadClothingOntoAvatar |
class | LoadDecalOntoAvatar |
class | LoadHair |
class | LoadHairOntoAvatar |
class | Login |
An example that shows how to login to Astra using a Tafi account via email/pass More... | |
class | LoginRegisterRemote |
An example that shows how to login and register using remote idntifiers (non-Tafi) This is useful for registering users using your own authentication paramters instead of having users register a Tafi acconut. This means you must have a way to uniquely identify your own users and you need to keep track of that (both an id/email/etc and a password) More... | |
class | LoginRegisterRemoteLegacy |
Handles the login=>register=>login process manually, avoid using this if you're using the latest Astra SDK as there is a helper call Astra.Auth.LoginRegisterRemote that performs this more effciently for you See Also LoginRegisterRemote example in this folder More... | |
class | ManyAvatarsController |
This example demonstrates some of the techniques to be able to load many avatars at the same time more efficiently More... | |
class | MaxCameraController |
class | MayaCameraController |
class | MidLevel |
class | Precache |
class | QueryingCatalog |
Assumes you are already initialized in Astra More... | |
class | Register |
Registers an account on Tafi's registration system, if you have your own system you likely want to use RegisterRemote or LoginRegisterRemote instead More... | |
class | RemoveAssetFromAvatar |
class | RestoreSession |
An example that shows how to restore an Astra session using Auth.GetCookie and Auth.RestoreSession More... | |
class | SampleCameraController |
class | SampleEditor |
This example uses the Astra system to set up a simple Avatar editor More... | |
class | SaveAvatar |
class | SearchForAssets |
class | SearchForAvatars |
class | SearchForClothing |
class | SearchForDecals |
class | SearchForHair |
class | SearchForMorphables |
class | SetAndGetAppId |
class | SubstanceCameraController |
class | TintAsset |
class | UnityCameraController |
class | WatchForAvatarLoad |
Simple example to watch for avatar load events Try starting this and then loading an avatar such as from the Astra/Asset/Search tool More... | |
class | ZbrushCameraController |
This is a simple guide for getting familiar with the Astra system
The guide will illustrate in-runtime the basic functionality which you can then correlate with the actual code hooks to see how things are done
This demonstrates how to have a precache of astra data that is used when starting up for a first launch experience when no cache is available. Without having a precache, the cache will have to be created on first launch, which requires a number of network calls and can take a while, especially on mobile. Doing it this way allows you to have a cache that is built into the app that is used if there is no cache instead.
The UX here shows four buttons: 1) Clear Cache - If there is a cache file, delete it. 2) Copy Cache - Copies over the cache found in the StreamingAssets folder over the cache. This can only be done before the Avatar is loaded. 3) Starts up Astra - Runs the startup process for Astra, preparing it to be initialized. 4) Load Avatar - Loads an avatar. If there is a cache file, this load process won't take too long. If there is not a cache file, it will take a while.
Note that you cannot do the Clear Cache or Copy Cache operations after you've chosen to Load an avatar. The cache is currently opened so cannot be removed.
This example uses the Astra system to set up a simple Avatar editor
This file is a very simple implementation that allows you to zoom in or out, and rotate the avatar, attached to the main camera.