Commit History

Author SHA1 Message Date
  Lasse Öörni 3e4882bfa5 Unify SetDeepEnabled() API between UI & Node. Removed IsDeepEnabled() function & "Is Deep Enabled" attribute as it may return different value than last SetDeepEnabled() and can not therefore serialize/deserialize accurately. Instead added IsEnabledSelf() which returns the enabled state before SetDeepEnabled(). Changed Node::SetEnabled(bool, bool) to SetEnabledRecursive(). Unlike SetDeepEnabled() it does not preserve node's self enabled state. Added AngelScript binding for SetDeepEnabled operations. 11 years ago
  Aster@中国上海 84fe0946c8 Remove ShortStringHash, Now all of ShortStringHash are replaced by StringHash. 11 years ago
  Aster@中国上海 fae8e81d54 Add 2D suffix to 2D transform functions, now please use SetPosition2D etc. 11 years ago
  Aster@中国上海 04c2072400 Add more Transform functions for Urho2D and to lua. 11 years ago
  Lasse Öörni 5076f966e1 Expose CloneComponent() function to AngelScript & Lua and make it return the created component. 11 years ago
  Aster@中国上海 ebd705d674 For Component, Resource and UIElement always return concrete object type to Lua. 11 years ago
  aster2013 293cd434fb Remove Node's Lua scalar transform functions, like SetPositionXYZ. 11 years ago
  aster2013 49d9856dd5 Add transform functions for Urho2D. 11 years ago
  aster2013 afddbaef76 Fix Node.pkg merge error. 11 years ago
  aster2013 3cb656a0f8 Replace script file name with LuaFile, make it can pick in editor. 11 years ago
  Lasse Öörni 67d603d8e5 Node transform space refactoring. Translate(), Rotate() and LookAt() functions take a transform space (local, parent or world). Translate() has a behavior change: default space is local, as that is most often used in eg. camera movement, and is consistent with the default for rotations (the earlier fixedAxis = false was same as local space). The redundant TranslateRelative() function is removed. Add RotateAround() function, which allows rotating around a pivot in either local, parent or world space. Closes #295. 11 years ago
  Lasse Öörni cf4c43d344 Added Serializer / Deserializer functions for reading & writing matrices. Added bool success parameter to Quaternion::FromLookRotation() and Node::LookAt(), as it can potentially give a NaN result (in which case the original rotation is kept). Optimized reading of math objects in Deserializer to avoid default construction. 11 years ago
  Yao Wei Tjong 姚伟忠 f48ef6f5bd Minor bug fix, refactoring and reformatting. 11 years ago
  Mike3D cde67d7391 Fix various order of exposition to lua 12 years ago
  aster2013 4b13c8598e Lua API Update. 12 years ago
  aster2013 d1c3d96844 Remove context from object's constructor, make all constructor look like AngleScript, rename file. 12 years ago
  Lasse Öörni eb4e99457c Code cleanup. Removed Camera functions to return forward, right, up vectors as they are now also in Node. Added Lua property accessors for Node up/right vectors. Exposed SmoothStep() to script. Modified Node::LookAt() to use the new Quaternion function. Updated credits. 12 years ago
  Nick Royer 432b9d3645 Added scripting APIs for the previous convenience functions 12 years ago
  Yao Wei Tjong 姚伟忠 d33ac02538 Refactor build scripts to build Urho3D library as main target. 12 years ago