Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Anyone know how to implement lighting in managed c++?

 

I tried to set the values of the dev->Lights->Item[0].LightType, but that

 

doesn't work. I created a new Light* light object, filled in the neccessary

 

values and enabled it light->Enabled = true; Nothing.

 

Any ideas are welcomed.

 

 

Thnx :confused:

Posted

Hey Mutant,

 

Thnx for replying.

 

I tried to set not just the light type but all the other properties but it says

 

that the dev->Lights->Item[0] doesn't have a 'put' method. What I

 

understand is that you can't set these light properties only read them. I

 

looked for a dev->SetLight() method but can't find one.

Posted
If I remember managed C++ does not support properties. You'd have to access properties by their accessor methods like: x->set_Item(0, value); x->get_Item(0);

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...