nw::gfx::res::ResModel Class

Syntax

class ResModel : public nw::gfx::res::ResTransformNode

Description

Binary resource class that represents models.

Enumerated Types

Flag (Derived from ResTransformNode.)

Member Functions

ResModel Constructor.
ptr Gets a pointer to actual data.
ref Gets the reference to the actual data.
operator ==
operator!=
GetMeshesCount Gets the number of meshes.
GetMeshes Gets a mesh.
GetMaterialsCount Gets the number of materials
GetMaterials Gets the material.
GetMaterialsIndex Gets the index number of the material in the dictionary.
GetShapesCount Gets the number of shapes.
GetShapes Gets a shape.
GetMeshNodeVisibilitiesCount Gets the number of nodes on DCC that include visibility.
GetMeshNodeVisibilities Gets node visibilities on the DCC.
GetMeshNodeVisibilitiesIndex
IsVisible Gets the visibility flag.
SetVisible Sets the visibility flag.
IsNonuniformScalable Gets a flag indicating whether an even scale can be applied.
SetNonuniformScalable Sets a flag indicating whether an even scale can be applied.
GetLayerId Gets the ID for controlling render order.
SetLayerId Sets the ID for controlling render order.
GetRevision Gets the revision.
Setup Initializes a resource.
Cleanup Frees a resource.
ForceSetupTexture Forcibly replaces the texture given by targetName with texture.
ForceSetupShader Forcibly replaces the shader given by targetName with shader.
ForceSetupLookupTable Forcibly replaces the LookupTable given by targetName with lut.
GetTransform Gets transform information.(Derived from ResTransformNode.)
SetTransform Sets transform information.(Derived from ResTransformNode.)
GetWorldMatrix Gets the world matrix.(Derived from ResTransformNode.)
SetWorldMatrix Sets the world matrix.(Derived from ResTransformNode.)
GetFlags Gets the flag setting.(Derived from ResSceneNode.)
SetFlags Sets flag value. Unset flags are disabled.(Derived from ResSceneNode.)
EnableFlags Enables the flag value that has been set. Unset flags are not changed.(Derived from ResSceneNode.)
DisableFlags Disables the flag value that has been set. Unset flags are not changed.(Derived from ResSceneNode.)
GetChildrenCount Gets the number of child scene objects.(Derived from ResSceneNode.)
GetChildren Gets the child scene object.(Derived from ResSceneNode.)
GetAnimGroupsCount Gets the number of groups to be animated.(Derived from ResSceneNode.)
GetAnimGroups Gets the number of groups to be animated.(Derived from ResSceneNode.)
GetAnimGroupsIndex Gets the index number in dictionary data of the group information to be animated.(Derived from ResSceneNode.)
IsBranchVisible Gets a flag indicating whether to display node branches.(Derived from ResSceneNode.)
SetBranchVisible Sets a flag indicating whether to display node branches.(Derived from ResSceneNode.)
GetHeader Gets the header information.(Derived from ResSceneObject.)
SetHeader Sets the header information.(Derived from ResSceneObject.)
GetName Gets the name of the resource.(Derived from ResSceneObject.)
GetUserDataCount Gets the number of instances of user data.(Derived from ResSceneObject.)
GetUserData Gets user data.(Derived from ResSceneObject.)
GetUserDataIndex Gets the index number of user data in the dictionary.(Derived from ResSceneObject.)
GetTypeInfo Gets instance type information.(Derived from ResSceneObject.)
IsValid Determines whether a pointer to a resource is null.(Derived from ResCommonBase.)
S GetClassName

Class Hierarchy

nw::ut::ResCommonBase
  nw::ut::ResCommon
    nw::gfx::res::ResSceneObject
      nw::gfx::res::ResSceneNode
        nw::gfx::res::ResTransformNode
          nw::gfx::res::ResModel


CONFIDENTIAL