Skip to main content

Module: Plugins

Classes

Interfaces

Enumerations

Functions

addBloomData

addBloomData(material): boolean

Parameters

NameType
materialMaterial<Event, string>

Returns

boolean

Defined in

webgi/src/plugins/BloomPlugin.ts:12


buildCSGMeshBSP

buildCSGMeshBSP(meshes, matrix?): Mesh<BufferGeometry<NormalBufferAttributes, Event, string>, Material<Event, string> | Material<Event, string>[]>

Parameters

NameType
meshes[Mesh<BufferGeometry<NormalBufferAttributes, Event, string>, Material<Event, string> | Material<Event, string>[]>, TCSGOperation][]
matrix?Matrix4

Returns

Mesh<BufferGeometry<NormalBufferAttributes, Event, string>, Material<Event, string> | Material<Event, string>[]>

Defined in

webgi/src/plugins/CSGPluginBSP.ts:6


buildCSGMeshBVH

buildCSGMeshBVH(meshes, matrix?): Brush

Parameters

NameType
meshes[Mesh<BufferGeometry<NormalBufferAttributes, Event, string>, Material<Event, string> | Material<Event, string>[]>, TCSGOperation][]
matrix?Matrix4

Returns

Brush

Defined in

webgi/src/plugins/CSGPluginBVH.ts:12


sphericalFromObject

sphericalFromObject(obj, target): Spherical

Parameters

NameType
objObject
obj.positionVector3
obj.upVector3
targetVector3

Returns

Spherical

Defined in

webgi/src/plugins/CameraViewPlugin.ts:657


lerpAngle

lerpAngle(a, b, t): number

Parameters

NameType
anumber
bnumber
tnumber

Returns

number

Defined in

webgi/src/plugins/CameraViewPlugin.ts:757


lerpAngle2

lerpAngle2(a, b, w): number

Parameters

NameType
anumber
bnumber
wnumber

Returns

number

Defined in

webgi/src/plugins/CameraViewPlugin.ts:767


slerp

slerp(start, end, percent): Vector3

Parameters

NameType
startVector3
endVector3
percentnumber

Returns

Vector3

Defined in

webgi/src/plugins/CameraViewPlugin.ts:775


createIFrameCSS3DObject

createIFrameCSS3DObject(url, width, height, onload): CSS3DObject

Parameters

NameType
urlstring
widthnumber
heightnumber
onload() => void

Returns

CSS3DObject

Defined in

webgi/src/plugins/threejs/CSS3DRendererPlugin.ts:355


computeAverageGeometryNormal

computeAverageGeometryNormal(modelObj): Vector3

Parameters

NameType
modelObjMesh<BufferGeometry<NormalBufferAttributes, Event, string>, Material<Event, string> | Material<Event, string>[]>

Returns

Vector3

Defined in

webgi/src/plugins/threejs/CSS3DRendererPlugin.ts:397


computeGeometryCenter

computeGeometryCenter(modelObj): Vector3

Parameters

NameType
modelObjMesh<BufferGeometry<NormalBufferAttributes, Event, string>, Material<Event, string> | Material<Event, string>[]>

Returns

Vector3

Defined in

webgi/src/plugins/threejs/CSS3DRendererPlugin.ts:419


computeGeometrySize

computeGeometrySize(modelObj, upVector?): Vector3

Parameters

NameType
modelObjMesh<BufferGeometry<NormalBufferAttributes, Event, string>, Material<Event, string> | Material<Event, string>[]>
upVectorVector3

Returns

Vector3

Defined in

webgi/src/plugins/threejs/CSS3DRendererPlugin.ts:434


addLUTData

addLUTData(material): boolean

Parameters

NameType
materialMaterial<Event, string>

Returns

boolean

Defined in

webgi/src/plugins/threejs/LUTPlugin.ts:168

Type aliases

TCSGOperation

Ƭ TCSGOperation: "union" | "subtract" | "intersect"

Defined in

webgi/src/plugins/CSGPluginBase.ts:11

Variables

csgOperations

Const csgOperations: TCSGOperation[]

Defined in

webgi/src/plugins/CSGPluginBase.ts:12


fontFormatExtensionMap

Const fontFormatExtensionMap: any

Defined in

webgi/src/plugins/SimpleTextPlugin.ts:90


Uncharted2Tonemapping

Const Uncharted2Tonemapping: ToneMapping = CustomToneMapping

Defined in

webgi/src/plugins/threejs/TonemapPlugin.ts:31