Searched refs:resVertexLight (Results 1 – 3 of 3) sorted by relevance
| /NW4C-2.0.3/sources/libraries/gfx/ |
| D | gfx_VertexLight.cpp | 160 ResVertexLightData* resVertexLight = in CreateResVertexLight() local 165 resVertexLight->typeInfo = ResVertexLight::TYPE_INFO; in CreateResVertexLight() 166 resVertexLight->m_Header.revision = ResLight::BINARY_REVISION; in CreateResVertexLight() 167 resVertexLight->m_Header.signature = ResLight::SIGNATURE; in CreateResVertexLight() 169 resVertexLight->m_UserDataDicCount = 0; in CreateResVertexLight() 170 resVertexLight->toUserDataDic.set_ptr( NULL ); in CreateResVertexLight() 172 resVertexLight->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResVertexLight() 176 resVertexLight->m_ChildrenTableCount = 0; in CreateResVertexLight() 177 resVertexLight->toChildrenTable.set_ptr( NULL ); in CreateResVertexLight() 178 resVertexLight->m_AnimGroupsDicCount = 0; in CreateResVertexLight() [all …]
|
| /NW4C-2.0.3/demos/gfx/SceneTreeDemo/sources/ |
| D | SceneTreeDemo.cpp | 251 nw::gfx::ResVertexLight resVertexLight(vertexLight->GetResVertexLight()); in BuildLights() local 252 resVertexLight.SetLightKind(nw::gfx::ResVertexLight::KIND_SPOT); in BuildLights() 253 resVertexLight.GetTransform().translate.Set(0.0f, 15.0f, 5.0f); in BuildLights() 254 resVertexLight.SetAmbient(0.2f, 0.2f, 0.2f); in BuildLights() 255 resVertexLight.SetDiffuse(1.0f, 1.0f, 1.0f); in BuildLights() 256 resVertexLight.SetDistanceAttenuation(0.01f, 0.001f, 0.0001f); in BuildLights() 257 resVertexLight.SetDistanceAttenuationEnabled(true); in BuildLights() 258 resVertexLight.SetSpotFactor(1.0f, NW_MATH_DEG_TO_RAD(90.0f)); in BuildLights() 261 resVertexLight.SetDirection(vertexLightDirection); in BuildLights()
|
| /NW4C-2.0.3/include/nw/gfx/ |
| D | gfx_VertexLight.h | 296 … static void DestroyResVertexLight(os::IAllocator* allocator, ResVertexLightData* resVertexLight);
|