Module: Plugins
Classes
- DiamondPlugin
- ACameraControlsPlugin
- ARPlugin
- AnisotropyPlugin
- BaseGroundPlugin
- BeringRingAnimation
- BloomPlugin
- CSGPluginBSP
- CSGPluginBVH
- CSGPluginBase
- CameraViewControlPlugin
- CameraView
- CameraViewPlugin
- CannonPhysicsPlugin
- CanvasRecorderPlugin
- CanvasSnipperPlugin
- ClearcoatTintPlugin
- ContactShadowGroundPlugin
- CustomAnimationHelperPlugin
- CustomBumpMapPlugin
- DebugPlugin
- DepthOfFieldPlugin
- DeviceOrientationControlsPlugin
- DropzonePlugin
- FileTransferPlugin
- FirstPersonControlsPlugin
- FragmentClippingExtensionPlugin
- FrameFadePlugin
- FullScreenPlugin
- GBufferPlugin
- GLTFAnimationPlugin
- GLTFSpecGlossinessConverterPlugin
- GenericFilterPlugin
- GeometryGeneratorPlugin
- GroundPlugin
- HDRiGroundPlugin
- InteractionPromptPlugin
- LayeredMaterialPlugin
- MaterialConfiguratorBasePlugin
- MaterialConfiguratorPlugin
- MaterialLibraryBasePlugin
- MaterialLibraryPlugin
- MaterialPresetPlugin
- MeshOptSimplifyModifierPlugin
- ModelStagePlugin
- MultiFilterPlugin
- NoiseBumpMaterialPlugin
- NormalBufferPlugin
- ObjectRotationPlugin
- ParallaxCameraControllerPlugin
- ParallaxMappingPlugin
- PointerLockControlsPlugin
- PopmotionPlugin
- PosePlugin
- PresetLibraryPlugin
- RainbowDiamondPlugin
- RandomizedDirectionalLightPlugin
- SSAOPlugin
- SSBevelPlugin
- SSContactShadows
- SSGIPlugin
- SSRPlugin
- SceneLoopPlugin
- ScrollableCameraViewPlugin
- ScrollableCameraViewPreviewPlugin
- ShapeTubeExtrudePlugin
- EllipseCurve3D
- TextSVGOptions
- SimpleTextPlugin
- SimplifyModifierPlugin
- SnowFallPlugin
- SwitchNodeBasePlugin
- SwitchNodePlugin
- TemporalAAPlugin
- ThinFilmLayerPlugin
- TrackballControlsPlugin
- TransformAnimationPlugin
- TransfrSharePlugin
- TriplanarUVMappingPlugin
- VRPluginBasic
- VariationConfiguratorEditorUiPlugin
- VariationConfiguratorGridUiPlugin
- VariationConfiguratorPlugin
- VelocityBufferPlugin
- VirtualCamerasPlugin
- WaveGroundPlugin
- UChartOptions
- UPackOptions
- XAtlasPlugin
- CSS3DRendererPlugin
- ChromaticAberrationPlugin
- CombinedPostPlugin
- FilmicGrainPlugin
- GammaCorrectionExtension
- GammaCorrectionPlugin
- LUTPlugin
- OutlinePlugin
- PMREMGeneratorPlugin
- ProgressivePlugin
- TonemapPlugin
- VignettePlugin
Interfaces
- GroundOptions
- MaterialVariations
- AnimationResult
- ITextSVGOptions
- SimplifyOptions
- ObjectSwitchNode
- TSavedTransform
- IConfiguratorVariation
- VirtualCamera
- CSSObjectTracker
- IConvergedCanvasRecorder
Enumerations
Functions
addBloomData
▸ addBloomData(material): boolean
Parameters
| Name | Type |
|---|---|
material | Material<MaterialEventMap> |
Returns
boolean
buildCSGMeshBSP
▸ buildCSGMeshBSP(meshes, matrix?): Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material<MaterialEventMap> | Material<MaterialEventMap>[], Object3DEventMap>
Parameters
| Name | Type |
|---|---|
meshes | [Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material<MaterialEventMap> | Material<MaterialEventMap>[], Object3DEventMap>, TCSGOperation][] |
matrix? | Matrix4 |
Returns
Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material<MaterialEventMap> | Material<MaterialEventMap>[], Object3DEventMap>
buildCSGMeshBVH
▸ buildCSGMeshBVH(meshes, matrix?): Brush
Parameters
| Name | Type |
|---|---|
meshes | [Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material<MaterialEventMap> | Material<MaterialEventMap>[], Object3DEventMap>, TCSGOperation][] |
matrix? | Matrix4 |
Returns
Brush
sphericalFromObject
▸ sphericalFromObject(obj, target): Spherical
Parameters
| Name | Type |
|---|---|
obj | Object |
obj.position | Vector3 |
obj.up | Vector3 |
target | Vector3 |
Returns
Spherical
lerpAngle
▸ lerpAngle(a, b, t): number
Parameters
| Name | Type |
|---|---|
a | number |
b | number |
t | number |
Returns
number
lerpAngle2
▸ lerpAngle2(a, b, w): number
Parameters
| Name | Type |
|---|---|
a | number |
b | number |
w | number |
Returns
number
slerp
▸ slerp(start, end, percent): Vector3
Parameters
| Name | Type |
|---|---|
start | Vector3 |
end | Vector3 |
percent | number |
Returns
Vector3
createIFrameCSS3DObject
▸ createIFrameCSS3DObject(url, width, height, onload): CSS3DObject
Parameters
| Name | Type |
|---|---|
url | string |
width | number |
height | number |
onload | () => void |
Returns
CSS3DObject
computeAverageGeometryNormal
▸ computeAverageGeometryNormal(modelObj): Vector3
Parameters
| Name | Type |
|---|---|
modelObj | Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material<MaterialEventMap> | Material<MaterialEventMap>[], Object3DEventMap> |
Returns
Vector3
computeGeometryCenter
▸ computeGeometryCenter(modelObj): Vector3
Parameters
| Name | Type |
|---|---|
modelObj | Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material<MaterialEventMap> | Material<MaterialEventMap>[], Object3DEventMap> |
Returns
Vector3
computeGeometrySize
▸ computeGeometrySize(modelObj, upVector?): Vector3
Parameters
| Name | Type |
|---|---|
modelObj | Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material<MaterialEventMap> | Material<MaterialEventMap>[], Object3DEventMap> |
upVector | Vector3 |
Returns
Vector3
addLUTData
▸ addLUTData(material): boolean
Parameters
| Name | Type |
|---|---|
material | Material<MaterialEventMap> |
Returns
boolean
Type aliases
TCSGOperation
Ƭ TCSGOperation: "union" | "subtract" | "intersect"
CanvasSnipperOptions
Ƭ CanvasSnipperOptions: SnipOptions & { waitForProgressive?: boolean ; progressiveFrames?: number ; tileRows?: number ; tileColumns?: number }
Variables
csgOperations
• Const csgOperations: TCSGOperation[]
fontFormatExtensionMap
• Const fontFormatExtensionMap: any
Uncharted2Tonemapping
• Const Uncharted2Tonemapping: ToneMapping = CustomToneMapping