nw::gfx::res::ResFragmentLight Classclass ResFragmentLight : public nw::gfx::res::ResLight
Binary resource class that represents fragment lights.
| Kind | Represents the type of light source for a light.(Derived from ResLight.) |
|
|---|---|---|
| Flag |
(Derived from ResTransformNode.) |
| 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. | |
| ForceSetupDistanceSampler | Forcibly configures the lookup table referenced by targetName using lookputTable. | |
| 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.) |
|
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
|
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