•// スポットライトの作成
•void CreateLight(FbxScene* pScene, char* pName)
•{
• FbxLight* light =
FbxLight::Create(pScene,pName);
•
light->LightType.Set(FbxLight::eSPOT);
• light->CastLight.Set(true);
•
• FbxNode* lightNode =
FbxNode::Create(pScene,pName);
•
lightNode->SetNodeAttribute(light);
•
• FbxNode* rootNode =
pScene->GetRootNode();
• RootNode->AddChild(lightNode);
•}
•
•
•