OnClick event for TModel3D

  

By Loghman I am using Delphi XE5 and I have firemonkey application. there is a Viewport and I put an instance of TModel3D and loaded an object from Obj file (it is a simple object. extruded hexagon) which created in 3dsMax.
I wrote OnClick function for this object with a simple ShowMessage(”); but it doesn’t trigger when I click on it. OnClick is working fine for TCube, TSphere, …
How can I have OnClick event and other events like OnMouseMove and OnDblClick for TModel3D?

Thanks. …read more

Via: StackOverflow

Leave a Reply

Please use your real name instead of you company name or keyword spam.