Author Topic: How to get currect selected mesh?  (Read 681 times)

isreal

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
How to get currect selected mesh?
« on: January 15, 2006, 01:00:04 pm »
I mean during run-time, how can I use code to get the selected object?

Thanks a lot!

acraig

  • Administrator
  • Veteran
  • *
  • Posts: 1562
    • View Profile
(No subject)
« Reply #1 on: January 15, 2006, 11:39:28 pm »
You can use:

GEMClientObject * psClientCharManager::GetTarget()



Example:
   psengine->GetCharManager()->GetTarget()
----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"

isreal

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
(No subject)
« Reply #2 on: January 16, 2006, 12:58:48 am »
I see. Thanks  a lot!  :)