Class MediaSource
Abstract base class for media sources.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.MediaAssets
Assembly: UE4DotNet.dll
Syntax
public class MediaSource : UObject
Remarks
Media sources describe the location and/or settings of media objects that can be played in a media player, such as a video file on disk, a video stream on the internet, or a web cam attached to or built into the target device. The location is encoded as a media URL string, whose URI scheme and optional file extension will be used to locate a suitable media player.
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static MediaSource DefaultObject { get; }
Property Value
Type | Description |
---|---|
MediaSource |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceGetUrl()
Get the media source's URL string (must be implemented in child classes).
Declaration
public string GetUrl()
Returns
Type | Description |
---|---|
System.String |
Remarks
@return The media URL. @see GetProxies
New(UObject, Name)
Spawn an object of this class
Declaration
public static MediaSource New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
MediaSource |
Validate()
Validate the media source settings (must be implemented in child classes).
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
@return true if validation passed, false otherwise.
Operators
| Improve this Doc View SourceImplicit(IntPtr to MediaSource)
Convert from IntPtr to UObject
Declaration
public static implicit operator MediaSource(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
MediaSource |