nw::gfx::res::ResVertexLight Class

Syntax

class ResVertexLight : public nw::gfx::res::ResLight

Description

Binary resource class that represents vertex lights.

Enumerated Types

Kind Represents the type of light source for a light.(Derived from ResLight.)
Flag (Derived from ResTransformNode.)

Member Functions

ResVertexLight Constructor.
ptr Gets a pointer to actual data.
ref Gets the reference to the actual data.
operator ==
operator !=
GetLightKind Gets the light source type.
SetLightKind Sets the light type.
SetAmbient Sets the ambient color of the light.
GetAmbient Gets the ambient color of the light.
SetDiffuse Sets the diffuse color of the light.
GetDiffuse Gets the light diffuse color.
SetDirection Sets the light direction.
GetDirection Gets the light direction.
SetDistanceAttenuation Sets distance attenuation parameters.
GetDistanceAttenuation Obtains distance attenuation parameters.
SetSpotFactor Sets a spotlight's angular attenuation coefficients.
GetSpotFactor Gets a spotlight's angular attenuation coefficients.
IsDistanceAttenuationEnabled Gets whether distance attenuation is enabled.
SetDistanceAttenuationEnabled Sets whether distance attenuation is enabled.
GetDistanceAttenuationAndEnabled Gets the DistanceAttenuation and IsDistanceAttenuationEnabled values in VEC4 format.
IsLightEnabled Gets the light enable flag.(Derived from ResLight.)
SetLightEnabled Sets the light enable flag.(Derived from ResLight.)
GetRevision Gets the revision.(Derived from ResLight.)
Setup Sets up a resource.(Derived from ResLight.)
Cleanup Cleans up a resource.(Derived from ResLight.)
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.)
NW_RES_FIELD_FLAGS_DECL (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::ResLight
            nw::gfx::res::ResVertexLight


CONFIDENTIAL