Options
All
  • Public
  • Public/Protected
  • All
Menu

Module geometry-utils

Index

References

createBox

Re-exports createBox

createBoxSeparateFace

Re-exports createBoxSeparateFace

createCircle

Re-exports createCircle

createPlane

Re-exports createPlane

createRoundedBox

Re-exports createRoundedBox

createRoundedBoxSeparateFace

Re-exports createRoundedBoxSeparateFace

createSphere

Re-exports createSphere

createTorus

Re-exports createTorus

Variables

Const GeometryUtils

GeometryUtils: { createBox: (params?: Box) => { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }; createBoxSeparateFace: (params?: Box) => any[]; createCircle: (params?: Circle) => { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }; createPlane: (params?: Plane) => { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }; createRoundedBox: (__namedParameters: Object) => { indices: Uint16Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }; createRoundedBoxSeparateFace: (__namedParameters: Object) => never[]; createSphere: (params?: Sphere) => { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }; createTorus: (params?: Torus) => { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array } } = ...
namespace

GeometryUtils

Type declaration

  • createBox: (params?: Box) => { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }
      • (params?: Box): { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }
      • Generates geometry data for a box

        Parameters

        • params: Box = ...

        Returns { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }

        • indices: Uint16Array | Uint32Array
        • normal: Float32Array
        • uv: Float32Array
        • vertices: Float32Array
  • createBoxSeparateFace: (params?: Box) => any[]
      • (params?: Box): any[]
      • Generates geometry data for a box

        Parameters

        • params: Box = ...

        Returns any[]

        ]}

  • createCircle: (params?: Circle) => { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }
      • (params?: Circle): { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }
      • description

        Generate circle geometry

        Parameters

        • params: Circle = ...

        Returns { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }

        • indices: Uint16Array | Uint32Array
        • normal: Float32Array
        • uv: Float32Array
        • vertices: Float32Array
  • createPlane: (params?: Plane) => { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }
      • (params?: Plane): { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }
      • Generates geometry data for a quad

        Parameters

        • params: Plane = ...

        Returns { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }

        • indices: Uint16Array | Uint32Array
        • normal: Float32Array
        • uv: Float32Array
        • vertices: Float32Array
  • createRoundedBox: (__namedParameters: Object) => { indices: Uint16Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }
      • (__namedParameters: Object): { indices: Uint16Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }
      • Parameters

        • __namedParameters: Object

        Returns { indices: Uint16Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }

        • indices: Uint16Array
        • normal: Float32Array
        • uv: Float32Array
        • vertices: Float32Array
  • createRoundedBoxSeparateFace: (__namedParameters: Object) => never[]
      • (__namedParameters: Object): never[]
      • Parameters

        • __namedParameters: Object

        Returns never[]

  • createSphere: (params?: Sphere) => { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }
      • (params?: Sphere): { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }
      • Generates geometry data for a sphere

        Parameters

        Returns { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }

        • indices: Uint16Array | Uint32Array
        • normal: Float32Array
        • uv: Float32Array
        • vertices: Float32Array
  • createTorus: (params?: Torus) => { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }
      • (params?: Torus): { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }
      • description

        Generate torus geometry

        Parameters

        • params: Torus = ...

        Returns { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }

        • indices: Uint16Array | Uint32Array
        • normal: Float32Array
        • uv: Float32Array
        • vertices: Float32Array

Generated using TypeDoc