Class MotionValue
Definition
- 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.
C#Copypublic class MotionValue : BaseHandle, INotifyPropertyChanged, IDisposable
- Inheritance
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.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
Declaration
C#Copypublic 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.
Declaration
C#Copypublic 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.
Declaration
C#Copypublic 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.
Declaration
C#Copypublic 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
KeyFramesValue
Get or set the KeyFrames. If Type is ValueType.PropertyValue, getter will create new KeyFrames from stored PropertyValue.
Declaration
C#Copypublic 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.
PropertyValue
Get or set the PropertyValue. If Type is ValueType.KeyFrames, getter will return last PropertyValue instance of stored KeyFrames.
Declaration
C#Copypublic 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.
Declaration
C#Copypublic 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
Declaration
C#Copypublic 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.