Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


MahanGM

Member Since 31 Jul 2012
Offline Last Active Apr 18 2015 02:56 PM

Posts I've Made

In Topic: Problem with texture coordination in shader

04 April 2015 - 01:40 PM

I figured I had a problem with vertex declaration. It's fixed now. Thanks for your time smile.png


In Topic: How to alter an object handle value from host application?

19 January 2015 - 12:06 PM

Hey I didn't try that at all. Thanks for the reply. It's solved.


In Topic: How to get public member variables from script class in AngelScript

16 January 2015 - 01:56 PM

@Andreas Jonsson

 

That's a good solution.

And by the way, I completely forgot about meta data.

 

Thanks for the assist.


In Topic: How to get public member variables from script class in AngelScript

16 January 2015 - 05:59 AM

Generally speaking you're right, but my case is not general. I'm using a base class to provide some behind the scene benefits to script classes at runtime but don't want to involve them in my host app. I'm trying to get public member variables to architect a unity3d like scripting system where you can assign values to your public members before runtime and some other stuff. That's why.

 

I was checking GetProperty parameters now, there is nothing for this kind of stuff.


In Topic: How to get public member variables from script class in AngelScript

16 January 2015 - 05:42 AM

@jbadams Thanks man. I was looking for this forum.

 

@Juliean Thanks. I've seen GetProperty method in object type class before. I didn't test it then but I now have, but since my script classes are derived from another base class, this will give me all member variables declared in both classes. Is there a way to avoid this?


PARTNERS