/// <summary>
/// VectorAnimationView is a class for displaying a vector resource.
/// </summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
- public class VectorAnimationView : AnimatedVectorImageView
+ public class VectorAnimationViewTBD : AnimatedVectorImageView
{
#region Constructor, Distructor, Dispose
/// <summary>
/// Construct VectorAnimationView.
/// </summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
- public VectorAnimationView() : base()
+ public VectorAnimationViewTBD() : base()
{
- tlog.Fatal(tag, $"VectorAnimationView() constuctor objId={GetId()} ");
+ tlog.Fatal(tag, $"<<< VectorAnimationView() constuctor objId={GetId()} >>>");
}
/// <summary>
/// Construct VectorAnimationView.
/// </summary>
/// <param name="scale">Set scaling factor for Vector Animation, while creating.</param>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
- public VectorAnimationView(float scale) : base(scale)
+ public VectorAnimationViewTBD(float scale) : base(scale)
{
- tlog.Fatal(tag, $"VectorAnimationView(scale={scale}) constuctor objId={GetId()}");
+ tlog.Fatal(tag, $"<<< VectorAnimationView(scale={scale}) constuctor objId={GetId()}>>>");
}
/// <summary>
/// You can override it to clean-up your own resources
/// </summary>
/// <param name="type">DisposeTypes</param>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
protected override void Dispose(DisposeTypes type)
{
{
return;
}
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.Dispose(type={type})");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.Dispose(type={type})");
if (type == DisposeTypes.Explicit)
{
base.Dispose(type);
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.Dispose() ");
+ tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.Dispose() >>>");
}
#endregion Constructor, Distructor, Dispose
/// <summary>
/// Set Resource URL
/// </summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public string ResourceURL
{
set
{
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.ResourceURL SET");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.ResourceURL SET");
if (value == mResourceURL)
{
URL = mResourceURL;
mIsMinMaxSet = false;
- tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.ResourceURL SET mResourceURL={mResourceURL}) ");
+ tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.ResourceURL SET mResourceURL={mResourceURL}) >>>");
}
get => mResourceURL;
}
/// If the RepeatCount is greater than 0, the repeat mode will be taken into account.
/// If RepeatCount is -1, animation is infinite loops.
/// </summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public int RepeatCount
{
set
{
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.RepeatCount SET");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.RepeatCount SET");
mRepeatCount = (value < -1) ? -1 : value;
//LoopCount = mRepeatCount;
LoopCount = (mRepeatCount < 0) ? mRepeatCount : mRepeatCount + 1;
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.RepeatCount SET mRepeatCount={mRepeatCount} ");
+ tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.RepeatCount SET mRepeatCount={mRepeatCount} >>>");
}
get => mRepeatCount;
}
/// <summary>
/// TotalFrame of animation.
/// </summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public int TotalFrame
{
/// CurrentFrame of animation.
/// </summary>
/// <returns> Returns user set value for the current frame. Cannot provide actual playing current frame. </returns>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public int CurrentFrame
{
set
{
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.CurrentFrame SET");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.CurrentFrame SET");
if (mResourceURL == null || mResourceURL == String.Empty)
{
SetPlayRange(mCurrentFrame, mCurrentFrame);
CurrentFrameNumber = mCurrentFrame;
- tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.CurrentFrame SET mCurrentFrame={mCurrentFrame}) ");
+ tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.CurrentFrame SET mCurrentFrame={mCurrentFrame}) >>>");
}
get => mCurrentFrame;
}
/// <summary>
/// RepeatMode of animation.
/// </summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public RepeatModes RepeatMode
{
set
{
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.RepeatMode SET");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.RepeatMode SET");
mRepeatMode = value;
switch (mRepeatMode)
break;
}
- tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.RepeatMode SET mRepeatMode={mRepeatMode}) ");
+ tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.RepeatMode SET mRepeatMode={mRepeatMode}) >>>");
}
get => mRepeatMode;
}
/// <summary>
/// Get state of animation.
/// </summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public AnimationStates AnimationState
{
/// </summary>
/// <param name="minFrame">minimum frame.</param>
/// <param name="maxFrame">maximum frame.</param>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public void SetMinAndMaxFrame(int minFrame, int maxFrame)
{
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.SetMinAndMaxFrame({minFrame}, {maxFrame})");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.SetMinAndMaxFrame({minFrame}, {maxFrame})");
mMinFrame = (minFrame) > 0 ? minFrame : 0;
mMaxFrame = (maxFrame) > 0 ? maxFrame : 0;
SetPlayRange(mMinFrame, mMaxFrame);
CurrentFrameNumber = mMinFrame;
- tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.SetMinAndMaxFrame(m: {mMinFrame}, {mMaxFrame}) ");
+ tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.SetMinAndMaxFrame(m: {mMinFrame}, {mMaxFrame}) >>>");
}
/// <summary>
/// Play Animation.
/// </summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public new void Play()
{
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.Play()");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.Play()");
if (mResourceURL == null || mResourceURL == String.Empty)
{
base.Play();
AnimationState = AnimationStates.Playing;
- tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.Play(mIsMinMaxSet={mIsMinMaxSet}) ");
+ tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.Play(mIsMinMaxSet={mIsMinMaxSet}) >>>");
}
/// <summary>
/// Pause Animation.
/// </summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public new void Pause()
{
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.Pause() AnimationState={AnimationState}");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.Pause() AnimationState={AnimationState}");
if (mResourceURL == null || mResourceURL == String.Empty)
{
base.Pause();
AnimationState = AnimationStates.Paused;
- tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.Pause() ");
+ tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.Pause() >>>");
}
/// <summary>
/// End action is Discard, Animation Stops at the Min Frame
/// End action is StopFinal, Animation Stops at the Max Frame
/// </param>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public void Stop(EndActions endAction = EndActions.Cancel)
{
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.Stop({endAction})");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.Stop({endAction})");
if (mResourceURL == null || mResourceURL == String.Empty)
{
base.Stop();
- tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.Stop(endaction={endAction}) ");
+ tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.Stop(endaction={endAction}) >>>");
}
#endregion Method
/// <summary>
/// RepeatMode of animation.
/// </summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public enum RepeatModes
{
/// <summary>
/// When the animation reaches the end and RepeatCount is nonZero, the animation restarts from the beginning.
/// </summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
Restart = LoopModes.Forward,
/// <summary>
/// When the animation reaches the end and RepeatCount nonZero, the animation reverses direction on every animation cycle.
/// </summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
Reverse = LoopModes.Backward
}
/// <summary>
/// EndActions of animation.
/// </summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public enum EndActions
{
/// <summary> End action is Cancel, Animation Stops at the Current Frame.</summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
Cancel = 0,
/// <summary> End action is Discard, Animation Stops at the Min Frame</summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
Discard = 1,
/// <summary> End action is StopFinal, Animation Stops at the Max Frame</summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
StopFinal = 2
}
/// <summary>
/// AnimationStates of animation.
/// </summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public enum AnimationStates
{
/// <summary> The animation has stopped.</summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
Stopped = PlayStateType.Stopped,
/// <summary> The animation is playing.</summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
Playing = PlayStateType.Playing,
/// <summary> The animation is paused.</summary>
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
Paused = PlayStateType.Paused
}