Table of Contents

Struct Music

Namespace
MohawkGame2D
Assembly
GAME 10003 Game Development Foundations - 2D Game Template.dll

Represents a music file (audio over 10s long).

public struct Music
Inherited Members

Remarks

Wrapper around Raylib.Music

Properties

FileName

Name of this music file.

public string FileName { readonly get; init; }

Property Value

string

FilePath

File path of this music.

public string FilePath { readonly get; init; }

Property Value

string

Looping

Whether or not the music file loops.

public bool Looping { readonly get; set; }

Property Value

bool

Methods

ToString()

Returns the fully qualified type name of this instance.

public override readonly string ToString()

Returns

string

The fully qualified type name.