Infinite Runner Engine v1.9
Public Types | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
MoreMountains.Feedbacks.MMF_VideoPlayer Class Reference

This feedback lets you control video players in all sorts of ways (Play, Pause, Toggle, Stop, Prepare, StepForward, StepBackward, SetPlaybackSpeed, SetDirectAudioVolume, SetDirectAudioMute, GoToFrame, ToggleLoop) More...

Inheritance diagram for MoreMountains.Feedbacks.MMF_VideoPlayer:
MoreMountains.Feedbacks.MMF_Feedback

Public Types

enum  VideoActions {
  Play , Pause , Toggle , Stop ,
  Prepare , StepForward , StepBackward , SetPlaybackSpeed ,
  SetDirectAudioVolume , SetDirectAudioMute , GoToFrame , ToggleLoop
}
 

Public Attributes

VideoPlayer TargetVideoPlayer
 sets the inspector color for this feedback More...
 
VideoActions VideoAction = VideoActions.Pause
 the Video Player to control with this feedback More...
 
long TargetFrame = 10
 the frame at which to jump when in GoToFrame mode More...
 
float PlaybackSpeed = 2f
 the new playback speed (between 0 and 10) More...
 
int TrackIndex = 0
 the track index on which to control volume More...
 
float Volume = 1f
 the new volume for the specified track, between 0 and 1 More...
 
bool Mute = true
 whether to mute the track or not when that feedback plays More...
 

Static Public Attributes

static bool FeedbackTypeAuthorized = true
 a static bool used to disable all feedbacks of this type at once More...
 

Protected Member Functions

override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On play we apply the selected command to our target video player More...
 

Additional Inherited Members

Detailed Description

This feedback lets you control video players in all sorts of ways (Play, Pause, Toggle, Stop, Prepare, StepForward, StepBackward, SetPlaybackSpeed, SetDirectAudioVolume, SetDirectAudioMute, GoToFrame, ToggleLoop)

Member Enumeration Documentation

◆ VideoActions

Enumerator
Play 
Pause 
Toggle 
Stop 
Prepare 
StepForward 
StepBackward 
SetPlaybackSpeed 
SetDirectAudioVolume 
SetDirectAudioMute 
GoToFrame 
ToggleLoop 

Member Function Documentation

◆ CustomPlayFeedback()

override void MoreMountains.Feedbacks.MMF_VideoPlayer.CustomPlayFeedback ( Vector3  position,
float  feedbacksIntensity = 1.0f 
)
protectedvirtual

On play we apply the selected command to our target video player

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

Member Data Documentation

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_VideoPlayer.FeedbackTypeAuthorized = true
static

a static bool used to disable all feedbacks of this type at once

◆ Mute

bool MoreMountains.Feedbacks.MMF_VideoPlayer.Mute = true

whether to mute the track or not when that feedback plays

◆ PlaybackSpeed

float MoreMountains.Feedbacks.MMF_VideoPlayer.PlaybackSpeed = 2f

the new playback speed (between 0 and 10)

◆ TargetFrame

long MoreMountains.Feedbacks.MMF_VideoPlayer.TargetFrame = 10

the frame at which to jump when in GoToFrame mode

◆ TargetVideoPlayer

VideoPlayer MoreMountains.Feedbacks.MMF_VideoPlayer.TargetVideoPlayer

sets the inspector color for this feedback

the Video Player to control with this feedback

◆ TrackIndex

int MoreMountains.Feedbacks.MMF_VideoPlayer.TrackIndex = 0

the track index on which to control volume

◆ VideoAction

VideoActions MoreMountains.Feedbacks.MMF_VideoPlayer.VideoAction = VideoActions.Pause

the Video Player to control with this feedback

◆ Volume

float MoreMountains.Feedbacks.MMF_VideoPlayer.Volume = 1f

the new volume for the specified track, between 0 and 1


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