Skip to main content

Class: ThreeUtils

Constructors

constructor

new ThreeUtils(): ThreeUtils

Returns

ThreeUtils

Methods

isBufferGeometry

isBufferGeometry(object): object is BufferGeometry<NormalBufferAttributes>

Parameters

NameType
objectany

Returns

object is BufferGeometry<NormalBufferAttributes>


isCamera

isCamera(object): object is Camera

Parameters

NameType
objectany

Returns

object is Camera


isCanvasTexture

isCanvasTexture(object): object is CanvasTexture

Parameters

NameType
objectany

Returns

object is CanvasTexture


isColor

isColor(object): object is Color

Parameters

NameType
objectany

Returns

object is Color


isEuler

isEuler(object): object is Euler

Parameters

NameType
objectany

Returns

object is Euler


isGroup

isGroup(object): object is Group<Object3DEventMap>

Parameters

NameType
objectany

Returns

object is Group<Object3DEventMap>


isMatrix4

isMatrix4(object): object is Matrix4

Parameters

NameType
objectany

Returns

object is Matrix4


isMesh

isMesh(object): object is Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>

Parameters

NameType
objectany

Returns

object is Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>


isObject3D

isObject3D(object): object is Object3D<Object3DEventMap>

Parameters

NameType
objectany

Returns

object is Object3D<Object3DEventMap>


isQuaternion

isQuaternion(object): object is Quaternion

Parameters

NameType
objectany

Returns

object is Quaternion


isScene

isScene(object): object is Scene

Parameters

NameType
objectany

Returns

object is Scene


isShaderMaterial

isShaderMaterial(object): object is ShaderMaterial

Parameters

NameType
objectany

Returns

object is ShaderMaterial


isTexture

isTexture(object): object is Texture

Parameters

NameType
objectany

Returns

object is Texture


isVector3

isVector3(object): object is Vector3

Parameters

NameType
objectany

Returns

object is Vector3