Methods
ModifiedDeviceOrientationControls()
- Source:
StereoCameraZoomFixed()
- Source:
StereoEffect()
- Source:
augmentMorphColor()
Provide additional shaders to render time dependent color.
- Source:
createBufferGeometry()
Create and return a new buffer geometry with the size of length,
and initial coords.
- Source:
mergeAttributes(attributes) → (nullable) {BufferAttribute}
Merges a set of attributes into a single instance. All attributes must have compatible properties and types.
Instances of InterleavedBufferAttribute are not supported.
Parameters:
Name | Type | Description |
---|---|---|
attributes |
Array.<BufferAttribute> | The attributes to merge. |
- Source:
Returns:
The merged attribute. Returns `null` if the merge does not succeed.
- Type
- BufferAttribute
mergeGeometries(geometries, useGroupsopt) → (nullable) {BufferGeometry}
Merges a set of geometries into a single instance. All geometries must have compatible attributes.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
geometries |
Array.<BufferGeometry> | The geometries to merge. | ||
useGroups |
boolean |
<optional> |
false | Whether to use groups or not. |
- Source:
Returns:
The merged geometry. Returns `null` if the merge does not succeed.
- Type
- BufferGeometry
Type Definitions
IMAGE_UINT8_RETURN
Type:
- Set
Properties:
Name | Type | Description |
---|---|---|
array |
Uint8Array | Array containing the uint8 image value. |
width |
Number | Phyiscal image width. |
height |
Number | Phyiscal image height. |
- Source:
SLIDE_SETTINGS
Type:
- Set
Properties:
Name | Type | Description |
---|---|---|
direction |
String | the value must be x, y or z, specify the direction the slide should be facing. |
value |
Number | Normalised value of the location on direction. |
id |
String | ID of the mesh, it is only available if the settings is returned from TextureSlides.createSlide or TextureSlides.getTextureSettings. |
- Source: