<Model>

Description

This tag is for models for which skinning deform is not performed. Children of this tag include shapes, materials, and meshes (for controlling shape visibility).
<Model> differs from <SkeletalModel> in that it does not include a skeleton (bone hierarchical structure).

Attributes

TypeAttributesDescription
ModelCullingModeCullingMode culling mode
IsBranchVisible Flag indicating whether items below node are shown.
IsNonuniformScalable Indicates whether a matrix for normals is used during rendering.

The matrix for normals is used only when non-uniform scaling is required.
If this flag is true, a matrix for normals is used, and accurate lighting can be carried out even for models with non-uniform scaling.
As a result, the maximum number of reference bones is cut in half due to limitations of the vertex shader.

This attribute is not currently supported by the run-time engine.
IsVisible Flag indicating whether being shown.
LayerId ID for controlling the drawing order.
Name Name.

ModelCullingMode Enumerated Type

ValueDescription
DynamicMode in which culling is performed dynamically and models are displayed only when they are inside the viewable area.
AlwaysMode in which culling is always performed.
NeverMode in which culling is never performed and models are always displayed.

Example Output

<Models>
<Model Name="" IsBranchVisible="true" IsVisible="true" CullingMode="Dynamic" IsNonuniformScalable="true">

..omitted..

</Model>
</Models>

CONFIDENTIAL