EntityViewer

Description

Supported Script Types: Assignment Client Scripts

Methods

Name Return Value Summary
getBoundaryLevelAdjust number
getMaxPacketsPerSecond number
getOctreeElementsCount number
getOrientation Quat
getPosition Vec3
getVoxelSizeScale number
queryOctree None
setBoundaryLevelAdjust None
setCenterRadius None
setKeyholeRadius None

Deprecated: Use setCenterRadius instead.

setMaxPacketsPerSecond None
setOrientation None
setPosition None
setVoxelSizeScale None

Method Details

(static) getBoundaryLevelAdjust( ) → {number}
Returns: number

(static) getMaxPacketsPerSecond( ) → {number}
Returns: number

(static) getOctreeElementsCount( ) → {number}
Returns: number

(static) getOrientation( ) → {Quat}
Returns: Quat

(static) getPosition( ) → {Vec3}
Returns: Vec3

(static) getVoxelSizeScale( ) → {number}
Returns: number

(static) queryOctree( )

(static) setBoundaryLevelAdjust( boundaryLevelAdjust )

Parameters

Name Type Description
boundaryLevelAdjust number
(static) setCenterRadius( radius )

Parameters

Name Type Description
radius number
(static) setKeyholeRadius( radius )

Deprecated: Use setCenterRadius instead.

Parameters

Name Type Description
radius number
(static) setMaxPacketsPerSecond( maxPacketsPerSecond )

Parameters

Name Type Description
maxPacketsPerSecond number
(static) setOrientation( orientation )

Parameters

Name Type Description
orientation Quat
(static) setPosition( position )

Parameters

Name Type Description
position Vec3
(static) setVoxelSizeScale( sizeScale )

Parameters

Name Type Description
sizeScale number