MarchingCubes class

Inheritance

Constructors

MarchingCubes(double resolution, [Material? material, bool enableUvs = false, bool enableColors = false, int maxPolyCount = 10000])

Properties

autoUpdate bool
getter/setter pairinherited
background ↔ dynamic
getter/setter pairinherited
bindMatrix Matrix4?
getter/setter pairinherited
castShadow bool
getter/setter pairinherited
children List<Object3D>
getter/setter pairinherited
clist → Float32Array
final
colorArray ↔ Float32Array
getter/setter pair
count int?
getter/setter pairinherited
customDepthMaterial Material?
  • Custom depth material to be used when rendering to the depth map. Can only be used in context of meshes.
    • When shadow-casting with a DirectionalLight or SpotLight, if you are (a) modifying vertex positions in
      • the vertex shader, (b) using a displacement map, (c) using an alpha map with alphaTest, or (d) using a
      • transparent texture with alphaTest, you must specify a customDepthMaterial for proper shadows.
  • getter/setter pairinherited
    customDistanceMaterial Material?
    getter/setter pairinherited
    delta double
    getter/setter pair
    enableColors bool
    getter/setter pair
    enableUvs bool
    getter/setter pair
    environment Texture?
    getter/setter pairinherited
    extra Map<String, dynamic>
    getter/setter pairinherited
    field ↔ Float32Array
    getter/setter pair
    frustumCulled bool
    getter/setter pairinherited
    geometry BufferGeometry?
    getter/setter pairinherited
    halfsize double
    getter/setter pair
    hashCode int
    The hash code for this object.
    no setterinherited
    id int
    getter/setter pairinherited
    instanceColor BufferAttribute<NativeArray<num>>?
    getter/setter pairinherited
    instanceMatrix InstancedBufferAttribute?
    getter/setter pairinherited
    isImmediateRenderObject bool
    getter/setter pairinherited
    isMarchingCubes bool
    getter/setter pair
    isolation double
    getter/setter pair
    layers Layers
    getter/setter pairinherited
    material ↔ dynamic
    getter/setter pairinherited
    matrix Matrix4
    getter/setter pairinherited
    matrixAutoUpdate bool
    getter/setter pairinherited
    matrixWorld Matrix4
    getter/setter pairinherited
    matrixWorldNeedsUpdate bool
    getter/setter pairinherited
    maxPolyCount int
    getter/setter pair
    modelViewMatrix Matrix4
    getter/setter pairinherited
    morphTargetDictionary Map<String, dynamic>?
    getter/setter pairinherited
    morphTargetInfluences List<num>?
    getter/setter pairinherited
    name String
    getter/setter pairinherited
    nlist → Float32Array
    final
    normal_cache ↔ Float32Array
    getter/setter pair
    normalArray ↔ Float32Array
    getter/setter pair
    normalMatrix Matrix3
    getter/setter pairinherited
    onBeforeRender Function?
    getter/setter pairinherited
    overrideMaterial Material?
    getter/setter pairinherited
    palette ↔ Float32Array
    getter/setter pair
    parent Object3D?
    getter/setter pairinherited
    position Vector3
    getter/setter pairinherited
    positionArray ↔ Float32Array
    getter/setter pair
    quaternion Quaternion
    getter/setter pairinherited
    receiveShadow bool
    getter/setter pairinherited
    renderOrder int
    getter/setter pairinherited
    resolution double
    getter/setter pair
    rotation Euler
    getter/setter pairinherited
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited
    scale Vector3
    getter/setter pairinherited
    size double
    getter/setter pair
    size2 double
    getter/setter pair
    size3 double
    getter/setter pair
    skeleton Skeleton?
    getter/setter pairinherited
    tag String?
    getter/setter pairinherited
    type String
    getter/setter pairinherited
    up Vector3
    getter/setter pairinherited
    userData Map<String, dynamic>
    getter/setter pairinherited
    uuid String
    getter/setter pairinherited
    uvArray ↔ Float32Array
    getter/setter pair
    visible bool
    getter/setter pairinherited
    vlist → Float32Array
    final
    yd int
    getter/setter pair
    zd int
    getter/setter pair

    Methods

    add(Object3D? object) Object3D
    inherited
    addAll(List<Object3D> objects) Object3D
    inherited
    addBall(double ballx, double bally, double ballz, double strength, int subtract, [dynamic colors]) → void
    ////////////////////////////////// //////////////////////////////////
    addEventListener(String type, Function listener) → void
    inherited
    addPlaneX(dynamic strength, dynamic subtract) → void
    addPlaneY(dynamic strength, dynamic subtract) → void
    addPlaneZ(dynamic strength, dynamic subtract) → void
    applyMatrix4(Matrix4 matrix) → void
    inherited
    applyQuaternion(Quaternion q) Object3D
    inherited
    attach(Object3D object) Object3D
    inherited
    blur([double intensity = 1]) → void
    clear() Object3D
    inherited
    clearListeners() → void
    inherited
    clone([bool? recursive = true]) Mesh
    inherited
    compNorm(int q) → void
    copy(Object3D source, [bool? recursive]) Mesh
    inherited
    dispatchEvent(Event event) → void
    inherited
    dispose() → void
    inherited
    extractFromCache(Map<String, dynamic> cache) List<Map<String, dynamic>>
    inherited
    getCell(int x, int y, int z) double
    getObjectById(String id) Object3D?
    inherited
    getObjectByName(String name) Object3D?
    inherited
    getObjectByProperty(String name, String value) Object3D?
    inherited
    getProperty(String propertyName) → dynamic
    inherited
    getValue(String name) Matrix4?
    inherited
    getWorldDirection(Vector3 target) Vector3
    inherited
    getWorldPosition(Vector3? target) Vector3
    inherited
    getWorldQuaternion(Quaternion target) Quaternion
    inherited
    getWorldScale(Vector3 target) Vector3
    inherited
    hasEventListener(String type, Function? listener) bool
    inherited
    init() → void
    override
    lerp(dynamic a, dynamic b, dynamic t) double
    //////////////////// ////////////////////
    localToWorld(dynamic vector) → dynamic
    inherited
    lookAt(Vector3 position) → void
    inherited
    noSuchMethod(Invocation invocation) → dynamic
    Invoked when a nonexistent method or property is accessed.
    inherited
    onAfterRender({WebGLRenderer? renderer, dynamic scene, Camera? camera, dynamic geometry, dynamic material, dynamic group}) → void
    inherited
    onQuaternionChange() → void
    inherited
    onRotationChange() → void
    inherited
    polygonize(dynamic fx, dynamic fy, dynamic fz, int q, dynamic isol) int
    posnormtriv(dynamic pos, dynamic norm, dynamic colors, int o1, int o2, int o3) → void
    raycast(Raycaster raycaster, List<Intersection> intersects) → void
    inherited
    remove(Object3D object) Object3D
    inherited
    removeEventListener(String type, Function listener) → void
    inherited
    removeFromParent() Object3D
    inherited
    removeList(List<Object3D> objects) Object3D
    inherited
    reset() → void
    rotateOnAxis(dynamic axis, num angle) Object3D
    inherited
    rotateOnWorldAxis(dynamic axis, num angle) Object3D
    inherited
    rotateX(num angle) Object3D
    inherited
    rotateY(num angle) Object3D
    inherited
    rotateZ(num angle) Object3D
    inherited
    serialize(Map<String, dynamic> library, dynamic element, Object3dMeta? meta) → dynamic
    inherited
    setCell(int x, int y, int z, dynamic value) → void
    ////////////////////////////////// //////////////////////////////////
    setProperty(String propertyName, dynamic value) Object3D
    inherited
    setRotationFromAxisAngle(dynamic axis, num angle) → void
    inherited
    setRotationFromEuler(Euler euler) → void
    inherited
    setRotationFromMatrix(dynamic m) → void
    inherited
    setRotationFromQuaternion(Quaternion q) → void
    inherited
    toJSON({Object3dMeta? meta}) Map<String, dynamic>
    inherited
    toString() String
    A string representation of this object.
    inherited
    translateOnAxis(dynamic axis, num distance) Object3D
    inherited
    translateX(dynamic distance) Object3D
    inherited
    translateY(dynamic distance) Object3D
    inherited
    translateZ(dynamic distance) Object3D
    inherited
    traverse(dynamic callback) → void
    inherited
    traverseAncestors(dynamic callback) → void
    inherited
    traverseVisible(dynamic callback) → void
    inherited
    update() → void
    updateMatrix() → void
    inherited
    updateMatrixWorld([bool force = false]) → void
    inherited
    updateMorphTargets() → void
    inherited
    updateWorldMatrix(bool updateParents, bool updateChildren) → void
    inherited
    vIntX(int q, int offset, dynamic isol, dynamic x, dynamic y, dynamic z, dynamic valp1, dynamic valp2, int c_offset1, int c_offset2) → void
    vIntY(int q, int offset, dynamic isol, dynamic x, dynamic y, dynamic z, dynamic valp1, dynamic valp2, int c_offset1, int c_offset2) → void
    vIntZ(int q, int offset, dynamic isol, dynamic x, dynamic y, dynamic z, dynamic valp1, dynamic valp2, int c_offset1, int c_offset2) → void
    worldToLocal(dynamic vector) → dynamic
    inherited

    Operators

    operator ==(Object other) bool
    The equality operator.
    inherited