Difference between revisions of "Theora.new"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2017.10<br/> '''Class:''' Ogg<br/> === Description === Creates a new Theora source. <source lang="lua"> (object) = Theora.new(fil...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Creates a new Theora source.
 
Creates a new Theora source.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(object) = Theora.new(file)
 
(object) = Theora.new(file)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 15: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