Class MotionValue

    Definition

    Namespace:
    Tizen.NUI.Scene3D
    Assembly:
    Tizen.NUI.Scene3D.dll

    This MotionValue will be used for target value of each MotionIndex. We can get and set MotionValue as 2 types : PropertyValue and KeyFrames.

    public class MotionValue : BaseHandle, INotifyPropertyChanged, IDisposable
    Inheritance
    object
    BindableObject
    Tizen.NUI.Binding.Element
    BaseHandle
    MotionValue
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    Remarks

    Each type will be cross-converted internally. For example, when we set PropertyValue, we can get KeyFrames with 2 frames, and target value is set. The type of property should be matched with MotionIndex required.

    Constructors

    View Source

    MotionValue()

    Create an initialized invalid motion value.

    Declaration
    public MotionValue()
    Remarks

    Each type will be cross-converted internally. For example, when we set PropertyValue, we can get KeyFrames with 2 frames, and target value is set. The type of property should be matched with MotionIndex required.

    View Source

    MotionValue(KeyFrames)

    Create an initialized motion value with KeyFrames.

    Declaration
    public MotionValue(KeyFrames keyFrames)
    Parameters
    Type Name Description
    KeyFrames keyFrames

    KeyFrameValue for this motion value

    Remarks

    Each type will be cross-converted internally. For example, when we set PropertyValue, we can get KeyFrames with 2 frames, and target value is set. The type of property should be matched with MotionIndex required.

    View Source

    MotionValue(PropertyValue)

    Create an initialized motion value with PropertyValue.

    Declaration
    public MotionValue(PropertyValue propertyValue)
    Parameters
    Type Name Description
    PropertyValue propertyValue

    PropertyValue for this motion value

    Remarks

    Each type will be cross-converted internally. For example, when we set PropertyValue, we can get KeyFrames with 2 frames, and target value is set. The type of property should be matched with MotionIndex required.

    View Source

    MotionValue(MotionValue)

    Copy constructor.

    Declaration
    public MotionValue(MotionValue motionValue)
    Parameters
    Type Name Description
    MotionValue motionValue

    Source object to copy.

    Remarks

    Each type will be cross-converted internally. For example, when we set PropertyValue, we can get KeyFrames with 2 frames, and target value is set. The type of property should be matched with MotionIndex required.

    Properties

    View Source

    KeyFramesValue

    Get or set the KeyFrames. If Type is ValueType.PropertyValue, getter will create new KeyFrames from stored PropertyValue.

    Declaration
    public KeyFrames KeyFramesValue { get; set; }
    Property Value
    Type Description
    KeyFrames
    Remarks

    Each type will be cross-converted internally. For example, when we set PropertyValue, we can get KeyFrames with 2 frames, and target value is set. The type of property should be matched with MotionIndex required.

    View Source

    PropertyValue

    Get or set the PropertyValue. If Type is ValueType.KeyFrames, getter will return last PropertyValue instance of stored KeyFrames.

    Declaration
    public PropertyValue PropertyValue { get; set; }
    Property Value
    Type Description
    PropertyValue
    Remarks

    Each type will be cross-converted internally. For example, when we set PropertyValue, we can get KeyFrames with 2 frames, and target value is set. The type of property should be matched with MotionIndex required.

    View Source

    Type

    Get the type of value which we set.

    Declaration
    public MotionValue.ValueType Type { get; }
    Property Value
    Type Description
    MotionValue.ValueType
    Remarks

    Each type will be cross-converted internally. For example, when we set PropertyValue, we can get KeyFrames with 2 frames, and target value is set. The type of property should be matched with MotionIndex required.

    Methods

    View Source

    Invalidate()

    Invalidate the value which we set.

    Declaration
    public void Invalidate()
    Remarks

    Each type will be cross-converted internally. For example, when we set PropertyValue, we can get KeyFrames with 2 frames, and target value is set. The type of property should be matched with MotionIndex required.

    Implements

    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX