arrow-left

All pages
gitbookPowered by GitBook
1 of 20

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

AddCollider

AnythingWorld.RequestParameter.AddCollider

Declarations

public static AddCollider AddCollider()
public static AddCollider AddCollider(bool value)

Parameters

value

Add collider to object

hashtag
Description

Add collider around object that encloses object mesh(es).

IsAnimated

AnythingWorld.RequestParameter.IsAnimated

Declarations

public static RequestParameterOption IsAnimated(bool value)

Parameters

value

Set if model animation should be requested.

hashtag
Description

Request model with animation system if available.

AddScripts

AnythingWorld.RequestParameter.AddScripts

Declarations

public static RequestParameterOption AddScripts(params Type[] scriptTypes)
public static RequestParameterOption AddScripts(params MonoBehaviour[] monobehaviours)

Parameters

scriptTypes

Types of scripts to be added to object. (must be derived from MonoBehaviour)

monobehaviours

MonoBehaviour scripts to be added to object.

hashtag
Description

Specify scripts to add to object after creation process completed.

AddRigidbody

AnythingWorld.RequestParameter.AddRigidbody

Declarations

public static AddRigidbody AddRigidbody()
public static AddRigidbody AddRigidbody(bool value)

Parameters

value

Add Rigidbody to object.

hashtag
Description

Add Rigidbody to object.

ClampDatabaseScale

AnythingWorld.RequestParameter.ClampDatabaseScale

hashtag
Declarations

public static RequestParameterOption ClampDatabaseScale(Vector3 upperBound)
public static RequestParameterOption ClampDatabaseScale(Vector3 lowerBound, Vector3 upperBound)

hashtag
Parameters

hashtag
Description

Clamp database scale between given values.

RequestParameter

AnythingWorld.RequestParameter

hashtag
Static Methods

Add collider around object that encloses object mesh(es).

Add Rigidbody to object.

hashtag
Description

Utility for building and passing parameters to the maker pipeline.

OnFailAction

AnythingWorld.RequestParameter.OnFailAction

Declaration

hashtag
Parameters

LegacyAnimatorInEditorOption

AnythingWorld.RequestParameter.LegacyAnimatorInEditorOption

Declarations

Parameters

hashtag

PlaceOnGrid

AnythingWorld.RequestParameter.PlaceOnGrid

Declarations

Parameters

hashtag

OnSuccessAction

AnythingWorld.RequestParameter.OnSuccessAction

Declaration

hashtag
Parameters

Parent

AnythingWorld.RequestParameter.Parent

Declarations

Parameters

hashtag

PlaceOnGround

AnythingWorld.RequestParameter.PlaceOnGround

Declarations

Parameters

hashtag

lowerBound

The lower bound of object scale.

upperBound

The upper bound of object scale.

Specify scripts to add to object after creation process has completed.

ClampDatabaseScale

Clamp database scale between given values.

LegacyAnimatorInEditor

Make the object use the legacy animation system.

PlaceOnGrid

Place object on grid.

PlaceOnGround

Set origin of object to the centre bottom of mesh bounds.

Parent

Set parent GameObject for created model.

SerializeAsset

Serialize model assets to database on loading completion.

SetDefaultBehaviourPreset

Add default behaviour from default or given preset.

TransformSpace

Define whether transformations (position, rotation) should be applied using world space or local space.

AddCollider
AddRigidbody
AddScripts
Description

Make the object use the legacy animation system.

public static LegacyAnimatorInEditorOption LegacyAnimatorInEditorOption(bool value)

value

Tells AnythingWorld to use the legacy animation system for the created model.

Description

Place object on grid.

 public static RequestParameterOption PlaceOnGrid(bool value)

value

Place object on grid.

Description

Set parent GameObject for created model.

public static RequestParameterOption Parent(Transform parentTransform)

parentTransform

Transform that model will be parented to.

Description

Set origin of object to the centre bottom of mesh bounds.

public static RequestParameterOption PlaceOnGround(bool value)

value

Place object on ground

hashtag
Declaration

hashtag
Parameters

action

Action that will be invoked on failed request and passed a CallbackInfo as an action.

hashtag
Description

Pass an action into make process that will be invoked on a failed model creation or request.

public static RequestParameterOption OnFailAction(Action action)

action

Action that will be invoked on failed request.

hashtag
Declaration

Parameters

action

Action with CallbackInfo return type that will be invoked on successful object request.

hashtag
Description

Pass action into make process that will be invoked on a successful model creation.

public static RequestParameterOption OnSuccessAction(Action action)

action

Action with void return type that will be invoked on successful request.

public static RequestParameterOption OnFailAction(Action<CallbackInfo> action)
public static RequestParameterOption OnSuccessAction(Action<CallbackInfo> action)

Position

AnythingWorld.RequestParameter.Position

Declarations

public static RequestParameterOption Position(Vector3 positionVector)
public static RequestParameterOption Position(int x, int y, int z)

Parameters

positionVector

Position vector apply to object transform.

x, y, z

x, y and z position to apply to object transform.

hashtag
Description

Multiply the default or defined scale value by this value.

Rotation

AnythingWorld.RequestParameter.Rotation

Declarations

public static RequestParameterOption Rotation(Quaternion quaternionRotation)
public static RequestParameterOption Rotation(Vector3 eulerRotation)

Parameters

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.

hashtag
Description

Set rotation of object transform.

public static RequestParameterOption Rotation(int x, int y, int z)

ScaleMultiplier

AnythingWorld.RequestParameter.ScaleMultiplier

Declarations

Parameters

SerializeAsset

AnythingWorld.RequestParameter.SerializeAsset

Declarations

Parameters

hashtag

TransformSpace

AnythingWorld.RequestParameter.TransformSpace

Declarations

Parameters

hashtag

ScaleType

AnythingWorld.RequestParameter.ScaleType

Declarations

Parameters

hashtag

Scale

AnythingWorld.RequestParameter.Scale

Declarations

Parameters

SetDefaultBehaviourPreset

AnythingWorld.RequestParameters.SetDefaultBehaviourPreset

Declarations

Parameters

hashtag

hashtag
Description

Multiply the default or defined scale value by this value.

public static RequestParameterOption ScaleMultiplier(float scaleVector)

scaleVector

Vector scale

x, y, z

Scale in the X, Y and Z axis that will be applied to transform.

Description

Serialize model assets to database on loading completion.

public static RequestParameterOption SerializeAsset()
public static RequestParameterOption SerializeAsset(bool value)

value

Serialize this asset.

Description

Define whether transformations (position, rotation) should be applied using world space or local space.

public static RequestParameterOption TransformSpace(Utilities.TransformSpace space)

space

Enum defining the transform space to be used while applying transform properties to this model.

hashtag
Description

Set scale of object transform.

public static RequestParameterOption Scale(Vector3 scaleVector)
public static RequestParameterOption Scale(int x, int y, int z)

scaleVector

Vector scale applied to transform.

x, y, z

Scale in the X, Y and Z axis that will be applied to transform.

Description

Choose whether to apply behaviours from a default or given preset.

public static RequestParameterOption SetDefaultBehaviourPreset()
public static RequestParameterOption SetDefaultBehaviourPreset(DefaultBehaviourPreset behaviourPreset)

behaviourPreset

Scriptable object defining default behaviours for model categories.

Description

Multiply the default or defined scale value by this value.

public static RequestParameterOption ScaleType(Utilities.ScaleType scaleType)

scaleType

Type of scaling applied to this this model (See )

Utilities.ScaleType