Class MotionPropertyIndex

    Definition

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

    Basic MotionIndex to control Property. It can control more general case.

    public class MotionPropertyIndex : MotionIndex, INotifyPropertyChanged, IDisposable
    Inheritance
    object
    BindableObject
    Tizen.NUI.Binding.Element
    BaseHandle
    MotionIndex
    MotionPropertyIndex
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    Examples
    MotionPropertyIndex color = new MotionPropertyIndex(new PropertyKey("nodeName"), new PropertyKey("color"));
    
    // We can change the property later.
    MotionPropertyIndex custom = newMotionPropertyIndex();
    orientation.ModelNodeId = new PropertyKey("nodeName");
    orientation.PropertyId = new PropertyKey("some_custom_property");
    
    // Note that all cases of MotionTransformIndex can be controled by MotionPropertyIndex
    // Both position0 and position1 can control the node's Position.
    MotionTransformIndex position0 = new MotionTransformIndex(new PropertyKey("nodeName"), MotionTransformIndex.TransformTypes.Position);
    MotionPropertyIndex  position1 = new MotionPropertyIndex(new PropertyKey("nodeName"), new PropertyKey("position"));

    Constructors

    View Source

    MotionPropertyIndex()

    Create an initialized motion property index.

    Declaration
    public MotionPropertyIndex()
    View Source

    MotionPropertyIndex(string, string)

    Create an initialized motion property index with given node string ID and property string ID.

    Declaration
    public MotionPropertyIndex(string modelNodeName, string propertyName)
    Parameters
    Type Name Description
    string modelNodeName

    Node string ID for this motion index

    string propertyName

    Property string ID for this motion index

    View Source

    MotionPropertyIndex(PropertyKey, PropertyKey)

    Create an initialized motion property index with given node ID and property ID.

    Declaration
    public MotionPropertyIndex(PropertyKey modelNodeId, PropertyKey propertyId)
    Parameters
    Type Name Description
    PropertyKey modelNodeId

    Node ID for this motion index

    PropertyKey propertyId

    Property ID for this motion index

    View Source

    MotionPropertyIndex(MotionPropertyIndex)

    Copy constructor.

    Declaration
    public MotionPropertyIndex(MotionPropertyIndex motionPropertyIndex)
    Parameters
    Type Name Description
    MotionPropertyIndex motionPropertyIndex

    Source object to copy.

    Properties

    View Source

    PropertyId

    The key of property

    Declaration
    public PropertyKey PropertyId { get; set; }
    Property Value
    Type Description
    PropertyKey

    Implements

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