Skip to content

@jpmorganchase/anu / Exports / Layout

Class: Layout

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Layout(name, options, scene): Layout

Parameters

NameType
namestring
optionsLayoutOptions
sceneScene

Returns

Layout

Defined in

prefabs/Layout/Layout.ts:23

Properties

currentLayout

currentLayout: Number = 0

Defined in

prefabs/Layout/Layout.ts:20


name

name: string

Defined in

prefabs/Layout/Layout.ts:17


options

options: LayoutOptions

Defined in

prefabs/Layout/Layout.ts:18


root

root: Mesh

Defined in

prefabs/Layout/Layout.ts:21


scene

scene: Scene

Defined in

prefabs/Layout/Layout.ts:19

Methods

animatePosition

animatePosition(obj, newPos): void

Parameters

NameType
objTransformNode
newPosVector3

Returns

void

Defined in

prefabs/Layout/Layout.ts:182


animateRotation

animateRotation(obj, newRot): void

Parameters

NameType
objTransformNode
newRotVector3

Returns

void

Defined in

prefabs/Layout/Layout.ts:195


animateScale

animateScale(obj, newScale): void

Parameters

NameType
objTransformNode
newScaleVector3

Returns

void

Defined in

prefabs/Layout/Layout.ts:210


attr

attr(s, val): Layout

Parameters

NameType
sstring
valobject

Returns

Layout

Defined in

prefabs/Layout/Layout.ts:124


boundingBoxLocal

boundingBoxLocal(selection): BoundingInfo

Parameters

NameType
selectionSelection

Returns

BoundingInfo

Defined in

prefabs/Layout/Layout.ts:223


cylinderLayout

cylinderLayout(): Layout

Returns

Layout

Defined in

prefabs/Layout/Layout.ts:53


planeLayout

planeLayout(): Layout

Returns

Layout

Defined in

prefabs/Layout/Layout.ts:31


sphereLayout

sphereLayout(): Layout

Returns

Layout

Defined in

prefabs/Layout/Layout.ts:91


update

update(): Layout

Returns

Layout

Defined in

prefabs/Layout/Layout.ts:171