Class: ThreeUtils
Constructors
constructor
• new ThreeUtils(): ThreeUtils
Returns
Methods
isBufferGeometry
▸ isBufferGeometry(object
): object is BufferGeometry<NormalBufferAttributes>
Parameters
Name | Type |
---|---|
object | any |
Returns
object is BufferGeometry<NormalBufferAttributes>
isCamera
▸ isCamera(object
): object is Camera
Parameters
Name | Type |
---|---|
object | any |
Returns
object is Camera
isCanvasTexture
▸ isCanvasTexture(object
): object is CanvasTexture
Parameters
Name | Type |
---|---|
object | any |
Returns
object is CanvasTexture
isColor
▸ isColor(object
): object is Color
Parameters
Name | Type |
---|---|
object | any |
Returns
object is Color
isEuler
▸ isEuler(object
): object is Euler
Parameters
Name | Type |
---|---|
object | any |
Returns
object is Euler
isGroup
▸ isGroup(object
): object is Group<Object3DEventMap>
Parameters
Name | Type |
---|---|
object | any |
Returns
object is Group<Object3DEventMap>
isMatrix4
▸ isMatrix4(object
): object is Matrix4
Parameters
Name | Type |
---|---|
object | any |
Returns
object is Matrix4
isMesh
▸ isMesh(object
): object is Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>
Parameters
Name | Type |
---|---|
object | any |
Returns
object is Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>
isObject3D
▸ isObject3D(object
): object is Object3D<Object3DEventMap>
Parameters
Name | Type |
---|---|
object | any |
Returns
object is Object3D<Object3DEventMap>
isQuaternion
▸ isQuaternion(object
): object is Quaternion
Parameters
Name | Type |
---|---|
object | any |
Returns
object is Quaternion
isScene
▸ isScene(object
): object is Scene
Parameters
Name | Type |
---|---|
object | any |
Returns
object is Scene
isShaderMaterial
▸ isShaderMaterial(object
): object is ShaderMaterial
Parameters
Name | Type |
---|---|
object | any |
Returns
object is ShaderMaterial
isTexture
▸ isTexture(object
): object is Texture
Parameters
Name | Type |
---|---|
object | any |
Returns
object is Texture
isVector3
▸ isVector3(object
): object is Vector3
Parameters
Name | Type |
---|---|
object | any |
Returns
object is Vector3