Reference Source
public class | source

SceneModelMesh

A mesh within a SceneModel.

Member Summary

Public Members
public

The SceneModelEntity that owns this SceneModelMesh.

public

id: *

Unique ID of this SceneModelMesh.

public

The SceneModel that owns this SceneModelMesh.

public

The SceneModelEntity that owns this SceneModelMesh.

public get

Returns the surface area of this SceneModelMesh.

public

The SceneModelTextureSet that optionally textures this SceneModelMesh.

public

The SceneModelTransform that transforms this SceneModelMesh.

public get

Returns the volume of this SceneModelMesh.

Public Members

public entity: SceneModelEntity source

The SceneModelEntity that owns this SceneModelMesh.

public id: * source

Unique ID of this SceneModelMesh.

The SceneModelMesh is registered against this ID in SceneModel#meshes.

public model: SceneModel source

The SceneModel that owns this SceneModelMesh.

public object: SceneModelEntity source

The SceneModelEntity that owns this SceneModelMesh.

public get surfaceArea: number: * source

Returns the surface area of this SceneModelMesh.

Return:

number

public textureSet: SceneModelTextureSet source

The SceneModelTextureSet that optionally textures this SceneModelMesh.

public transform: SceneModelTransform source

The SceneModelTransform that transforms this SceneModelMesh.

public get volume: number: * source

Returns the volume of this SceneModelMesh.

Return:

number