Class UIControl
Contains a single GUI control (on C# side).
Inherited Members
Assembly: FlaxEngine.dll
File: Engine/UI/UIControl.h
Syntax
public class UIControl : public Actor
Methods
Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)
Deserializes object from the input stream.
Declaration
public virtual void Deserialize(DeserializeStream& stream, ISerializeModifier* modifier) override
Parameters
DeserializeStream
stream
The input stream. |
ISerializeModifier
modifier
The deserialization modifier object. Always valid. |
Overrides
GetEditorBox()
Gets actor bounding box (single actor, no children included) for editor tools.
Declaration
public virtual BoundingBox GetEditorBox() const override
Returns
BoundingBox
|
Overrides
OnActiveChanged()
Called when actor active state gets changed.
Declaration
protected virtual void OnActiveChanged() override
Overrides
OnBeginPlay()
Called when adding object to the game.
Declaration
protected virtual void OnBeginPlay() override
Overrides
OnEndPlay()
Called when removing object from the game.
Declaration
protected virtual void OnEndPlay() override
Overrides
OnOrderInParentChanged()
Called when order in parent children array gets changed.
Declaration
protected virtual void OnOrderInParentChanged() override
Overrides
OnParentChanged()
Called when actor parent gets changed.
Declaration
protected virtual void OnParentChanged() override
Overrides
OnTransformChanged()
Called when actor transform gets changed.
Declaration
protected virtual void OnTransformChanged() override
Overrides
Serialize(SerializeStream& stream, const void* otherObj)
Serializes object to the output stream compared to the values of the other object instance (eg. default class object). If other object is null then serialize all properties.
Declaration
public virtual void Serialize(SerializeStream& stream, const void* otherObj) override
Parameters
SerializeStream
stream
The output stream. |
void
otherObj
The instance of the object to compare with and serialize only the modified properties. If null, then serialize all properties. |