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
Inheritance
object
LunyPath
Implements
Derived

Constructors

LunyPath(string, bool)

protected LunyPath(string path, bool isNative)

Parameters

path string
isNative bool

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

agnosticPath string

Returns

LunyPath

FromNative(string)

public static LunyPath FromNative(string nativePath)

Parameters

nativePath string

Returns

LunyPath

ToString()

public override string ToString()

Returns

string

Operators

implicit operator string(LunyPath)

public static implicit operator string(LunyPath lunyPath)

Parameters

lunyPath LunyPath

Returns

string