Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
AnythingWorld.AnythingMaker.Make
This method allows users to request an object from the Anything World database and have it instantiated in the scene according to the parameters they pass in. If no parameters are passed in the default parameters will be used.
Users can provide RequestParams, that can be created using the RequestParameter class.
name
Name of model to request from database with or without GUID qualified. (eg. fox, cat#0001)
parameters
Optional list of request parameters (see: RequestParameter) to apply to this request, override default parameters.
Add collider around object that encloses object mesh(es). |
Add Rigidbody to object. |
Specify scripts to add to object after creation process has completed. |
Clamp database scale between given values. |
Make the object use the legacy animation system. |
Place object on grid. |
Set origin of object to the centre bottom of mesh bounds. |
Set parent GameObject for created model. |
Serialize model assets to database on loading completion. |
Add default behaviour from default or given preset. |
Define whether transformations (position, rotation) should be applied using world space or local space. |
This method allows users to request an object from the Anything World database and have it instantiated in the scene according to the parameters they pass in. |
A class that provides methods for creating game objects from the Anything World database based on search terms and parameters. |
Utility for building and passing parameters to the maker pipeline. |
Namespace holding scripts handling speech-to-text, text-to-speech and command parsing functions. |
value
Add collider to object
scriptTypes
Types of scripts to be added to object. (must be derived from MonoBehaviour)
monobehaviours
MonoBehaviour scripts to be added to object.
value
Tells AnythingWorld to use the legacy animation system for the created model.
value
Add Rigidbody to object.
lowerBound | The lower bound of object scale. |
upperBound | The upper bound of object scale. |
value | Set if model animation should be requested. |
action
Action that will be invoked on failed request.
action
Action that will be invoked on failed request and passed a CallbackInfo as an action.
value
Place object on ground
parentTransform
Transform that model will be parented to.
value
Place object on grid.
action
Action with void return type that will be invoked on successful request.
action
Action with CallbackInfo return type that will be invoked on successful object request.
scaleVector
Vector scale applied to transform.
x, y, z
Scale in the X, Y and Z axis that will be applied to transform.
scaleVector
Vector scale
x, y, z
Scale in the X, Y and Z axis that will be applied to transform.
scaleType
Type of scaling applied to this this model (See Utilities.ScaleType)
positionVector | Position vector apply to object transform. |
x, y, z | x, y and z position to apply to object transform. |
quaternionRotation
Quaternion rotation to be applied to transform.
eulerRotation
Euler rotation to be applied to transform.
x, y, z
Euler rotations in the X, Y and Z axis that will be applied to transform.
value
Serialize this asset.
This class handles sending plain text commands to our parsing API and then returning the parsed commands to users and handling the command.
space
Enum defining the transform space to be used while applying transform properties to this model.
input
Plain text command to be parsed by API.
OnSuccess
Action that will be invoked on successfully parsed and returned command, must take a string input
behaviourPreset
Scriptable object defining default behaviours for model categories.
input | Plain text command to be parsed by API. |
ReturnedCommandAction | Action that will be invoked on successfully parsed and returned command, must take a string input. |
Requests a command from a plain text input string and handles resulting command through CommandHandler utility. |
Requests a command from a plain text input string and returns the resulting command as a JSON-formatted string. |
AnythingWorld.Animation.MovementJumpLegacyController
Public Methods
Blend between the different movement speeds of the object (Idle, Walk, and Run)
Transition the object to the idle animation.
Transition the object to the start of the jump animation.
Transition the object to the falling animation.
Transition the object to the end of the jump animation.
Transition the object to the run animation.
Transition the object to the walk animation.
Declares utility enums that are used throughout the project for creation processes.
SetRealWorld
The object's size is set to match its real-world size (as provided by database)
ScaleRealWorld
The object's size is scaled in relation to the real world.
Absolute
The object's size is an absolute value, not relative to the real world.
MovementJumpLegacyController | Default legacy controller for rigged objects, such as animals and humans |
FlyingAnimationController | Default legacy controller for flying objects, such as birds |
Represents the type of scaling to be applied to a game asset. |
ModelLoadingPipeline | Represents the type of model loading pipeline used for a game asset. |
DefaultBehaviourType | Represents the default behaviour type for a game asset. |
TransformSpace | Represents the space in which the transform parameters are applied. |
RequestType | Represents the type of request to be made to the API. |
SortingDropdownOption | Represents the sorting options for a dropdown menu. |
AnythingWorld.Animation.LegacyAnimationController
Public Methods
Crossfade between the current animation and another animation |
Play a new animation |
Stop all animations |
Controller waits a set length of seconds and then does a function call |
speed
The speed of the object
AnythingWorld.Animation.FlyingAnimationController
Public Methods
fall
Is the object falling?
Transition the object to the flying animation. |
Transition the object to the idle animation. |
animationName
Name of animation to crossfade to
animationName
Name of animation to play
seconds
Length of time to wait for callback
callback
The function to callback