Add helper code example

This commit is contained in:
Wojtek Figat
2022-08-06 10:21:42 +02:00
parent f781fd8ab6
commit ed9f3f3d55

View File

@@ -546,6 +546,7 @@ public:
/// <summary>
/// Gets local rotation of the actor in parent actor space.
/// </summary>
/// <code>Actor.LocalOrientation *= Quaternion.Euler(0, 10 * Time.DeltaTime, 0)</code>
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
{