Last updated

API / geotoolkit3d / scene / seismic / SliceMaterial / SliceMaterial / Tile

Namespace: Tile

SliceMaterial.SliceMaterial.Tile

Table of contents

Type Aliases

Contents

Type Aliases

MaterialOptions

Ƭ MaterialOptions: Object

Type declaration

NameTypeDescription
polygonoffsetfactornumberSets the Slice offset factor. Default is 0 (no offset).
Offsets should be positive integers, multiples of 1.
The larger the offset, the closer to the camera the Slice will render, making it appear over other Slices.
(Negative offset is possible, but can cause clipping with other objects such as the Grid).
Use this factor to determine which slice should be in front, ex:
  • 1st slice (in the back) have an offset = 0
  • 2nd slice (in the middle) have an offset = 1
  • 3rd slice (in the front) have an offset = 2, and so on...
Is intended to be similar to https://threejs.org/docs/#api/en/materials/Material.polygonOffset, but this implementation is not driver-dependant and should work on any device.

OptionsBase

Ƭ OptionsBase: OptionsBase & Partial<MaterialOptions>


OptionsBaseOut

Ƭ OptionsBaseOut: OptionsBaseOut & MaterialOptions