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