Interface CubeDescriptor

Descriptor interface for creating a cube primitive

interface CubeDescriptor {
    color?: IColorRgba;
    material?: Material;
    physics?: PhysicsProperty;
    widthVector?: IVector3;
}

Hierarchy (view full)

Properties

color?: IColorRgba

color

material?: Material

attach a rhodonite material to this plane(the default material is the classicUberMaterial

physics?: PhysicsProperty
widthVector?: IVector3

three width (width, height, depth) in (x, y, z)