Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SpherePrimitive

Sphere geometry primitive

Hierarchy

Index

Properties

Static type

type: string = "sphere"

Accessors

Static Buffer

  • get Buffer(): any

Static Picker

  • get Picker(): any

Methods

Static arrayFromShape

  • arrayFromShape(shape: Shape, name: string): any

Static bufferFromShape

  • bufferFromShape(shape: Shape, params: any): any

Static dataFromShape

  • dataFromShape(shape: Shape): any

Static expandBoundingBox

  • expandBoundingBox(box: Box3, data: any): void

Static getShapeKey

  • getShapeKey(name: string): string

Static objectFromShape

  • objectFromShape(shape: Shape, pid: number): any

Static objectToShape

  • objectToShape(shape: Shape, data: any): void

Static positionFromShape

  • positionFromShape(shape: Shape, pid: number): any

Static valueFromShape

  • valueFromShape(shape: Shape, pid: number, name: string): any

Static valueToShape

  • valueToShape(shape: Shape, name: string, value: any): void

Object literals

Static fields

fields: object

color

color: string = "c"

position

position: string = "v3"

radius

radius: string = "f"

Generated using TypeDoc