HKI Core
Properties | Private Member Functions | Private Attributes | List of all members
HKI.Core.Audio.SoundClip Class Reference

This is a container ScriptableObject that holds all data required to play a AudioClip. More...

Inheritance diagram for HKI.Core.Audio.SoundClip:

Properties

AudioClip GetClip [get]
 
float GetVolume [get]
 
MinMaxRange GetPitch [get]
 
int ClipId [get]
 

Private Member Functions

void OnEnable ()
 

Private Attributes

AudioClip Clip = null
 
float Volume = 1.0f
 
MinMaxRange Pitch = new MinMaxRange(1.0f, 1.0f)
 
int clipId = 0
 

Detailed Description

This is a container ScriptableObject that holds all data required to play a AudioClip.

Definition at line 11 of file SoundClip.cs.

Member Function Documentation

◆ OnEnable()

void HKI.Core.Audio.SoundClip.OnEnable ( )
inlineprivate

Definition at line 27 of file SoundClip.cs.

Member Data Documentation

◆ Clip

AudioClip HKI.Core.Audio.SoundClip.Clip = null
private

Definition at line 14 of file SoundClip.cs.

◆ clipId

int HKI.Core.Audio.SoundClip.clipId = 0
private

Definition at line 18 of file SoundClip.cs.

◆ Pitch

MinMaxRange HKI.Core.Audio.SoundClip.Pitch = new MinMaxRange(1.0f, 1.0f)
private

Definition at line 16 of file SoundClip.cs.

◆ Volume

float HKI.Core.Audio.SoundClip.Volume = 1.0f
private

Definition at line 15 of file SoundClip.cs.

Property Documentation

◆ ClipId

int HKI.Core.Audio.SoundClip.ClipId
get

Definition at line 24 of file SoundClip.cs.

◆ GetClip

AudioClip HKI.Core.Audio.SoundClip.GetClip
get

Definition at line 21 of file SoundClip.cs.

◆ GetPitch

MinMaxRange HKI.Core.Audio.SoundClip.GetPitch
get

Definition at line 23 of file SoundClip.cs.

◆ GetVolume

float HKI.Core.Audio.SoundClip.GetVolume
get

Definition at line 22 of file SoundClip.cs.


The documentation for this class was generated from the following file: