ITrackPropertyFactoryclass
Used by `Sandbox.MovieMaker.TrackBinder` to create `Sandbox.MovieMaker.ITrackProperty` instances that allow `Sandbox.MovieMaker.ITrack`s to modify values in a scene.
Methods4
Showing 4 methods
public virtual Sandbox.MovieMaker.ITrackProperty`1<T> CreateProperty(Sandbox.MovieMaker.ITrackTarget parent, string name)
Create a property with the given `parent`, `name`, and property value type . The target type was previously returned by `Sandbox.MovieMaker.Properties.ITrackPropertyFactory.GetTargetType(Sandbox.MovieMaker.ITrackTarget,System.String)`, or read from a deserialized track.
| Parameter | Type | Description |
|---|---|---|
| parent | ITrackTarget | — |
| name | string | — |
public virtual Sandbox.MovieMaker.Properties.DisplayInfo GetDisplayInfo(Sandbox.MovieMaker.ITrackTarget parent, string name)
When listing properties to add, how should we format the name / description / icon?
| Parameter | Type | Description |
|---|---|---|
| parent | ITrackTarget | — |
| name | string | — |
public virtual System.Collections.Generic.IEnumerable`1<string> GetPropertyNames(Sandbox.MovieMaker.ITrackTarget parent)
Lists all available property names provided by this factory from a given `parent`.
| Parameter | Type | Description |
|---|---|---|
| parent | ITrackTarget | — |
IEnumerable<string>—public virtual System.Type GetTargetType(Sandbox.MovieMaker.ITrackTarget parent, string name)
Decides if this factory can create a property given a `parent` target and `name`. Returns any non- type if this factory can create such a property, after which `Sandbox.MovieMaker.Properties.ITrackPropertyFactory.CreateProperty`(Sandbox.MovieMaker.ITrackTarget,System.String)` will be called using that type.
| Parameter | Type | Description |
|---|---|---|
| parent | ITrackTarget | — |
| name | string | — |
No results match this filter.
Properties1
Showing 1 properties
public virtual int Sandbox.MovieMaker.Properties.ITrackPropertyFactory.Order { get; set; }
Used to sort the order that factories are considered when trying to create a property.
int—No results match this filter.