_amend in parameters

This commit is contained in:
2025-12-06 00:33:47 +02:00
parent fa74b6094e
commit 5113ebf66d
2 changed files with 2 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ void TextRender::SetFontSize(float value)
}
}
void TextRender::SetLayoutOptions(TextLayoutOptions& value)
void TextRender::SetLayoutOptions(const TextLayoutOptions& value)
{
if (_layoutOptions != value)
{

View File

@@ -126,7 +126,7 @@ public:
/// <summary>
/// Sets the layout options. Layout is defined in local space of the object (on XY plane).
/// </summary>
API_PROPERTY() void SetLayoutOptions(TextLayoutOptions& value);
API_PROPERTY() void SetLayoutOptions(const TextLayoutOptions& value);
/// <summary>
/// Gets the axis=aligned bounding box of the text vertices in the local-space of the actor.