nw::gfx::res::ResFragmentLight Class

Syntax

class ResFragmentLight : public nw::gfx::res::ResLight

Description

Binary resource class that represents fragment lights.

Enumerated Types

Kind The light type.
Flag (Inherited from ResTransformNode.

Member Functions

ResFragmentLight 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.
GetAmbientU32 Gets the ambient color of a light in RGBA8 32-bit format.
SetAmbient Sets the ambient color of the light.
GetAmbient Gets the ambient color of the light.
GetDiffuseU32 Gets the diffuse color of a light in RGBA8 32-bit format.
SetDiffuse Sets the diffuse color of the light.
GetDiffuse Gets the light diffuse color.
GetSpecular0U32 Gets specular 0 of the light in RGBA8 32-bit format.
SetSpecular0 Sets specular 0 for the light.
GetSpecular0 Gets specular 0 for the light.
GetSpecular1U32 Gets specular 1 of the light in RGBA8 32-bit format.
SetSpecular1 Sets specular 1 for the light.
GetSpecular1 Gets specular 1 for the light.
SetDirection Sets the light direction.
GetDirection Gets the light direction.
GetDistanceSampler Gets the lookup table for distance attenuation.
GetAngleSampler Gets the lookup table for angular attenuation.
SetDistanceSampler Sets the lookup table. Resources are not freed because this parameter is set to the table being referenced.
GetDistanceAttenuationStart Gets the starting distance for distance attenuation.
GetDistanceAttenuationEnd Gets the ending distance for distance attenuation.
SetDistanceAttenuationStart Sets the starting distance for distance attenuation.
SetDistanceAttenuationEnd Sets the ending distance for distance attenuation.
SetDistanceAttenuation Sets the starting and ending parameters for distance attenuation.
IsDirty Gets a flag indicating whether light contents have been updated.
SetDirty Sets a flag indicating whether light contents have been updated.
IsLightEnabled Gets the light enable flag.(Inherited from ResLight.
SetLightEnabled Sets the light enable flag.(Inherited from ResLight.
GetRevision Gets the revision.(Inherited from ResLight.
Setup Sets up a resource.(Inherited from ResLight.
Cleanup Cleans up a resource.(Inherited from ResLight.
GetTransform Gets transform information.(Inherited from ResTransformNode.
SetTransform Sets transform information.(Inherited from ResTransformNode.
GetWorldMatrix Gets the world matrix.(Inherited from ResTransformNode.
SetWorldMatrix Sets the world matrix.(Inherited from ResTransformNode.
GetFlags Gets the flag setting.(Inherited from ResSceneNode.
SetFlags Sets the flag setting.(Inherited from ResSceneNode.
GetChildrenCount Gets the number of child scene objects.(Inherited from ResSceneNode.
GetChildren Gets the child scene object.(Inherited from ResSceneNode.
GetAnimGroupsCount Gets the number of groups to be animated.(Inherited from ResSceneNode.
GetAnimGroups Gets the number of groups to be animated.(Inherited from ResSceneNode.
GetAnimGroupsIndex Gets the index number in dictionary data of the group information to be animated.(Inherited from ResSceneNode.
IsBranchVisible Gets a flag indicating whether to display node branches.(Inherited from ResSceneNode.
SetBranchVisible Sets a flag indicating whether to display node branches.(Inherited from ResSceneNode.
GetHeader Gets the header information.(Inherited from ResSceneObject.
SetHeader Sets the header information.(Inherited from ResSceneObject.
GetName Gets the name of the resource.(Inherited from ResSceneObject.
GetUserDataCount Gets the number of instances of user data.(Inherited from ResSceneObject.
GetUserData Gets user data.(Inherited from ResSceneObject.
GetUserDataIndex Gets the index number of user data in the dictionary.(Inherited from ResSceneObject.
GetTypeInfo Gets instance type information.(Inherited from ResSceneObject.
IsValid Determines whether a pointer to a resource is null.(Inherited 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::ResFragmentLight


CONFIDENTIAL