Home Reference Source
import {ModificationRequest} from 'rabbit-hole'
public class | source

ModificationRequest

Extends:

MessageDataMessage → ModificationRequest

A modification request.

Constructor Summary

Public Constructor
public

Constructs a new modification request.

Member Summary

Public Members
public

The world positions of the volume data cell.

public

The world size of the volume data cell.

public

A serialised SDF.

Inherited Summary

From class Message
public

A worker action.

public

error: ErrorEvent

An error.

From class DataMessage
public

A serialised data container.

Public Constructors

public constructor() source

Constructs a new modification request.

Override:

DataMessage#constructor

Public Members

public cellPosition: Number[] source

The world positions of the volume data cell.

Together with the world size, this base position describes the region of the volume data cell in world space.

public cellSize: Number source

The world size of the volume data cell.

public sdf: Object source

A serialised SDF.