Table of Contents

Class LunyPath

Namespace
Luny.Engine.Bridge
/
Assembly
Luny.dll

Represents a path that can be converted between engine-native and engine-agnostic (Luny) formats.

public class LunyPath : ILunyPath
Expand Details ...
Inheritance
Object
LunyPath
Implements
Derived

Constructors

LunyPath(String, Boolean)

protected LunyPath(String path, Boolean isNative)

Parameters

Type Name Description
String
path
Boolean
isNative

Properties

AgnosticPath

public String AgnosticPath { get; }

Property Value

String

Converter

The active path converter. Must be set by the engine adapter.

public static ILunyPathConverter Converter { get; set; }

Property Value

ILunyPathConverter

NativePath

public String NativePath { get; }

Property Value

String

PathType

protected virtual LunyPathType PathType { get; }

Property Value

LunyPathType

Methods

FromAgnostic(String)

public static LunyPath FromAgnostic(String agnosticPath)

Parameters

Type Name Description
String
agnosticPath

Returns

LunyPath

FromNative(String)

public static LunyPath FromNative(String nativePath)

Parameters

Type Name Description
String
nativePath

Returns

LunyPath

ToString()

public override String ToString()

Returns

String

Operators

implicit operator String(LunyPath)

public static implicit operator String(LunyPath lunyPath)

Parameters

Type Name Description
LunyPath
lunyPath

Returns

String