Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
corona_shade_context [2015/02/24 09:20]
keymaster
corona_shade_context [2020/04/29 08:44]
mike [Using Corona Shade Context]
Line 12: Line 12:
   * ''NodeID()''   * ''NodeID()''
  
-You can get additional functionality with the ''Execute'' method. When passing ''0x389A7625'' as ''cmd'' argument, scene geometry hit ShadeContext will return a unique ID of the currently hit object instance (of type __int64). This can be used for example to randomize color between different instances (build 2015-02-10 and newer)+You can get additional functionality with the ''Execute'' method. When passing ''0x389A7625'' as ''cmd'' argument, scene geometry hit ShadeContext will return a unique ID of the currently hit object instance (of type __int64). This can be used for example to randomize color between different instances (in build 2015-02-10 and newer).

Log In