Difference between revisions of "Theora.new"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(object) = Theora.new(file)
 
(object) = Theora.new(file)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Revision as of 14:33, 13 July 2023

Available since: Gideros 2017.10
Class: Ogg

Description

Creates a new Theora source.

(object) = Theora.new(file)

Parameters

file: (string) path to the Theora file

Return values

Returns (object) the object to use as a source