Class TMeshSceneNode

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TMeshSceneNode = class(TSceneNode)

Description

A scene node displaying a static mesh.

Hierarchy

Overview

Methods

Public function GetMesh: TMesh; inline;
Public procedure SetMesh(NMesh: TMesh); inline;

Properties

Public property ReadOnlyMaterials: Boolean read IsReadOnlyMaterials write SetReadOnlyMaterials;

Description

Methods

Public function GetMesh: TMesh; inline;

Get the currently defined mesh for display.

Returns

The Mesh which is displayed by this node.

Public procedure SetMesh(NMesh: TMesh); inline;

Sets a new mesh to display.

Parameters
NMesh
Mesh to display.

Properties

Public property ReadOnlyMaterials: Boolean read IsReadOnlyMaterials write SetReadOnlyMaterials;

Specifies whether the scene node should not copy the materials of the mesh but use them in a read only style.
Setting this value allows to change the materials of a mesh causing all mesh scene nodes referencing this mesh to change, too.


Generated by PasDoc 0.12.1 on 2012-09-14 17:32:22