From ed9f3f3d55a501d2eeef6ab6dc8a22cf54b4d749 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Sat, 6 Aug 2022 10:21:42 +0200 Subject: [PATCH] Add helper code example --- Source/Engine/Level/Actor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Engine/Level/Actor.h b/Source/Engine/Level/Actor.h index 430ad4241..e9ad7793c 100644 --- a/Source/Engine/Level/Actor.h +++ b/Source/Engine/Level/Actor.h @@ -546,6 +546,7 @@ public: /// /// Gets local rotation of the actor in parent actor space. /// + /// Actor.LocalOrientation *= Quaternion.Euler(0, 10 * Time.DeltaTime, 0) API_PROPERTY(Attributes="EditorDisplay(\"Transform\", \"Rotation\"), DefaultValue(typeof(Quaternion), \"0,0,0,1\"), EditorOrder(-20), NoSerialize, CustomEditorAlias(\"FlaxEditor.CustomEditors.Editors.ActorTransformEditor+OrientationEditor\")") FORCE_INLINE Quaternion GetLocalOrientation() const {