Executes as soon as the scene is put online.
public sub OnOnline(Engine As xpEngine, Self As xpScene)XPression scripts are VB.NET 8.0 (Visual Basic 2005), compiled by the .NET Framework 2.0 VB compiler and run inside XPression. This is not VBScript: some VBScript habits do not compile (see VBScript → VB.NET).
DimEvery example in this guide was compiled with XPression's own script compiler (net\xpcplr.dll).
For an event script, XPression generates the class below and pastes your code as the body of the event's Sub:
imports system
imports xpression
imports System.Runtime.InteropServices
imports microsoft.visualbasic
imports System.xml
namespace xp
<InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("...")> _
public interface _intf
sub OnSetText(Engine as xpEngine, Scene as xpScene, Self as xpTextObject, ByRef Text as String, ByRef Handled as Boolean)
end interface
public class xpc
implements _intf
dim _Global as xpGlobal
public sub __SetGlobal_(gl as xpGlobal)
_Global = gl
end sub
public sub OnSetText(Engine as xpEngine, Scene as xpScene, Self as xpTextObject, ByRef Text as String, ByRef Handled as Boolean) implements _intf.OnSetText
' <<< YOUR SCRIPT GOES HERE >>>
end sub
end class
end namespaceSub: you cannot declare Sub, Function or Class in it. Put them in Scripting > Global Methods.ByRef parameters (Text, Handled, AbortSetOnline, Result…). Exit Sub ends the script early.Imports. Use full names: System.IO.File, System.Text.RegularExpressions.Regex._Global (xpGlobal) is a key/value store shared by every script: _Global.Value("key") = 1.xp.xpc. This analysis did not confirm how event scripts reach those methods, so test that in XPression. To share data, _Global always works.Engine.DebugMessage(msg, MessageType.mt_Warning) (shown in the Debug Monitor, xpDbgMon.exe) or Engine.WriteToLog(msg). Avoid MsgBox: it blocks XPression./optimize, without debug symbols, and warnings are not errors.These are all 24 events XPression registers. The signature is exactly what the compiler sees. Parameters without ByRef are ByVal.
Scene Manager (Layout) → right-click a scene → Edit Script Events. Self is the scene that owns the script.
Executes as soon as the scene is put online.
public sub OnOnline(Engine As xpEngine, Self As xpScene)Executes before the scene is prepared to go online or to preview. A good place to fill in text and data.
public sub OnPrepare(Engine As xpEngine, Self As xpScene)Executes before the scene is put online and before an existing item on the framebuffer is taken offline. Set AbortSetOnline = True to cancel taking it online.
public sub OnBeforeOnline(Engine As xpEngine, Self As xpScene, FramebufferIndex As Integer, Layer As Integer, ByRef AbortSetOnline As Boolean)Executes just before the item is removed from a framebuffer. Handled lets the script take over the take-off.
public sub OnBeforeOffline(Engine As xpEngine, Self As xpScene, ByRef Handled As Boolean)Executes after the item is removed from a framebuffer.
public sub OnOffline(Engine As xpEngine, Self As xpScene)Executes for every frame rendered, including preview frames. Type says whether it is online, preview or NLE. Keep it very fast: it runs once per field/frame.
public sub OnRender(Engine As xpEngine, Self As xpScene, FieldNumber As Integer, Type As RenderType)Executes each time the scene is rendered into preview.
public sub OnPreviewRender(Engine As xpEngine, Self As xpScene, FieldNumber As Integer)Executes when the scene is being exported to video or images from the sequencer.
public sub OnExport(Engine As xpEngine, Self As xpScene)Executes when this scene is online and another scene is put online on a different layer.
public sub OnSceneOnline(Engine As xpEngine, Self As xpScene, OnlineScene As xpScene)Executes when this scene is online and another scene is removed from a different layer.
public sub OnSceneOffline(Engine As xpEngine, Self As xpScene, OfflineScene As xpScene)Executes when the main scene director of the scene changes state (PlayState: stopped, paused, playing...).
public sub OnSceneDirectorState(Engine As xpEngine, Self As xpScene, State As PlayState)Editor → Scripting > CII (saved in scripts\cii.xml). They intercept CII (Chyron Intelligent Interface) automation commands. Setting Handled = True means the script processed the command. Based on the parameter names, XPression then skips its default handling.
CII command to load a project. FileName can be changed. Set Handled = True if the script loaded it itself.
public sub OnLoadProject(Engine As xpEngine, ByRef FileName As String, ByRef Handled As Boolean)CII page write: creates or updates a take item (TakeItemID) from scene SceneID with the field Values(). All of these can be changed.
public sub OnPageWrite(Engine As xpEngine, ByRef SceneID As Integer, ByRef TakeItemID As Integer, ByRef Values() As String, ByRef Handled As Boolean)CII page read/recall: brings take item TakeItemID to channel Channel.
public sub OnPageRead(Engine As xpEngine, ByRef TakeItemID As Integer, ByRef Channel As Integer, ByRef Handled As Boolean)CII command to take take item TakeItemID offline.
public sub OnSetOffline(Engine As xpEngine, ByRef TakeItemID As Integer, ByRef Handled As Boolean)CII command to clear channel Channel.
public sub OnClear(Engine As xpEngine, ByRef Channel As Integer, ByRef Handled As Boolean)Keyboard/GPI Mapping, global shortcuts and P-Bus mapping → Edit Script Action (tab OnKeyPress). It runs when the shortcut, GPI or P-Bus trigger fires.
Runs when the mapped shortcut, GPI or P-Bus trigger is activated. Only Engine is passed: get scenes through it.
public sub OnKeyPress(Engine As xpEngine)Select a text object → Edit Script Events (Script Editor - Text). Self is the text object and Scene is its scene. Change Text to modify what is displayed.
Runs when the text of the object is set (by a take item, Datalinq, the API...). Change Text to change what is displayed.
public sub OnSetText(Engine As xpEngine, Scene As xpScene, Self As xpTextObject, ByRef Text As String, ByRef Handled As Boolean)Runs when text is appended to the object. Text is the text being added.
public sub OnAddText(Engine As xpEngine, Scene As xpScene, Self As xpTextObject, ByRef Text As String, ByRef Handled As Boolean)Runs when a single line (LineIndex) of a multi-line text object is set.
public sub OnSetLine(Engine As xpEngine, Scene As xpScene, Self As xpTextObject, LineIndex As Integer, ByRef Text As String, ByRef Handled As Boolean)Event marker object → Edit Event Scripts (Script Editor - Event Marker Events).
Runs when the event marker is shown (reached) while the scene renders.
public sub OnShow(Engine As xpEngine, Scene As xpScene)Scene Director track → script event → Script Event Properties → Edit Script. It runs when the playhead crosses the event, in the configured play direction.
Runs when the Scene Director playhead reaches the script event.
public sub OnEvent(Engine As xpEngine, Scene As xpScene)Transition Logic scene → rules → Edit Script. It decides whether a rule applies. Set Result.
Transition Logic rule condition: set Result = True when the rule should apply for OtherScene.
public sub OnTransLogic(Engine As xpEngine, Scene As xpScene, OtherScene As xpScene, ByRef Result As Boolean)✓ Compile-tested with XPression's own compiler (xpcplr.dll).
' Runs every time the text is set
Text = UCase(Trim(Text))If IsNumeric(Text) Then
Text = Format(CDbl(Text), "#,##0.00")
End IfDim obj As xpBaseObject = Nothing
If Self.GetObjectByName("Clock", obj) Then
Dim txt As xpTextObject = CType(obj, xpTextObject)
txt.Text = Format(Now, "HH:mm")
End IfDim obj As xpBaseObject = Nothing
If Self.GetObjectByName("Name", obj) Then
If Trim(CType(obj, xpTextObject).Text) = "" Then
AbortSetOnline = True
Engine.DebugMessage("Name is empty: " & Self.Name, MessageType.mt_Warning)
End If
End If' _Global (xpGlobal) is a dictionary shared by every script
Dim n As Integer = 0
If _Global.KeyExists("takes") Then n = CInt(_Global.Value("takes"))
n += 1
_Global.Value("takes") = n
Engine.WriteToLog("Scene " & Self.Name & " taken " & CStr(n) & " times")Dim path As String = "C:\data\headline.txt"
If System.IO.File.Exists(path) Then
Text = System.IO.File.ReadAllText(path, System.Text.Encoding.UTF8)
End IfTry
Dim doc As New XmlDocument()
doc.Load("C:\data\score.xml")
Dim node As XmlNode = doc.SelectSingleNode("/score/home")
If node IsNot Nothing Then Text = node.InnerText
Catch ex As Exception
Engine.DebugMessage("XML error: " & ex.Message, MessageType.mt_Error)
End TryDim dir As xpSceneDirector = Nothing
If Self.GetSceneDirectorByName("Loop", dir) Then
dir.Play()
End IfDim sc As xpScene = Nothing
If Engine.GetSceneByName("Bug", sc) Then
sc.SetOnline(0, 10)
Else
Engine.DebugMessage("Scene 'Bug' not found", MessageType.mt_Error)
End IfResult = (OtherScene.Name = "Lower Third")' OnRender runs every frame: do as little work as possible
If Type <> RenderType.rt_Online Then Exit Sub
Dim s As String = Format(Now, "HH:mm:ss")
If CStr(_Global.Value("lastClock")) <> s Then
_Global.Value("lastClock") = s
Dim obj As xpBaseObject = Nothing
If Self.GetObjectByName("Clock", obj) Then CType(obj, xpTextObject).Text = s
End If' Option Strict is Off, so late binding on Object works
Dim fso As Object = CreateObject("Scripting.FileSystemObject")
If fso.FolderExists("C:\data") Then
Text = CStr(fso.GetFolder("C:\data").Files.Count) & " files"
End If' Collapse repeated spaces and remove anything inside [brackets]
Text = System.Text.RegularExpressions.Regex.Replace(Text, "\[[^\]]*\]", "")
Text = System.Text.RegularExpressions.Regex.Replace(Text, "\s{2,}", " ").Trim()Engine.WriteToLog("CII write: scene " & CStr(SceneID) & " item " & CStr(TakeItemID) & " fields " & CStr(UBound(Values) + 1))
For i As Integer = 0 To UBound(Values)
Values(i) = Trim(Values(i))
Next
' Leave Handled = False so XPression still creates the take item' Scripting > Global Methods: these become members of class xp.xpc
Public Shared Function IsLong(ByVal s As String) As Boolean
Return Len(s) > 20
End Function
Public Shared Function LongNames(ByVal names As System.Collections.Generic.List(Of String)) As System.Collections.Generic.List(Of String)
' VB 8 has no lambdas: pass a named function with AddressOf
Return names.FindAll(AddressOf IsLong)
End FunctionAll .NET 2.0 primitive types. Without As, a variable is Object (Option Strict is Off).
| Type | .NET type | Range / notes | Literal |
|---|---|---|---|
Boolean | System.Boolean | True / False | True |
Byte | System.Byte | 0 to 255 | CByte(1) |
SByte | System.SByte | -128 to 127 (new in VB 8) | CSByte(1) |
Short | System.Int16 | -32,768 to 32,767 | 1S |
UShort | System.UInt16 | 0 to 65,535 (new in VB 8) | 1US |
Integer | System.Int32 | ±2.1 billion. Default for whole numbers | 1, &HFF, &O17 |
UInteger | System.UInt32 | 0 to 4.29 billion (new in VB 8) | 1UI |
Long | System.Int64 | 64-bit integer | 1L |
ULong | System.UInt64 | Unsigned 64-bit (new in VB 8) | 1UL |
Single | System.Single | 32-bit floating point | 1.5F |
Double | System.Double | 64-bit floating point. Default for decimals | 1.5, 1.5R |
Decimal | System.Decimal | 28-29 significant digits, for money | 1.5D |
Char | System.Char | One UTF-16 character | "A"c |
String | System.String | Immutable text. "" inside a string is a quote | "Hi ""you""" |
Date | System.DateTime | Date and time | #12/31/2024 23:59# |
Object | System.Object | Any value, late bound | Nothing |
Nullable(Of T) | System.Nullable`1 | Value type that may be empty. Integer? does NOT exist in VB 8 | Nothing |
Dim count As Integer = 10
Dim price As Decimal = 19.9D
Dim name As String = "XPression"
Dim airDate As Date = #1/31/2024 6:30:00 PM#
Dim anything = count * 2 ' Object (late bound)
Dim maybe As Nullable(Of Integer) = Nothing
If Not maybe.HasValue Then maybe = 5| Construct | Description |
|---|---|
Dim x As Integer = 1 | Local variable. Required: Option Explicit is On |
Dim a, b As String | Both are String (unlike VB6/VBScript) |
Const MAX As Integer = 10 | Constant |
Static calls As Integer | Local that keeps its value between calls of the same compiled script |
Dim arr(9) As Integer | Array with indices 0 to 9 (10 elements, always 0-based) |
Dim names() As String = {"a", "b"} | Array initializer (OK in VB 8). Collection initializers From {} are not |
Dim grid(2, 3) As Double | Multi-dimensional array |
ReDim Preserve arr(19) | Resize an array keeping its contents |
Erase arr | Release an array |
Dim o As New xpEngine | Create an object (New) |
Const SEP As String = " | "
Dim parts() As String = {"A", "B"}
ReDim Preserve parts(2)
parts(2) = "C"
Dim grid(1, 1) As Integer
grid(1, 1) = 4
Text = Join(parts, SEP) & SEP & CStr(UBound(parts) + 1) & SEP & CStr(grid(1, 1))| Construct | Description |
|---|---|
If c Then ... ElseIf c2 Then ... Else ... End If | Conditional. A single-line form also exists: If c Then x = 1 Else x = 2 |
Select Case v ... Case 1, 2 ... Case 3 To 9 ... Case Is > 9 ... Case Else ... End Select | Multiple choice with lists, ranges and comparisons. Works with strings |
For i As Integer = 0 To 9 Step 2 ... Next | Counted loop |
For Each item As String In list ... Next | Loop over arrays and collections |
Do While c ... Loop / Do ... Loop Until c | Conditional loops (While/Until, test at the top or at the bottom) |
While c ... End While | Wend does NOT exist in VB.NET |
Exit For / Exit Do / Exit While / Exit Sub | Leave a loop, or the event script itself (Exit Sub) |
Continue For / Continue Do / Continue While | Skip to the next iteration (new in VB 8) |
With obj ... .Prop = 1 ... End With | Repeated access to one object |
GoTo label | Jump to a label (label:) |
Dim total As Integer = 0
For i As Integer = 1 To 10
If i Mod 2 = 0 Then Continue For
total += i
Next
Select Case total
Case 0
Text = "zero"
Case 1 To 20
Text = "small"
Case Is > 20
Text = "big: " & CStr(total)
End Select
Dim n As Integer = 0
Do While n < 3
n += 1
Loop
While n > 0
n -= 1
End While| Construct | Description |
|---|---|
+ - * / \ Mod ^ | Arithmetic. / always returns Double, \ is integer division, ^ is power |
& | String concatenation (prefer it to +) |
= <> < > <= >= | Comparison (= is also assignment) |
Like | Wildcard match: ? * # [a-z] [!0-9] |
Is / IsNot | Reference comparison (x IsNot Nothing; IsNot is new in VB 8) |
TypeOf x Is T | Type test |
And Or Not Xor | Logical/bitwise, ALWAYS evaluate both sides |
AndAlso OrElse | Short-circuit logic (use these in conditions) |
<< >> | Bit shifts |
+= -= *= /= \= ^= &= <<= >>= | Compound assignment |
AddressOf | Creates a delegate from a named method (VB 8 has no lambdas) |
Dim a As Integer = 7
Dim ok As Boolean = (a \ 2 = 3) AndAlso (a Mod 2 = 1) AndAlso (2 ^ 3 = 8)
Dim code As String = "AB12"
If code Like "[A-Z][A-Z]##" AndAlso ok Then Text = "valid " & code
Dim o As Object = Text
If TypeOf o Is String AndAlso o IsNot Nothing Then a <<= 1These are language operators, not library functions. CCur and CVar (VBScript) do not exist: use CDec and CObj.
| Construct | Description |
|---|---|
CBool(x) | To Boolean |
CByte(x) | To Byte |
CSByte(x) | To SByte |
CShort(x) | To Short |
CUShort(x) | To UShort |
CInt(x) | To Integer. Rounds half to even: CInt(2.5) = 2 |
CUInt(x) | To UInteger |
CLng(x) | To Long |
CULng(x) | To ULong |
CSng(x) | To Single |
CDbl(x) | To Double. Uses the current culture for strings |
CDec(x) | To Decimal (replaces CCur) |
CChar(x) | First character of a string |
CStr(x) | To String |
CDate(x) | To Date |
CObj(x) | To Object (replaces CVar) |
CType(x, T) | Convert to any type, e.g. CType(obj, xpTextObject) |
DirectCast(x, T) | Cast without conversion: the object must already be of type T |
TryCast(x, T) | Cast that returns Nothing instead of failing (new in VB 8) |
GetType(T) | System.Type of a type |
Dim n As Integer = CInt("42")
Dim d As Double = CDbl(n) / 8
Dim money As Decimal = CDec("19.90")
Dim o As Object = Text
Dim s As String = TryCast(o, String)
If s IsNot Nothing Then Text = s & " " & CStr(d) & " " & CStr(money)An event script is the body of a Sub, so you cannot declare Sub/Function/Class inside it. Declare them in Scripting > Global Methods: that code becomes members of class xp.xpc (compiled in its own assembly).
| Construct | Description |
|---|---|
Public Function F(ByVal x As Integer) As Integer ... Return x End Function | Function with a return value (Return or assign to the function name) |
Public Sub S(ByRef result As String) | ByVal is the default. ByRef passes the variable |
Optional ByVal n As Integer = 0 | Optional parameter (needs a default) |
ParamArray values() As Object | Variable number of arguments |
Public Shared ... | Shared member: call it without an instance |
Call S(x) / S(x) | Calls ALWAYS need parentheses: MsgBox "x" fails |
Public Shared Function Pad2(ByVal n As Integer) As String
Return Right("0" & CStr(n), 2)
End Function
Public Shared Function JoinAll(ByVal sep As String, ByVal ParamArray parts() As String) As String
Return Join(parts, sep)
End Function
Public Shared Sub Swap(ByRef a As Integer, ByRef b As Integer)
Dim t As Integer = a : a = b : b = t
End Sub
Public Shared Function Greeting(Optional ByVal name As String = "World") As String
Greeting = "Hello, " & name
End FunctionAvailable in Global Methods, as nested types of xp.xpc.
| Construct | Description |
|---|---|
Class / Structure / Enum / Interface | User types |
Inherits / Implements / Overridable / Overrides / MustInherit / NotInheritable | Inheritance and polymorphism |
Property P() As T ... Get ... Set(ByVal value As T) ... End Property | Full property syntax (no auto-properties in VB 8) |
Public Event Changed(...) / RaiseEvent / AddHandler / WithEvents / Handles | Events |
Delegate Function F(ByVal x As Integer) As Boolean | Delegate types, created with AddressOf |
Class Box(Of T As IComparable) / Function Max(Of T)(...) | Generics with constraints (new in VB 8) |
Partial Class / Operator + / Widening / Narrowing Operator CType | Partial types and operator overloading (new in VB 8) |
Using r As New X() ... End Using | Disposes the object automatically (new in VB 8) |
Public Enum Side
Home = 0
Away = 1
End Enum
Public Class Team
Private _score As Integer
Public Name As String
Public Event ScoreChanged(ByVal newScore As Integer)
Public Property Score() As Integer
Get
Return _score
End Get
Set(ByVal value As Integer)
_score = value
RaiseEvent ScoreChanged(value)
End Set
End Property
End Class
Public Structure Point2
Public X As Double
Public Y As Double
End Structure
Public Shared Function Max(Of T As IComparable)(ByVal a As T, ByVal b As T) As T
If a.CompareTo(b) >= 0 Then Return a
Return b
End Function| Construct | Description |
|---|---|
Try ... Catch ex As Exception ... Finally ... End Try | Structured handling. Catch ex As IO.IOException When cond filters are supported |
Throw New Exception("msg") | Raise an exception |
On Error Resume Next / On Error GoTo label | Classic unstructured handling (cannot be mixed with Try in the same procedure) |
Err.Number / Err.Description / Err.Clear() | Error object for On Error |
An unhandled exception in a script is reported by XPression and the script stops. Wrap I/O and network code in Try/Catch, and report problems with Engine.DebugMessage (shown in the Debug Monitor, xpDbgMon.exe) or Engine.WriteToLog.
Try
Text = System.IO.File.ReadAllText("C:\data\x.txt")
Catch ex As System.IO.FileNotFoundException
Text = "(missing)"
Catch ex As Exception When ex.Message <> ""
Engine.DebugMessage(ex.Message, MessageType.mt_Error)
Finally
Text = Trim(Text)
End Try| Construct | VB | Error | Use instead |
|---|---|---|---|
If(cond, a, b) | VB 9 | BC30201 | Use IIf(cond, a, b) (evaluates both sides) or If...Else |
Function(x) x > 1 | VB 9 | BC30201 | No lambdas: write a named method and use AddressOf |
Option Infer On | VB 9 | BC30627 | Not available. Dim x = 5 gives an Object |
New Foo With {.A = 1} | VB 9 | BC30205 | Assign the fields after New, or use With |
Dim x As Integer? | VB 9 | BC30037 | Use Nullable(Of Integer) |
From x In arr Where ... Select x | VB 9 | BC30451 | No LINQ (and no System.Core). Use loops or List(Of T).FindAll(AddressOf ...) |
Dim x = <xml/> | VB 9 | — | No XML literals. Use XmlDocument |
Public Property P As Integer | VB 10 | BC30025 | Write the full Get/Set property |
Implicit line continuation | VB 10 | BC30201 | End continued lines with _ |
New List(Of Integer) From {1, 2} | VB 10 | BC30205 | Call .Add for each item, or start from an array |
Sub() ... | VB 10 | BC30201 | No Sub lambdas: use AddressOf |
Async / Await, Iterator / Yield | VB 11 | — | Not available. Use System.Threading.Thread with care |
$"n={n}" | VB 14 | BC30037 | Use String.Format("n={0}", n) or & |
x?.Length, NameOf(x) | VB 14 | BC30037 | Test IsNot Nothing explicitly |
Each row was compiled with XPression's compiler.
| VBScript | VB.NET 8 | Description | |
|---|---|---|---|
Set x = obj | ✗ Does not compile | x = obj | Let/Set assignments are gone (BC30807) |
MsgBox "x" | ✗ Does not compile | MsgBox("x") | Parentheses are mandatory (BC30800). Avoid MsgBox on air: it blocks |
While ... Wend | ✗ Does not compile | While ... End While | BC30809 |
Abs, Sgn, Sqr, Atn, Exp, Log, Sin, Cos, Tan, Round | ✗ Does not compile | Math.Abs, Math.Sign, Math.Sqrt, Math.Atan, Math.Exp, Math.Log, Math.Sin, Math.Cos, Math.Tan, Math.Round | Math functions moved to System.Math |
Array(1, 2, 3) | ✗ Does not compile | New Object() {1, 2, 3} | Array is a type in .NET |
Date(), Time() | ✗ Does not compile | Today, TimeOfDay, Now | Date is a type. Also DateString/TimeString |
String(3, "x") | ✗ Does not compile | StrDup(3, "x") | Or New String("x"c, 3) |
IsEmpty(v), IsNull(v) | ✗ Does not compile | v Is Nothing, IsNothing(v), IsDBNull(v) | No Empty/Null variants in .NET |
IsObject(v) | ✗ Does not compile | IsReference(v) | |
CCur(x), CVar(x) | ✗ Does not compile | CDec(x), CObj(x) | No Currency/Variant types |
Eval(s), Execute(s), ExecuteGlobal(s) | ✗ Does not compile | — | No dynamic code evaluation (the script is compiled) |
GetRef("F") | ✗ Does not compile | AddressOf F | Delegates replace function references |
Escape(s), Unescape(s) | ✗ Does not compile | System.Uri.EscapeDataString(s), System.Uri.UnescapeDataString(s) | |
LenB, MidB, AscB, ChrB, InStrB | ✗ Does not compile | System.Text.Encoding | No byte-string functions |
LoadPicture(f) | ✗ Does not compile | — | System.Drawing is not referenced |
CreateObject("Scripting.FileSystemObject") | ✓ Works | System.IO.File / Directory / Path | Works through late binding, but System.IO is faster and typed |
IIf, Choose, Switch | ✓ Works | | Available (IIf evaluates both branches) |
Left, Mid, Right, InStr, InStrRev, Replace, Split, Join, LCase, UCase, Trim, StrReverse, StrComp, Space, Len | ✓ Works | | Available unchanged |
Now, DateAdd, DateDiff, DatePart, DateSerial, TimeSerial, Year, Month, Day, Weekday, MonthName, WeekdayName, Timer | ✓ Works | | Available. DateAdd/DateDiff accept interval strings ("d", "m", "yyyy"...) or DateInterval |
CInt, CLng, CDbl, CStr, CBool, CDate, CByte, CSng, Int, Fix, Hex, Oct, Val, IsNumeric, IsDate, IsArray, TypeName, VarType, UBound, LBound | ✓ Works | | Available |
FormatNumber, FormatCurrency, FormatPercent, FormatDateTime, RGB, Rnd, Randomize, InputBox, GetObject | ✓ Works | | Available |
ScriptEngine() | ✓ Works | | Exists (Microsoft.VisualBasic.Globals) and returns "VB" |
On Error Resume Next, Err.Number | ✓ Works | Try ... Catch | Still supported. Prefer Try/Catch |
Dim x (untyped) | ✓ Works | Dim x As Integer | Becomes Object (late bound). Declaring a type is faster and safer |
Everything in Microsoft.VisualBasic 8.0 that you can call without a prefix, because the namespace is imported. The signatures come from reflection on the assembly XPression loads. Every example compiles. Collection is used with New Collection(), and Err is always available.
Returns the character code (Integer) of the first character of a string or of a Char, using the current ANSI code page. Throws an ArgumentException for an empty string; use AscW for the Unicode code point.
Asc("A") ' 65Returns the Unicode code point (Integer) of the first character of a string or of a Char, independent of the system code page. Throws an ArgumentException for an empty string.
AscW("é") ' 233Returns the Char for a character code; codes 0-255 are interpreted using the current ANSI code page. Prefer ChrW for Unicode values or the constants vbCr, vbLf and vbCrLf for line breaks.
Chr(65) ' "A"cReturns the Char for a Unicode code point (-32768 to 65535), without depending on the system code page. Useful for symbols such as arrows, bullets or accented letters in text fields.
ChrW(8226) ' "•"c (bullet)Returns a zero-based String array with the elements of Source that contain the Match substring (or that do not contain it when Include is False). Compare selects binary (case-sensitive) or text (case-insensitive) matching.
Filter(New String() {"CAM1", "CAM2", "VT1"}, "CAM") ' {"CAM1", "CAM2"}Formats a number or date as a string using a named format ("Currency", "Percent", "Short Date", "Long Time"...) or a custom .NET/VB format string such as "0.00" or "dd/MM/yyyy HH:mm". The result follows the current regional settings (decimal and date separators), so the same code can render differently on machines with different cultures.
Format(Now, "HH:mm:ss") ' e.g. "14:05:09"Formats a numeric value as currency using the system's currency symbol and regional settings; NumDigitsAfterDecimal sets the decimals (-1 = regional default) and the TriState arguments control the leading zero, parentheses for negatives and digit grouping.
FormatCurrency(1234.5) ' "R$ 1.234,50" (pt-BR) / "$1,234.50" (en-US)Formats a Date using one of the DateFormat values: GeneralDate (default), LongDate, ShortDate, LongTime or ShortTime, according to the regional settings. Use Format for custom patterns.
FormatDateTime(Now, DateFormat.ShortTime) ' e.g. "14:05"Formats a numeric value with the given number of decimal places (-1 = regional default) and optional digit grouping, using the regional decimal and thousands separators. The value is rounded, not truncated.
FormatNumber(1234.567, 2) ' "1,234.57" (en-US) / "1.234,57" (pt-BR)Multiplies the value by 100 and formats it with a trailing % sign, using the given number of decimals (-1 = regional default). Pass the fraction (0.25), not the percentage (25).
FormatPercent(0.256, 1) ' "25.6%"Returns the Char at the 1-based position Index of the string. Throws an ArgumentException if Index is less than 1 or greater than the length.
GetChar("XPression", 2) ' "P"cReturns the 1-based position of the first occurrence of String2 inside String1, or 0 if it is not found; the optional Start argument (also 1-based) sets where the search begins. Note it is 1-based, unlike String.IndexOf, which is 0-based and returns -1.
InStr("XPression", "ss") ' 5Searches StringMatch from the end of StringCheck backwards and returns its 1-based position counted from the start, or 0 if not found. Start = -1 (default) begins at the last character.
InStrRev("C:\Clips\intro.mov", "\") ' 9Concatenates the elements of a one-dimensional array into a single string, separated by Delimiter (a single space by default). Pass "" as Delimiter to join with no separator.
Join(New String() {"A", "B", "C"}, ", ") ' "A, B, C"Returns the string or Char converted to lowercase using the current culture. Nothing is returned as an empty string.
LCase("XPression") ' "xpression"Returns the leftmost Length characters of a string; if Length exceeds the string length, the whole string is returned (no error). Inside a class that has its own Left property, call it as Microsoft.VisualBasic.Left.
Left("XPression", 2) ' "XP"For a String, returns the number of characters (0 for Nothing); for other types, returns the number of bytes needed to store the value (e.g. 4 for Integer, 8 for Double). For text, this is equivalent to the String.Length property but safe against Nothing.
Len("XPression") ' 9Returns Source left-aligned in a string of exactly Length characters, padded with trailing spaces or truncated if longer. Useful for fixed-width columns.
LSet("AB", 5) & "|" ' "AB |"Returns the string with leading space characters removed. Only spaces are removed (not tabs or line breaks); use String.TrimStart() for other whitespace.
LTrim(" Hello") ' "Hello"Returns a substring starting at the 1-based position Start, with Length characters or up to the end if Length is omitted; returns "" if Start is beyond the end. Remember it is 1-based (String.Substring is 0-based).
Mid("XPression", 3, 5) ' "ressi"Returns a copy of Expression with occurrences of Find replaced by Replacement; Count limits the number of replacements (-1 = all) and Compare sets case sensitivity. Gotcha: when Start is greater than 1, the returned string begins at position Start (the characters before it are dropped).
Replace("1-2-3", "-", "/") ' "1/2/3"Returns the rightmost Length characters of a string; if Length exceeds the string length, the whole string is returned. Inside a class that has its own Right property, call it as Microsoft.VisualBasic.Right.
Right("Clip_0042", 4) ' "0042"Returns Source right-aligned in a string of exactly Length characters, padded with leading spaces or truncated if longer. Useful for aligning numbers in fixed-width text.
RSet("42", 5) ' " 42"Returns the string with trailing space characters removed. Only spaces are removed; use String.TrimEnd() for tabs or line breaks.
RTrim("Hello ") ' "Hello"Returns a string consisting of the specified number of space characters. Handy for padding or aligning text.
"[" & Space(3) & "]" ' "[ ]"Splits Expression into a zero-based String array using Delimiter (a space by default; the whole delimiter string is used, not individual characters); Limit caps the number of elements (-1 = all). An empty input returns a one-element array containing "".
Split("Ana;Bia;Caio", ";")(1) ' "Bia"Compares two strings and returns -1 if String1 sorts before String2, 0 if they are equal, or 1 if it sorts after. Use CompareMethod.Text for a case-insensitive comparison.
StrComp("abc", "ABC", CompareMethod.Text) ' 0Converts a string as specified by a VbStrConv value, such as UpperCase, LowerCase, ProperCase (capitalizes each word), Wide/Narrow or Katakana/Hiragana. LocaleID optionally sets the culture used for the conversion.
StrConv("joão da silva", VbStrConv.ProperCase) ' "João Da Silva"Returns a string made of the first character of Character repeated Number times. Only the first character is used even if a longer string is passed.
StrDup(5, "-") ' "-----"Returns the string with its characters in reverse order. Returns "" for Nothing or an empty string.
StrReverse("ABC") ' "CBA"Returns the string with both leading and trailing spaces removed. Only spaces are removed; use String.Trim() to also strip tabs and line breaks (e.g. from data read from files).
Trim(" Score ") ' "Score"Returns the string or Char converted to uppercase using the current culture. Nothing is returned as an empty string.
UCase("breaking news") ' "BREAKING NEWS"Returns the error message for a given VB run-time error number; without arguments, returns the message of the most recent error (Err.Number). Returns "" when the number is 0.
ErrorToString(11) ' "Division by zero."Removes the fractional part of a number, truncating toward zero, and returns the same numeric type. Differs from Int for negatives: Fix(-8.4) = -8, while Int(-8.4) = -9.
Fix(-8.4) ' -8Returns a string with the hexadecimal representation of an integer value (no "&H" prefix). Negative numbers are shown in two's complement, e.g. Hex(-1) = "FFFFFFFF".
Hex(255) ' "FF"Returns the integer part of a number, rounding down toward negative infinity (floor), keeping the same numeric type (a Double stays Double). Wrap it in CInt if you need an Integer.
Int(-8.4) ' -9Returns a string with the octal representation of an integer value (no "&O" prefix). Negative numbers are shown in two's complement.
Oct(8) ' "10"Converts a number to a string using the invariant culture (period as decimal separator). Gotcha: positive numbers get a leading space reserved for the sign, so use Trim(Str(x)), CStr or ToString when you do not want it.
Str(42) ' " 42"Parses the numbers at the start of a string and returns a Double, ignoring spaces and stopping at the first character it cannot interpret; it is culture-invariant (only "." is a decimal separator) and accepts &H/&O prefixes. Returns 0 if nothing numeric is found, never throwing for bad text.
Val("12.5 km") ' 12.5Returns a Date to which a number of intervals has been added (use a negative Number to subtract). The interval is a DateInterval value or a string: "yyyy" year, "q" quarter, "m" month, "ww" week, "d" day, "h" hour, "n" minute (not "m"!), "s" second.
DateAdd(DateInterval.Minute, 90, Now) ' now + 1h30Returns a Long with the number of interval boundaries between Date1 and Date2 (positive when Date2 is later). Interval uses the DateInterval enum or the same strings as DateAdd ("d", "h", "n", "s"...); note it counts boundaries crossed, so DateDiff("yyyy") between Dec 31 and Jan 1 is 1.
DateDiff(DateInterval.Second, startTime, Now) ' elapsed secondsReturns an Integer with the requested component of a Date (year, quarter, month, week of year, weekday, hour...), chosen by a DateInterval value or interval string. The optional arguments define the first day of the week and the first week of the year.
DatePart(DateInterval.Quarter, #8/15/2007#) ' 3Builds a Date (time 00:00:00) from year, month and day numbers. Out-of-range values roll over, so month 13 is January of the next year and day 0 is the last day of the previous month.
DateSerial(2024, 3, 0) ' #2/29/2024#Returns the current date as a string, always in "MM-dd-yyyy" format (month first) regardless of regional settings. Assigning to it changes the system date; use Format(Today, ...) for display.
DateString ' e.g. "12-31-2024"Converts a string to a Date containing only the date part (any time information is discarded). The string is parsed with the current regional settings, so "01/02/2024" may mean January 2 or February 1.
DateValue("2024-12-31") ' #12/31/2024#Returns the day of the month (1 to 31) of a Date as an Integer.
Day(#12/25/2024#) ' 25Returns the hour (0 to 23) of a Date as an Integer.
Hour(#2:30:00 PM#) ' 14Returns the minute (0 to 59) of a Date as an Integer.
Minute(#2:30:00 PM#) ' 30Returns the month (1 to 12) of a Date as an Integer.
Month(#12/25/2024#) ' 12Returns the name of a month (1 to 12) in the current culture's language, optionally abbreviated. On a pt-BR system the names come out in Portuguese ("janeiro").
MonthName(1, True) ' "Jan" (en-US)Returns a Date with the current system date and time (local time). Typical source for clocks and timestamps in graphics.
Format(Now, "HH:mm") ' e.g. "14:05"Returns the second (0 to 59) of a Date as an Integer.
Second(#2:30:15 PM#) ' 15Returns a Date containing the current time of day (date part January 1 of year 1). Assigning to it changes the system clock, which you should not do from a script.
Hour(TimeOfDay) ' current hourReturns a Double with the number of seconds (with fractions) elapsed since midnight. Useful for simple elapsed-time measurements, but it resets to 0 at midnight.
Dim elapsed As Double = Timer - t0 ' seconds since t0 = TimerBuilds a Date holding only a time of day from hour, minute and second numbers (the date part is January 1 of year 1). Out-of-range values roll over, e.g. 90 minutes becomes 1 h 30 min.
TimeSerial(14, 30, 0) ' 2:30:00 PMReturns the current time as a string, always in 24-hour "HH:mm:ss" format regardless of regional settings. Assigning to it changes the system clock.
TimeString ' e.g. "14:05:09"Converts a string to a Date containing only the time part (the date part is January 1 of year 1). Accepts formats such as "14:30" or "2:30 PM".
TimeValue("14:30:15") ' 2:30:15 PMReturns the current system date with the time set to 00:00:00. It is also a writable property that changes the system date, which you should never do from a script.
Format(Today, "dd/MM/yyyy")Returns the day of the week as an Integer from 1 to 7, where 1 is the day given by DayOfWeek (Sunday by default). Pass FirstDayOfWeek.Monday to make Monday = 1.
Weekday(#12/25/2024#) ' 4 (Wednesday)Returns the name of a weekday (1 to 7) in the current culture's language, optionally abbreviated. The numbering depends on FirstDayOfWeekValue, which defaults to the system setting, so pass FirstDayOfWeek.Sunday for predictable results.
WeekdayName(Weekday(Today), False, FirstDayOfWeek.Sunday) ' e.g. "Monday"Returns the year (1 to 9999) of a Date as an Integer.
Year(Today) ' e.g. 2024Brings an already running application window to the foreground, identified by its window title or process ID (e.g. the value returned by Shell). Throws an ArgumentException if no matching window is found.
AppActivate("Untitled - Notepad")Plays the default system beep through the computer's sound device. On a playout machine this may be audible on an audio output, so use it only while debugging.
Beep()Gets or sets a property, or calls a method, on an object using its name as a string at run time; UseCallType is CallType.Get, Let, Set or Method, and Args holds the arguments. Useful when the member name comes from data, at the cost of speed and compile-time checking.
CallByName(obj, "Text", CallType.Let, "Hello")Returns the element of the Choice list at the 1-based position Index (fractions are truncated), or Nothing if Index is out of range. All choices are evaluated, and the result is an Object that may need CStr/CInt.
CStr(Choose(2, "Red", "Green", "Blue")) ' "Green"Returns the command-line arguments of the current process as a single string (without the program name). Inside XPression this is the command line used to start XPression itself.
Dim args As String = Command()Creates and returns a new instance of a COM (ActiveX) object by its ProgID, optionally on a remote server; the result is late-bound (Object), so member calls require Option Strict Off. The COM component must be registered on the XPression machine.
Dim fso As Object = CreateObject("Scripting.FileSystemObject")Deletes a section or a key from the application's settings in the Windows registry (HKEY_CURRENT_USER\Software\VB and VBA Program Settings\AppName). Omitting Key deletes the whole section, and omitting Section deletes all settings for AppName.
DeleteSetting("MyXPScripts", "Scores", "Home")Returns the value of an operating-system environment variable by name, or "" if it does not exist; with a numeric index (1-based), returns the "NAME=value" string of that entry.
Environ("COMPUTERNAME") ' e.g. "XPN-PLAYOUT1"Returns all keys and values of a registry section saved with SaveSetting as a two-dimensional String array, where (i, 0) is the key and (i, 1) the value. Returns Nothing if the section does not exist.
Dim s(,) As String = GetAllSettings("MyXPScripts", "Scores")Returns a reference to a COM object, either loaded from a file (PathName) or an already running instance of the given Class. Like CreateObject, the result is late-bound.
Dim xl As Object = GetObject(, "Excel.Application")Reads a value saved with SaveSetting from the registry for the current Windows user, returning Default ("" if omitted) when the key does not exist. Handy for persisting small values between XPression sessions.
GetSetting("MyXPScripts", "Scores", "Home", "0")Returns TruePart if Expression is True, otherwise FalsePart, as an Object. Gotcha: both parts are always evaluated (no short-circuit), so IIf(x Is Nothing, "", x.Name) still fails when x is Nothing; use an If...Else block in that case (the If() operator does not exist in VB 8).
CStr(IIf(score >= 10, "WIN", "LOSE"))Shows a modal dialog asking the user to type text and returns it (or "" if the user cancels); Title, DefaultResponse and position are optional. It blocks the XPression render thread until closed, so never use it in scripts that run on air.
Dim name As String = InputBox("Guest name:", "Lower third", "John Doe")Shows a modal message box and returns a MsgBoxResult indicating which button was clicked; Buttons combines MsgBoxStyle flags (buttons, icon, default button) and Title sets the caption. It blocks the XPression render thread until dismissed, so use it only for testing, never on air.
If MsgBox("Clear all?", MsgBoxStyle.YesNo, "Confirm") = MsgBoxResult.Yes Then Reset()Returns a string "lower:upper" describing which range of size Interval, between Start and Stop, contains Number; values are padded with leading spaces to the width of Stop plus one. Mostly used to build frequency tables or histograms.
Partition(25, 0, 99, 10) ' " 20: 29"Saves a string value in the Windows registry under HKEY_CURRENT_USER\Software\VB and VBA Program Settings\AppName\Section\Key. The value is per Windows user, so it is not shared between machines or accounts.
SaveSetting("MyXPScripts", "Scores", "Home", "3")Starts an external program and returns its process ID; Style sets the window style and Wait = True blocks until the program exits (or Timeout ms elapse). Inside XPression, avoid Wait = True and long-running programs, since the script blocks the render thread.
Shell("notepad.exe C:\temp\log.txt", AppWinStyle.NormalFocus)Takes pairs of (condition, value) and returns the value of the first pair whose condition is True, or Nothing if none is. All arguments are evaluated, and the result is an Object.
CStr(Switch(x < 0, "neg", x = 0, "zero", True, "pos"))Returns the line number where the last error occurred, which only works when the code uses numbered lines; otherwise it returns 0.
Dim line As Integer = Erl()Returns the ErrObject with information about the most recent run-time error (Number, Description, Source...). It is filled by On Error handling and also when an exception is caught in a Try...Catch block.
If Err.Number <> 0 Then Engine.WriteToLog(Err.Description)Returns True if the variable refers to an array. Returns False for Nothing and for strings.
IsArray(New Integer() {1, 2}) ' TrueReturns True if the expression is a Date or a string that can be converted to a Date using the current regional settings. Use it before CDate to avoid conversion exceptions.
IsDate("31/12/2024") ' True on pt-BR, False on en-USReturns True if the expression is DBNull.Value, the value that represents a database NULL (e.g. from a DataRow or DataReader). Check it before converting database fields.
If IsDBNull(row("Score")) Then score = 0Returns True if the expression is an Exception object. Kept mainly for compatibility with VB6 code that used error values.
IsError(New Exception("x")) ' TrueReturns True if the expression is Nothing (has no object assigned). Equivalent to the test x Is Nothing.
If IsNothing(scene) Then Exit SubReturns True if the expression is a number or a string that can be converted to a number (using the current regional settings, and also accepting &H/&O prefixes). Use it to validate text before calling CDbl or CInt.
IsNumeric("12abc") ' FalseReturns True if the expression holds a reference type (String, arrays, class instances) and False for value types such as Integer, Date or structures.
IsReference("abc") ' TrueReturns the lowest available index of the given dimension (Rank, 1-based) of an array. In VB.NET arrays always start at 0, so it is normally 0.
LBound(arr) ' 0Returns the RGB color value (Integer, &H00BBGGRR) of one of the 16 classic QuickBASIC colors (0 to 15). The value uses the COM/OLE byte order, not System.Drawing.Color's ARGB; convert with ColorTranslator.FromOle if needed.
QBColor(12) ' &HFF (light red)Returns an Integer color value built from red, green and blue components (0 to 255), in the COM/OLE order &H00BBGGRR (red in the low byte). It is not the same as Color.FromArgb(...).ToArgb(); use ColorTranslator.FromOle to get a System.Drawing.Color.
RGB(255, 0, 0) ' 255Converts a VB type name to the corresponding .NET (CLR) type name, or returns Nothing if the name is not a VB elementary type.
SystemTypeName("Integer") ' "System.Int32"Returns a string with the VB name of the variable's data type, such as "Integer", "String", "Double", "Integer()" for arrays or "Nothing". Useful for debugging late-bound objects.
TypeName(42) ' "Integer"Returns the highest index of the given dimension (Rank, 1-based) of an array; for Dim a(5) it returns 5 (six elements). Returns -1 for an empty array and throws for Nothing.
UBound(New String() {"A", "B", "C"}) ' 2Returns a VariantType value identifying the data type of the variable (e.g. VariantType.Integer, VariantType.String, VariantType.Date). Arrays combine VariantType.Array with the element type.
VarType(3.5) = VariantType.Double ' TrueConverts a .NET (CLR) type name to the corresponding VB type name, or returns Nothing if there is no VB equivalent. Accepts names with or without the "System." prefix.
VbTypeName("System.Int32") ' "Integer"Changes the current working directory. This affects the whole XPression process (and relative paths everywhere), so prefer working with absolute paths instead.
ChDir("D:\Graphics")Changes the current drive, using the first letter of the given string or Char. Like ChDir, it changes process-wide state.
ChDrive("D")Returns the current working directory path, or the current directory of the given drive letter.
CurDir() ' e.g. "C:\Program Files\XPression"Returns the first file or folder name matching a path pattern (wildcards * and ?) and Attributes; calling Dir() again with no arguments returns the next match, and "" when there are no more. Returns only the name (not the full path), and the shared search state is not thread-safe.
Dim f As String = Dir("D:\Logos\*.png")Returns True when the end of a file opened for Input, Random or Binary has been reached. Use it as the loop condition when reading files.
If EOF(fn) Then FileClose(fn)Returns the OpenMode (Input, Output, Append, Binary or Random) with which a file number was opened by FileOpen.
FileAttr(fn) = OpenMode.Append ' TrueCloses the files opened with FileOpen for the given file numbers; with no arguments, closes all of them. Unclosed files stay locked by the XPression process.
FileClose(fn)Copies a file from Source to Destination, overwriting the destination if it exists. Fails if the source file is open for writing.
FileCopy("D:\data.xml", "D:\backup\data.xml")Returns the date and time when the file was created or last modified. Useful to detect whether a data file has changed since the last read.
FileDateTime("D:\scores.txt")Reads data from a file opened in Random or Binary mode into the given variable (passed ByRef), at RecordNumber (1-based record in Random mode, byte position in Binary mode) or at the current position. Counterpart of FilePut.
Dim n As Integer : FileGet(fn, n, 1)Reads a value from a file opened in Random or Binary mode into an Object variable, at RecordNumber (1-based) or the current position. Use it instead of FileGet when the variable is declared As Object.
FileGetObject(fn, value, 1)Returns the size of a file in bytes as a Long. For a file currently open with FileOpen, use LOF to get the up-to-date size.
FileLen("D:\scores.txt") ' e.g. 1024Opens a file for VB-style I/O, associating it with a file number (get one from FreeFile); Mode is OpenMode.Input, Output, Append, Binary or Random, and Access, Share and RecordLength are optional. Always close it with FileClose, preferably in a Finally block.
Dim fn As Integer = FreeFile() : FileOpen(fn, "D:\log.txt", OpenMode.Append)Writes the value of a variable to a file opened in Random or Binary mode, at RecordNumber (1-based) or the current position. Data is written in binary form, to be read back with FileGet.
FilePut(fn, 42, 1)Writes an Object value to a file opened in Random or Binary mode, at RecordNumber or the current position. Counterpart of FileGetObject.
FilePutObject(fn, CObj(42), 1)Sets the maximum line width for output to a file opened with FileOpen; Print/Write wrap to a new line when it is reached. A width of 0 means unlimited.
FileWidth(fn, 80)Returns the next available file number for use with FileOpen. Always use it instead of hard-coding numbers, since other scripts may have files open.
Dim fn As Integer = FreeFile()Returns the FileAttribute flags of a file or folder (ReadOnly, Hidden, System, Directory, Archive...). Test a flag with And, e.g. (GetAttr(p) And FileAttribute.Directory) <> 0.
(GetAttr("D:\Logos") And FileAttribute.Directory) <> 0 ' TrueReads one comma-delimited value from a file opened in Input mode into the given variable (ByRef). Intended for data written with Write/WriteLine, which quote strings and delimit fields.
Dim s As String : Input(fn, s)Reads CharCount characters from a file opened in Input or Binary mode and returns them as a string, including commas, quotes and line breaks.
Dim all As String = InputString(fn, CInt(LOF(fn)))Deletes one or more files from disk; wildcards (* and ?) are accepted, so double-check the pattern. Deleted files do not go to the Recycle Bin.
Kill("D:\Temp\*.tmp")Reads a whole line from a file opened in Input mode and returns it without the trailing line break. Combine with EOF in a loop to read text files line by line.
Dim s As String = ""
Do Until EOF(fn)
s = LineInput(fn)
LoopReturns the current position in an open file: last record read/written for Random, last byte for Binary, and the byte position divided by 128 for sequential files.
Loc(fn)Prevents other processes from accessing all of an open file, a single record, or a range of records (Random) / bytes (Binary). Every Lock must be matched by an Unlock with the same arguments.
Lock(fn, 1, 10)Returns the size, in bytes, of a file opened with FileOpen. Reflects data already written in the current session, unlike FileLen.
LOF(fn) ' e.g. 2048Creates a new directory. Throws an IOException if the directory already exists.
MkDir("D:\Export\Today")Writes display-formatted values to a file opened for Output or Append, without adding a line break. Use TAB and SPC to position output.
Print(fn, "Score: ", 10)Writes display-formatted values to a file opened for Output or Append, followed by a line break. The simplest way to write a text log line.
PrintLine(fn, Format(Now, "HH:mm:ss") & " take OK")Renames a file or directory; if the new path is in another folder on the same drive, the file is moved. Throws if NewPath already exists.
Rename("D:\data.txt", "D:\data_old.txt")Closes all files opened with FileOpen and flushes their buffers. Equivalent to calling FileClose with no arguments.
Reset()Removes an existing directory, which must be empty. Delete the files first with Kill.
RmDir("D:\Export\Old")Without Position, returns the current read/write position of an open file; with Position, sets it. Positions are 1-based: byte position in Binary/sequential modes, record number in Random mode.
Seek(fn, 1) ' rewindSets the FileAttribute flags of a file, such as ReadOnly or Hidden; combine flags with Or. Use FileAttribute.Normal to clear them.
SetAttr("D:\data.xml", FileAttribute.ReadOnly)Used inside Print/PrintLine to insert Count spaces in the output. Handy for simple text alignment.
PrintLine(fn, "A", SPC(5), "B")Used inside Print/PrintLine to move the output to a given column (1-based); with no argument, moves to the next print zone (every 14 columns).
PrintLine(fn, "Name", TAB(20), "Score")Releases a lock previously applied with Lock on a whole file, a record, or a range of records. Arguments must match the original Lock call.
Unlock(fn, 1, 10)Writes values to a sequential file as comma-separated fields, with strings in quotes and dates as #yyyy-MM-dd#, without a line break. The output is meant to be read back with Input.
Write(fn, "Home", 3)Like Write, writes comma-separated, quoted values to a sequential file, but ends with a line break. Produces simple CSV-like records readable with Input.
WriteLine(fn, "Home", 3) ' "Home",3Returns the depreciation of an asset for a given period using the double-declining balance method (or another rate via Factor). Cost, Salvage, Life and Period must use consistent units.
DDB(10000, 1000, 5, 1) ' 4000Returns the future value of an investment with constant periodic payments and a constant interest Rate per period. Money paid out is negative and money received is positive; Due sets payments at the end or beginning of each period.
FV(0.01, 12, -100) ' ≈ 1268.25Returns the interest portion of the payment for period Per of a loan or annuity with constant payments and rate. Uses the same sign convention as Pmt.
IPmt(0.01, 1, 12, 1000) ' -10Returns the internal rate of return for a series of periodic cash flows in a Double array, which must contain at least one negative (payment) and one positive (receipt) value. Guess is the starting estimate for the iterative calculation.
Dim cf() As Double = {-1000, 300, 400, 500} : IRR(cf) ' ≈ 0.089Returns the modified internal rate of return of a series of cash flows, using FinanceRate for the cost of payments and ReinvestRate for reinvested receipts. The array needs both negative and positive values.
MIRR(cf, 0.1, 0.12)Returns the number of periods needed for an investment or loan with constant payments Pmt and rate Rate to reach the given future value. Uses the usual sign convention (payments negative).
NPer(0.01, -100, 1000) ' ≈ 10.59Returns the net present value of a series of future cash flows (Double array) discounted at Rate. The first value is discounted one full period, so add an initial investment separately.
Dim f() As Double = {300, 400, 500} : NPV(0.1, f) ' ≈ 978.96Returns the constant payment per period for a loan or annuity, given the rate per period, number of periods and present value. The result is negative for money paid; divide an annual rate by 12 for monthly payments.
Pmt(0.01, 12, 1000) ' ≈ -88.85Returns the principal portion of the payment for period Per of a loan or annuity with constant payments and rate. IPmt + PPmt equals Pmt for each period.
PPmt(0.01, 1, 12, 1000) ' ≈ -78.85Returns the present value of a series of constant future payments at a constant rate per period. Uses the usual sign convention (payments negative).
PV(0.01, 12, -100) ' ≈ 1125.51Returns the interest rate per period of an annuity, calculated iteratively from the number of periods, payment and present value. Throws if the calculation does not converge; try a different Guess.
Rate(12, -88.85, 1000) ' ≈ 0.01Returns the straight-line depreciation of an asset for one period: (Cost - Salvage) / Life.
SLN(10000, 1000, 5) ' 1800Returns the sum-of-years'-digits depreciation of an asset for the given Period. Depreciation is higher in the first periods.
SYD(10000, 1000, 5, 1) ' 3000Initializes the random-number generator used by Rnd, seeding it from the system timer or from the given Number. Call it once (e.g. at script start), not before every Rnd call.
Randomize()Returns a random Single greater than or equal to 0 and less than 1. Call Randomize once first, or the same sequence repeats every time the script engine starts; a negative argument returns the same number for the same seed and 0 repeats the last number.
CInt(Int(Rnd() * 10)) + 1 ' 1 to 10Returns the name of the scripting language in use, which is always "VB" for Visual Basic .NET.
ScriptEngine() ' "VB"Returns the build number of the Visual Basic runtime. Mainly useful for diagnostics.
ScriptEngineBuildVersion()Returns the major version number of the Visual Basic runtime (8 for Visual Basic 2005).
ScriptEngineMajorVersion() ' 8Returns the minor version number of the Visual Basic runtime.
ScriptEngineMinorVersion() ' e.g. 0Adds an item to the Collection, optionally with a unique string Key (case-insensitive) and a position given by Before or After (index or key). Adding a duplicate key throws an ArgumentException.
col.Add("Ana Souza", "guest1")Removes all items from the Collection, leaving Count at 0.
col.Clear()Returns True if the Collection has an item with the given key. Use it before Item(key) to avoid an exception for missing keys.
If col.Contains("guest1") Then col.Remove("guest1")Returns the number of items in the Collection. Valid indexes go from 1 to Count.
Dim last As Object = col(col.Count)Returns an enumerator over the items of the Collection; it is what makes For Each work. You rarely call it directly.
For Each o As Object In col : Engine.WriteToLog(CStr(o)) : NextDefault property that returns an item by 1-based index or by string key (col(1) or col("key")). Note that a Collection starts at 1, unlike arrays and List(Of T), and an Integer argument is always treated as an index.
CStr(col("guest1")) ' "Ana Souza"Removes an item from the Collection by key or by 1-based index. Throws if the key or index does not exist.
col.Remove("guest1")Resets all properties of the Err object (Number = 0, Description = ""...). It is called automatically by Resume, Exit Sub/Function and On Error statements.
Err.Clear()Gets or sets the descriptive text of the current error. This is the message you usually log or display.
Engine.WriteToLog(Err.Description)Returns the line number where the error occurred, only when the code uses numbered lines; otherwise 0.
Err.ErlReturns the Exception object that corresponds to the current error in Err. Useful to access the .NET details (type, stack trace, InnerException).
Dim ex As Exception = Err.GetException()Gets or sets the context ID of a topic in the help file associated with the error. Rarely used in scripts.
Err.HelpContextGets or sets the full path of a help file associated with the error. Rarely used in scripts.
Err.HelpFileReturns the system error code from the last call to an unmanaged DLL function made through a Declare statement. Only meaningful right after such a call.
Err.LastDllErrorGets or sets the numeric code of the current error; 0 means no error. Commonly checked after On Error Resume Next.
If Err.Number <> 0 Then Engine.WriteToLog(Err.Description)Generates a run-time error with the given Number and optional Source, Description and help information. For your own errors, add a value to vbObjectError so it does not clash with system error numbers.
Err.Raise(vbObjectError + 1, "MyScript", "Data file not found")Gets or sets the name of the object or application that generated the error. Helpful to identify which script or component failed.
Err.SourcevbObjectError-2147221504vbCrLfvbCr & vbLfvbNewLinevbCr & vbLfvbCrChr(13)vbLfChr(10)vbBackChr(8)vbFormFeedChr(12)vbTabChr(9)vbVerticalTabChr(11)vbNullCharChr(0)vbNullStringNothingvbHide0vbNormalFocus1vbMinimizedFocus2vbMaximizedFocus3vbNormalNoFocus4vbMinimizedNoFocus6vbMethod1vbGet2vbLet4vbSet8vbBinaryCompare0vbTextCompare1vbGeneralDate0vbLongDate1vbShortDate2vbLongTime3vbShortTime4vbUseSystemDayOfWeek0vbSunday1vbMonday2vbTuesday3vbWednesday4vbThursday5vbFriday6vbSaturday7vbNormal0vbReadOnly1vbHidden2vbSystem4vbVolume8vbDirectory16vbArchive32vbUseSystem0vbFirstJan11vbFirstFourDays2vbFirstFullWeek3vbUpperCase1vbLowerCase2vbProperCase3vbWide4vbNarrow8vbKatakana16vbHiragana32vbSimplifiedChinese256vbTraditionalChinese512vbLinguisticCasing1024vbUseDefault-2vbTrue-1vbFalse0vbEmpty0vbNull1vbInteger3vbLong20vbSingle4vbDouble5vbCurrency6vbDate7vbString8vbObject9vbBoolean11vbVariant12vbDecimal14vbByte17vbUserDefinedType36vbArray8192vbOK1vbCancel2vbAbort3vbRetry4vbIgnore5vbYes6vbNo7vbOKOnly0vbOKCancel1vbAbortRetryIgnore2vbYesNoCancel3vbYesNo4vbRetryCancel5vbCritical16vbQuestion32vbExclamation48vbInformation64vbDefaultButton10vbDefaultButton2256vbDefaultButton3512vbApplicationModal0vbSystemModal4096vbMsgBoxHelp16384vbMsgBoxRight524288vbMsgBoxRtlReading1048576vbMsgBoxSetForeground65536ControlChars.CrLfvbCr & vbLfControlChars.NewLinevbCr & vbLfControlChars.CrChrW(13)ControlChars.LfChrW(10)ControlChars.BackChrW(8)ControlChars.FormFeedChrW(12)ControlChars.TabChrW(9)ControlChars.VerticalTabChrW(11)ControlChars.NullCharChrW(0)ControlChars.QuoteChrW(34)Scripts can use any public type from mscorlib, System, System.Xml, System.Windows.Forms and Microsoft.VisualBasic. These are the referenced assemblies. Below are the most useful types and members, all checked by reflection against .NET 2.0. Not available at compile time: System.Drawing, System.Data, System.Core (LINQ, HashSet), System.Xml.Linq. Reach them through late binding or System.Reflection.Assembly.Load, or use COM (CreateObject("ADODB.Connection")).
VBScript math functions are here: write Math.Abs(x), Math.Sqrt(x)… (System is imported).
Math.Abs(x) | Absolute value |
Math.Sign(x) | -1, 0 or 1 (VBScript Sgn) |
Math.Sqrt(x) | Square root (VBScript Sqr) |
Math.Pow(x, y) | x to the power y (same as x ^ y) |
Math.Exp(x) | e raised to x |
Math.Log(x) / Log(x, base) | Natural or any-base logarithm |
Math.Log10(x) | Base-10 logarithm |
Math.Round(x) / Round(x, digits) / Round(x, digits, MidpointRounding.AwayFromZero) | Rounding. The default is banker's rounding: Math.Round(2.5) = 2 |
Math.Floor(x) / Ceiling(x) / Truncate(x) | Round down, round up, drop the fraction |
Math.Max(a, b) / Min(a, b) | Larger or smaller of two values |
Math.Sin, Cos, Tan (x) | Trigonometry in radians |
Math.Asin, Acos, Atan (x), Atan2(y, x) | Inverse trigonometry (VBScript Atn = Atan) |
Math.Sinh, Cosh, Tanh (x) | Hyperbolic functions |
Math.DivRem(a, b, ByRef r) / BigMul(a, b) | Quotient plus remainder / 64-bit product of two Integers |
Math.IEEERemainder(x, y) | IEEE remainder |
Math.PI / Math.E | Constants π and e |
| Type | Main members | Description |
|---|---|---|
String | Length, Substring, IndexOf, LastIndexOf, Contains, StartsWith, EndsWith, Replace, Split, Trim, TrimStart, TrimEnd, PadLeft, PadRight, ToUpper, ToLower, Insert, Remove, ToCharArray, Format, Join, Concat, Compare, IsNullOrEmpty, Empty | Instance methods on any String (Text.ToUpper()) plus shared helpers (String.Format("{0:N2}", x), String.IsNullOrEmpty(s)) |
DateTime / Date | Now, Today, UtcNow, Year, Month, Day, Hour, Minute, Second, Millisecond, DayOfWeek, DayOfYear, AddDays, AddHours, AddMinutes, AddSeconds, AddMonths, AddYears, Subtract, ToString, Parse, TryParse, ParseExact, DaysInMonth, IsLeapYear | Dates and times. Now.ToString("dd/MM/yyyy HH:mm") formats, DateTime.TryParse validates |
TimeSpan | TotalSeconds, TotalMinutes, TotalHours, Days, Hours, Minutes, Seconds, FromSeconds, FromMinutes, Parse | Durations (result of subtracting two dates) |
Convert | ToInt32, ToDouble, ToString, ToBoolean, ToDateTime, ToBase64String, FromBase64String, ToByte | Culture-explicit conversions, Base64 |
Integer / Double ... | Parse, TryParse, MaxValue, MinValue, ToString | Numeric types: Integer.TryParse(s, n) validates without exceptions |
Environment | MachineName, UserName, NewLine, TickCount, CurrentDirectory, GetEnvironmentVariable, GetFolderPath, OSVersion | Machine and process information |
Guid | NewGuid, ToString, Empty | Unique identifiers |
Random | Next, NextDouble | Random numbers (alternative to Rnd) |
Uri | EscapeDataString, UnescapeDataString, Host, AbsolutePath | URLs and URL encoding (VBScript Escape/Unescape) |
Array | Sort, Reverse, IndexOf, Copy, Resize, Clear, Length | Helpers for arrays: Array.Sort(arr) |
| Type | Main members | Description |
|---|---|---|
File | Exists, ReadAllText, ReadAllLines, WriteAllText, WriteAllLines, AppendAllText, Copy, Move, Delete, GetLastWriteTime, ReadAllBytes, WriteAllBytes | Whole-file read and write in one call |
Directory | Exists, GetFiles, GetDirectories, CreateDirectory, Delete, GetCurrentDirectory | Folders: Directory.GetFiles("C:\img", "*.png") |
Path | Combine, GetFileName, GetFileNameWithoutExtension, GetExtension, GetDirectoryName, ChangeExtension, GetTempPath, GetTempFileName | Path manipulation without touching the disk |
StreamReader | ReadLine, ReadToEnd, Peek, Close, EndOfStream | Line-by-line reading. Use it with Using |
StreamWriter | Write, WriteLine, Flush, Close, AutoFlush | Text writing (pass True to the constructor to append) |
| Type | Main members | Description |
|---|---|---|
StringBuilder | Append, AppendLine, AppendFormat, Insert, Remove, Replace, ToString, Length | Fast concatenation in loops. There is no Clear() in .NET 2.0: use sb.Length = 0 |
Encoding | UTF8, Unicode, ASCII, Default, GetEncoding, GetBytes, GetString | Text encodings (Encoding.GetEncoding(1252) for Windows-1252) |
Regex | IsMatch, Match, Matches, Replace, Split, Escape | Regular expressions (System.Text.RegularExpressions) |
| Type | Main members | Description |
|---|---|---|
List(Of T) | Add, AddRange, Insert, Remove, RemoveAt, Clear, Contains, IndexOf, Sort, Reverse, ToArray, Count, Item, FindAll, Find, Exists, ForEach, ConvertAll | Typed list. FindAll/Find/ForEach take a delegate: AddressOf MyFunc |
Dictionary(Of K, V) | Add, Remove, ContainsKey, ContainsValue, TryGetValue, Clear, Count, Item, Keys, Values | Typed key/value map |
Queue(Of T) / Stack(Of T) | Enqueue, Dequeue, Peek, Count, Clear | FIFO queue (Stack: Push/Pop) |
SortedDictionary(Of K, V) | Add, ContainsKey, Keys, Values | Dictionary kept sorted by key. HashSet does NOT exist (System.Core) |
Hashtable / ArrayList | Add, ContainsKey, Remove, Keys, Values, Count | Untyped collections (System.Collections) |
| Type | Main members | Description |
|---|---|---|
WebClient | DownloadString, DownloadFile, UploadString, Headers, Encoding, Credentials | Simple HTTP. It blocks: avoid it in OnRender, and prefer a background thread or Datalinq for live data |
HttpWebRequest | Timeout, Method, ContentType, GetResponse, GetRequestStream | HTTP with timeouts (CType(System.Net.WebRequest.Create(url), System.Net.HttpWebRequest)) |
UdpClient / TcpClient | Send, Receive, Connect, Close | Raw UDP/TCP (System.Net.Sockets) |
| Type | Main members | Description |
|---|---|---|
XmlDocument | Load, LoadXml, Save, SelectSingleNode, SelectNodes, DocumentElement, CreateElement, GetElementsByTagName | XML DOM with XPath (already imported: no prefix needed) |
XmlNode / XmlElement | InnerText, InnerXml, Attributes, ChildNodes, SelectSingleNode, SelectNodes, Name, Value | Nodes; CType(node, XmlElement).GetAttribute("id") |
XmlReader | Create, Read, Name, Value, GetAttribute | Fast forward-only reading of large files |
| Type | Main members | Description |
|---|---|---|
Thread | Start, Sleep, Join, IsBackground, Abort | Background work: New Thread(AddressOf Work). Do not touch scene objects from it without care. Never Sleep in render events |
SyncLock / Monitor | Enter, Exit | Use the SyncLock obj ... End SyncLock statement |
Stopwatch | StartNew, Start, Stop, Reset, ElapsedMilliseconds, Elapsed | Precise timing (new in .NET 2.0) |
Process | Start, GetProcessesByName, Kill, HasExited, WaitForExit | Start or inspect programs |
Debug / Trace | WriteLine, Assert | System.Diagnostics.Debug.WriteLine (needs the full name: plain Debug.Print fails). In XPression prefer Engine.DebugMessage |
| Type | Main members | Description |
|---|---|---|
MessageBox | Show | Modal dialog: it blocks the XPression UI. Never use it on air |
Clipboard | GetText, SetText, ContainsText | Clipboard access |
SendKeys | Send, SendWait | Simulate keystrokes |
Application | StartupPath, DoEvents, ExecutablePath | Application.StartupPath = XPression folder |
Every object in xpression.net.dll. Member lists come from the assembly itself and descriptions from the official XPression SDK. Scripts get objects from the event parameters (Engine, Scene, Self) and from methods such as Engine.GetSceneByName and Scene.GetObjectByName. Methods that "return" an object do so through a ByRef parameter and return True on success.
Descriptions marked inferred are not in the official SDK: they were written from the member name, signature and documented sibling members. Treat them as a starting point and test before relying on them.
The root object of the XPression object model, representing the running engine. Scripts use the global Engine object (or create one with New xpEngine from an external application) and call members such as GetSceneByName, GetMaterialByName, GetOutputFrameBuffer, Sequencer, ActiveProject and WriteToLog/DebugMessage; it also raises the OnRender, OnState, OnGPI and OnCIITrigger events.
| Name | Type | Description | |
|---|---|---|---|
| SceneCount | Integer | read-only | Retrieves the number of scenes currently available in a loaded project. Returns Signed integer which receives the scene count. Example Original SDK example. It may use VB6-style calls without parentheses ( Scene.SetOnline 0); in an XPression script write Scene.SetOnline(0). |
| RenderEventMode | EventMode | read/write | Gets and sets the Render Event Mode for external synchronization of the render pipeline with the application. Returns [out,retval] EventMode variable. This parameter can be any member of the EventMode enumerated type. |
| RenderEventTimeOut | Integer | read/write | Gets and sets the maximum Render Event's timeout value in milliseconds to avoid frame drops or hanging in case of the external synchronization code taking too much time. Returns This parameter specifies the maximum timeout value in milliseconds for which the Render Mutex will block the render pipeline. Remarks The default of this property is 500 milliseconds. As a safety precaution don't use too high timeout values for this parameter as this can block or hang the entire render pipeline in case of faulty or slow code on the caller's application side. |
| ProjectFileName | String | read-only | Returns the filename of the currently loaded project without its path. Returns The filename of the currently loaded project. Empty when no project has been loaded or the current project has not been saved yet, the project's filename otherwise. Remarks For a fully qualified filename, combine the xpEngine.ProjectPath property with this property. |
| ProjectPath | String | read-only | Returns the file path of the currently loaded project without its filename. Returns The file path of the currently loaded project. Empty when no project has been loaded or the current project has not been saved yet, the project's file path otherwise. Remarks For a fully qualified filename, combine the xpEngine.ProjectPath property with this property. |
| OutputFrameBufferCount | Integer | read-only | Returns the number of defined output framebuffers. Returns Returns the count of output frame buffers |
| IsGUIMinimized | Boolean | read-only | Returns whether or not the GUI is currently minimized. Returns Boolean value, returns TRUE when the GUI is minimized, FALSE when the GUI is not. |
| MaterialCount | Integer | read-only | Returns the number of materials available in the current project. Returns Number of materials in the material manager. |
| TransitionFactoryCount | Integer | read-only | Returns the number of transition factories available to the engine. Returns Returns the number of transition factories available to the engine. |
| FontCount | Integer | read-only | Retrieves the number of fonts currently available in a loaded project. |
| LastErrorMsg | String | read-only | Returns the last error message. |
| Sequencer | xpSequencer | read-only | Returns the engines sequencer object. |
| WidgetCount | Integer | read-only | Returns the total number of widget objects |
| TimeCodeSourceCount | Integer | read-only | Returns the number of time code sources available to the engine. |
| EnableCII | Boolean | read/write | Enable or Disable CII message processing Remarks When CII message processing is disabled, the CII gateway will return an error message to the sending device for any command it receives. |
| GPIBoardCount | Integer | read-only | Returns the number of gpi boards available to the engine. |
| ProjectCount | Integer | read-only | Retrieves the number of project currently available. |
| ActiveProject | xpProject | read-only | Returns the current active project. |
| HardwareSerial | UInteger | read-only | Retrieve the hardware serial number of the XPression dongle |
| InputFrameBufferCount | Integer | read-only | Returns a count of how many input framebuffers are configured |
| RecordEngine | xpRecordEngine | read-only | Retrieve the handle to the recording engine for recording live inputs |
| VideoExport | xpVideoExport | read-only | Returns the engine's xpVideoExport object, used to render scenes or take items to video files. inferred |
| ServerChannelCount | Integer | read-only | Returns a count of how many server channels are configured |
| Tessera | xpTessera | read-only | Returns the tessera object |
| ProjectName | String | read-only | Returns the name of the project (the current project on xpEngine; the revision's project on xpProjectServerRevision). inferred |
Retrieve a handle to a loaded project in XPression
Internal/advanced: acquires a reference lock on the engine; must be balanced with RefUnlock. inferred
Internal/advanced: releases a reference lock previously acquired with RefLock. inferred
Create a new pen
Create a new point list
Create a new brush
BrushType ValueDescriptionNewBrush [out] Reference in which the method will return the new brushReturns whether or not the xpFont object given by its name exists.
Name [in] font nameRetrieve a reference to an input framebuffer board
Index Index of the input board (0 based)Enable or reset the watchdog timer
TimeOut Timeout value in milliseconds. (0 to disable the watchdog)Scene.SetOnline 0); in an XPression script write Scene.SetOnline(0).private void btnSetTimeout_Click(object sender, EventArgs e)
{
engine.SetWatchdog((int)spinTimeout.Value);
timer1.Interval = (int)spinTimeout.Value / 2; // Trigger the timer at half the watchdog's value
}
private void timer1_Tick(object sender, EventArgs e)
{
engine.SetWatchdog((int)spinTimeout.Value);
}
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
// Disable the watchdog when the form is closed
engine.SetWatchdog(0);
}Reads an engine property by name as a string; the value comes back in Value and the function returns True on success. inferred
Save the current framebuffer/hardware configuration to a file on disk
FileName The file the config should be written toLoads a framebuffer/hardware configuration from a file on disk (counterpart of SaveHardwareConfig); returns True on success. inferred
Retrieves a server channel by its channel number (rather than by index); the object comes back in ServerChannel and the function returns True on success. inferred
Retrieve a reference to a server channel by index
Retrieve the scene currently in focus in layout mode
Scene an xpSceneObject representing the scene currently focused in layout modeWrite a message to the standard XPression log file
Msg The message to be written to the logRetrieves an xpFont object by its ID
ID [in] ID of the font objectFont [out] Object reference in which the method will return the xpFont object if successful.Returns True if a scene with the given ID exists. inferred
Deletes all materials that are not assigned to any object. inferred
Deletes all fonts that are not in use. inferred
Retrieves an xpTransitionFactory object by its index.
Index [in] Index of the xpTransitionFactory to be retrieved.TransitionFactory [out] Pointer to an xpTransitionFactory variable.Scene.SetOnline 0); in an XPression script write Scene.SetOnline(0).Dim Factory As xpTransitionFactory
Dim Transition As xpTransition
' Transition Factory 0 is the dissolve factory
engine.GetTransitionFactory(0, Factory)
' Transition 0 is a dissolve
Factory.GetTransition(0, Transition)
Transition.Duration = 15 '15 frame dissolve
' Set online on framebuffer 0, layer 0, position 0
scene.SetOnline(0, 0, 0, Transition)Retrieves an xpFont object by its index
Index [in] index of the font objectFont [out] Object reference in which the method will return the xpFont object if successful.Clear all text from the Debug Monitor
Retrieve an xpScene object by its ID.
ID [in] ID of the scene to retrieveScene [out] Object reference in which the method will return the xpScene object if successful.AsCopy [in,optional] When the application specifies FALSE for this parameter the actual scene's template is returned and changes to the scene will affect the loaded project. Per default this parameter is TRUE and a copy of the scene is returned.Get the name of a material using its index.
Index [in] index of the materialName [out] pointer to the name of the materialRetrieves the name of a font
Index [in] index of the fontName [out] pointer to a string containing the font nameRetrieves a widget by its index.
Index [in] index of the widget to retrieveWidget [out] a reference to the widget objectRetrieves a widget by its name.
Name [in] name of the widget to retrieveWidget [out] a reference to the widget objectRetrieve the framebuffer configured as the preview output.
FrameBuffer [out] a reference to the xpOutputFrameBuffer configured as the preview outputCreate a new font
Delete a font
Font [in] The font object to be deleted.Create a new material
Delete a material
Material [in] the xpMaterial to be deletedSet the state of a GPI Output pin
BoardID [in] Board IDPinID [in] Pin number 0..11State [in] State to set the GPI output to, low or high.Retrieves an xpTimeCodeSource object by its index.
Retrieves an xpGPIBoard object by its index.
Index [in] index of the board object to retrieveBoard [out] object reference to hold the gpi board objectCreate a new blank scene
AddToProject [in] Set to True if you want the scene added to the project. If it is False, then the scene is only created temporarily and will be deleted when there are no longer any references to it.Scene [out] Pointer to the newly created sceneReturns a Project Server Client which can be used to interface with an XPression Project Server
Retrieve a handle to a loaded project in XPression
Set a previously loaded project to be the active project within XPression.
Add an existing XPression project from disk when a valid project filename is given.
FileName [in] Fully qualified filename of the XPression project you wish to load from disk.Activate [in] Specify if the newly added project should become the active projectSaves an XPression project group to disk when a valid filename and location is given.
FileName [in] Fully qualified target filename of the XPression project group you wish to save to disk.Create a new blank scene group
Mode ValueDescriptionSceneGroup [out] Pointer to the newly created scene groupRetrieves the XPression engine version information.
Major [out] Major version number.Minor [out] Minor version number.Build [out] Build version number.Description [out] Description of the XPression edition.Retrieves a scene from the loaded project by its name
Name [in] Name of the requested scene.Scene [out] Object reference in which the method will return the xpScene object if successfull.AsCopy [in,optional] When the application specifies FALSE for this parameter the actual scene's template is returned and changes to the scene will affect the loaded project. Per default this parameter is TRUE and a copy of the scene is returned.Scene.SetOnline 0); in an XPression script write Scene.SetOnline(0).dim Engine as new xpEngine
dim Scene as xpSceneObject
Engine.LoadProject "c:\test.xpf"
if Engine.GetSceneByName("scene1", Scene) then
Scene.SetOnline 0
end ifRetrieves an xpScene object from the current project by its index.
Index [in] Index of the requested scene. The minimum value for this parameter is 0 and the maximum value for this parameter is one less the value returned by xpEngine.SceneCount.Scene [out] Object reference in which the method will return the xpScene object if successfull.Scene.SetOnline 0); in an XPression script write Scene.SetOnline(0).dim Engine as new xpEngine
dim Scene as xpSceneObject
Engine.LoadFromFile "c:\test.xpf"
Engine.GetScene 4, Scene
Scene.SetOnline 0Loads an existing XPression project from disk when a valid project filename is given.
FileName [in] Fully qualified filename of the XPression project you wish to load from disk.Scene.SetOnline 0); in an XPression script write Scene.SetOnline(0).dim Engine as new xpEngine
if Engine.LoadProject("c:\test.xpf"
) then
MsgBox "Success"
end ifSaves an XPression project to disk when a valid project filename and location is given.
FileName [in] Fully qualified target filename of the XPression project you wish to save to disk.Scene.SetOnline 0); in an XPression script write Scene.SetOnline(0).if Engine.SaveProject("c:\test.xpf"
) then
MsgBox "Success"
end ifCloses the currently loaded project.
Shows or Hides the GUI (Graphical User Interface) of XPression.
Visible [in] When this parameter is TRUE the GUI will be made visible (if available), when FALSE it will hide the GUI.Retrieves an xpMaterial object from the current project.
Name [in] Name of the requested material.Material [out] Pointer to an xpMaterial variable which will receive the material object when successful.Locks the engine's render pipeline.
UnLocks the engine's render pipeline.
Retrieves a scene's name by its index.
Index [in] Index of the requested scene.Scene.SetOnline 0); in an XPression script write Scene.SetOnline(0).dim SceneName as String
if Engine.GetSceneName(2, SceneName) then
MsgBox SceneName
end ifPass a custom debug message to the debug monitor.
Message [in] Message to be passed to the debug monitor.MsgType ValueDescriptionReturns for which framebuffer and field or frame the Render Mutex has been signalled.
FrameBufferIndex [out] The Framebuffer Index for which the Render Mutex has been signalled.Field [out] The Field or Frame index for which the Render Mutex has been signalled.Retrieves the name of the Mutex which will be signaled when the xpEngine.RenderEventMode property is set appropriately.
Clears all layers of a frambuffer with a single call.
Index [in] Index of the framebuffer to be cleared; Framebuffer indices are zero based.Retrieves an xpFont object by its name.
Name [in] font nameFont [out] pointer to the font object with the name requestedScene.SetOnline 0); in an XPression script write Scene.SetOnline(0).Dim fontobj As xpFont
engine.GetFontByName("Font1", fontobj)
fontobj.SetFaceName("Arial")
fontobj.Size = 50Retrieves an xpOutputFrameBuffer object by its index.
Index [in] framebuffer indexFrameBuffer [out] pointer to the xpOutputFrameBuffer with the requested indexCreates and returns a new xpScene object from the original scene by its name.
Name [in] the name of the scene to copyScene [out] pointer to a newly created xpScene object holding a copy of the requested sceneDelete an xpScene template object from the scene manager by its name.
Name [in] the name of the scene to be deletedReturns wheter or not the xpScene object given by its name exists in the scene manager.
Name [in] name of the scene to checkClears an individual layer on an output framebuffer.
Index [in] Index of the framebuffer to be cleared. Framebuffer indices are zero based.LayerIndex [in] Index of the layer to be cleared. Layer indices are zero based.Minimizes the XPression GUI to the taskbar.
Restores the XPression GUI from taskbar to its original size before being minimized.
Clears the preview framebuffer.
Retrieves an xpAudioFile object by its name.
Name [in] the name of the AudioFile object in XPression (not the filename)AudioFile [out] Object reference in which the method will return the xpAudioFile object if successful.Returns wheter or not the xpMaterial object given by its name exists in the material manager.
Name [in] name of the material to checkRetrieves an xpMaterial object by its index.
Index [in] index of the material to retrieveMaterial [out] pointer to the xpMaterial requestedCOM events (for WithEvents/AddHandler in Global Methods; for normal scripting use the script events in section 2).
An event that gets triggered when a GPI input pin has changed states.
An event that gets triggered when a CII Trigger command is received
A key/value store for sharing global state between scripts. Entries are read and written through the indexed Value property, tested with KeyExists and removed with DeleteValue or Clear.
| Name | Type | Description | |
|---|---|---|---|
| Value(Key As String) | Object | read/write | Gets or sets the global value stored under the given key. inferred |
Removes the entry with the given key from the global store. inferred
Returns True if a value is stored under the given key. inferred
Clears the object's contents (for example its text lines, points or stored data, depending on the class). inferred
A loaded XPression project with its scenes, materials, fonts, widgets and global macros. Obtained via Engine.ActiveProject, Engine.GetProject/GetProjectByName or the Project property of a scene or take item; key members include GetSceneByName, GetMaterialByName, GetWidgetByName, GetGlobalMacro/SetGlobalMacro and SaveAs.
| Name | Type | Description | |
|---|---|---|---|
| FileName | String | read-only | Gets the project's filename |
| TimeBase | Double | read-only | Gets the project's time base |
| SceneCount | Integer | read-only | Retrieves the number of scenes currently available in a loaded project. Returns Signed integer which receives the scene count. |
| MaterialCount | Integer | read-only | Returns the number of materials available in the project. Returns Number of materials in the material manager. |
| FontCount | Integer | read-only | Retrieves the number of fonts currently available in a project. |
| WidgetCount | Integer | read-only | Returns the total number of widget objects |
| ProjectPath | String | read-only | Returns the file path of the project without its filename. Returns The file path of the project. |
| GlobalMacroCount | Integer | read-only | Returns the total number of Global Macros that exist in the project. |
| Name | String | read-only | Returns the name of this item (element, attribute, published object, project, property, or project-server show/style/category). inferred |
Set the value of a global macro by name
Name [in] the name of the macro to setValue [in] the value to set in the macroGet the value of a global macro specified by name
Name [in] The name of the global macro to get a value forValue [out] Reference to a string to hold the returned valueGet the name/value of a global macro by its index
Index 0 based index of the macro to retrieveName [out] Reference to a string to hold the returned nameValue [out] Reference to a string to hold the returned valueCheck if a global macro with a given name exists
Name [in] the name of the macro to look forReturns True if a scene with the given ID exists. inferred
Deletes all materials that are not assigned to any object. inferred
Deletes all fonts that are not in use. inferred
Saves an XPression project to disk when a valid project filename and location is given
FileName [in] Fully qualified target filename of the XPression project you wish to save to diskGets the project's frame size.
Gets the project's virtual size.
Retrieves an xpScene object from the current project by its index.
Index [in] Index of the requested scene. The minimum value for this parameter is 0 and the maximum value for this parameter is one less the value returned by xpEngine.SceneCount.Scene [out] Object reference in which the method will return the xpScene object if successfull.Retrieves a scene from the loaded project by its name
Name [in] Name of the requested scene.Scene [out] Object reference in which the method will return the xpScene object if successfull.AsCopy [in,optional] When the application specifies FALSE for this parameter the actual scene's template is returned and changes to the scene will affect the loaded project. Per default this parameter is TRUE and a copy of the scene is returned.Retrieves an xpMaterial object by its index.
Index [in] index of the material to retrieveMaterial [out] pointer to the xpMaterial requestedRetrieves an xpMaterial object from the current project.
Name [in] Name of the requested material.Material [out] Pointer to an xpMaterial variable which will receive the material object when successful.Retrieves an xpFont object by its index
Index [in] index of the font objectFont [out] Object reference in which the method will return the xpFont object if successful.Retrieves an xpFont object by its name.
Name [in] font nameFont [out] pointer to the font object with the name requestedRetrieves a widget by its index.
Index [in] index of the widget to retrieveWidget [out] a reference to the widget objectRetrieves a widget by its name.
Name [in] name of the widget to retrieveWidget [out] a reference to the widget objectReturns wheter or not the xpScene object given by its name exists in the scene manager.
Name [in] name of the scene to checkReturns wheter or not the xpMaterial object given by its name exists in the material manager.
Name [in] name of the material to checkReturns whether or not the xpFont object given by its name exists.
Name [in] font nameRetrieves a scene's name by its index.
Index [in] Index of the requested scene.Creates and returns a new xpScene object from the original scene by its name.
Name [in] the name of the scene to copyScene [out] pointer to a newly created xpScene object holding a copy of the requested sceneDelete an xpScene template object from the scene manager by its name.
Name [in] the name of the scene to be deletedRetrieves an xpAudioFile object by its name.
Name [in] the name of the AudioFile object in XPression (not the filename)AudioFile [out] Object reference in which the method will return the xpAudioFile object if successful.Retrieve an xpScene object by its ID.
ID [in] ID of the scene to retrieveScene [out] Object reference in which the method will return the xpScene object if successful.AsCopy [in,optional] When the application specifies FALSE for this parameter the actual scene's template is returned and changes to the scene will affect the loaded project. Per default this parameter is TRUE and a copy of the scene is returned.Get the name of a material using its index.
Index [in] index of the materialName [out] pointer to the name of the materialRetrieves the name of a font
Index [in] index of the fontName [out] pointer to a string containing the font nameCreate a new font
Delete a font
Font [in] The font object to be deleted.Create a new material
Delete a material
Material [in] the xpMaterial to be deletedCreate a new blank scene
AddToProject [in] Set to True if you want the scene added to the project. If it is False, then the scene is only created temporarily and will be deleted when there are no longer any references to it.Scene [out] Pointer to the newly created sceneCreate a new blank scene group
Mode ValueDescriptionSceneGroup [out] Pointer to the newly created scene groupSets the property identified by Path to the given string value; returns True on success. inferred
Retrieves a project font by its ID; the font comes back in the ByRef Font parameter and the function returns True on success. inferred
A scene (template or online copy) containing objects, animation controllers, scene directors and transition logic. Get it with Engine.GetSceneByName (optionally as a copy), Engine.GetFocusedScene, the Scene/Self event parameter or xpTakeItem.GetSceneCopy; key members are GetObjectByName, SetOnline/SetOffline, GetSceneDirectorByName, GetAnimControllerByName, SetProperty and the OnSceneState/OnOnlineState events.
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets and sets the scene's name. |
| SceneDirector | xpSceneDirector | read-only | Returns the scene's scenedirector object. |
| AnimControllerCount | Integer | read-only | Returns the number of xpAnimController objects available in the scene. |
| Tag | Integer | read/write | A user definable signed integer value. |
| PageMarginTop | Double | read/write | When this scene is used in a roll/crawl this property sets or gets the scene's top margin. |
| PageMarginBottom | Double | read/write | When this scene is used in a roll/crawl this property sets or gets the scene's bottom margin. |
| PageMarginLeft | Double | read/write | When this scene is used in a roll/crawl this property sets or gets the scene's left margin. |
| PageMarginRight | Double | read/write | When this scene is used in a roll/crawl this property sets or gets the scene's right margin. |
| PageMarginsEnabled | Boolean | read/write | When this scene is used in a roll/crawl this property determines whether or not the page margins will be used. |
| IsOnline | Boolean | read-only | Returns whether or not the scene is currently online. |
| Alpha | Double | read/write | Determines the scene's global alpha value, all objects within the scene hierarchy will become transparent when the scene does. |
| IsPrepared | Boolean | read-only | Returns whether or not the scene is already prepared or not. |
| ObjectCount | Integer | read-only | Gets the number of objects in the scene |
| ID | Integer | read-only | Gets the scene's ID |
| Description | String | read/write | Gets and sets the scene description |
| DefaultFramebufferID | Integer | read/write | Gets and sets the scenes default framebuffer Remarks Framebuffer indices are zero based. |
| DefaultFramebufferLayer | Integer | read/write | Gets and sets the scenes default layer |
| Width | Integer | read-only | Gets the scene's width |
| Height | Integer | read-only | Gets the scene's height |
| DefaultPreviewFrame | Integer | read/write | Gets and sets the scenes default preview frame |
| IsGroup | Boolean | read-only | Returns whether or not the scene is a scene group. |
| IsChild | Boolean | read-only | Returns whether or not the scene is a within a group. Remarks Scene copies are not considered to be children of their original parent, and will not be reported as being in a group. |
| SceneDirectorCount | Integer | read-only | Retuns a count of the number of scene directors in this scene. |
| DefaultTransInDuration | Integer | read/write | Gets or sets the duration of the default transition used when taking this scene online. inferred |
| DefaultTransOutDuration | Integer | read/write | Gets or sets the duration of the default transition used when taking this scene offline. inferred |
| DefaultTransInFactory | Integer | read/write | Gets or sets which transition factory (by index) provides the default transition-in. inferred |
| DefaultTransOutFactory | Integer | read/write | Gets or sets which transition factory (by index) provides the default transition-out. inferred |
| DefaultTransInMode | Integer | read/write | Gets or sets the mode (within the selected transition factory) of the default transition-in. inferred |
| DefaultTransOutMode | Integer | read/write | Gets or sets the mode (within the selected transition factory) of the default transition-out. inferred |
| DefaultTransInOffset | Integer | read/write | Gets or sets the offset applied to the default transition-in. inferred |
| DefaultTransOutOffset | Integer | read/write | Gets or sets the offset applied to the default transition-out. inferred |
| DefaultTransInReverse | Boolean | read/write | Gets or sets whether the default transition-in plays in reverse. inferred |
| DefaultTransOutReverse | Boolean | read/write | Gets or sets whether the default transition-out plays in reverse. inferred |
| Project | xpProject | read-only | Return the project object for the project that owns this scene |
| ThumbnailHash | String | read-only | Returns a hash string identifying the current thumbnail image (useful to detect thumbnail changes). inferred |
| IsCopy | Boolean | read-only | Check if the scene is a copy Remarks Returns true when this scene is a copy. Scene copies are created when scenes go online from the sequencer, or when scenes are being used to generate previews or thumbnails. A scene that is not a copy is the original scene from the layout editor. |
| MOSDescription | String | read/write | Set the MOS description for a scene being rendered in the MOS plugin Remarks This paramater can be modified inside the OnPreviewRender script and can be used to send a MOS Description back to the MOS plugin to update the Description field in the plugin. |
| DefaultMOSDescription | String | read/write | Get the default MOS Description field for this scene. |
| IsAnimatedPreview | Boolean | read-only | Check if the scene is being used by an animated preview in the sequencer Remarks The animated preview in the sequencer creates a scene copy and plays it in the animated preview window. This function will return true when this scene is currently being used by the animated preview. |
| VisualLogic | xpVisualLogic | read-only | Returns the object that represents a collection of visual logic tabs for a scene |
Duplicate an object in a scene and return a reference to the newly created object
BaseObject [in] the object to be duplicatedGet a reference to the current active camera in a scene
Update all object positions in a scene to the current scene directors position
Refresh datalinqs and wait for the data to be received before continuing script execution
Sets several properties at once from a single property string; returns True on success (string format is not documented). inferred
Get the currently focused object if this scene is active in the viewport
Sets the property identified by Path to the given string value; returns True on success. inferred
If this scene is a part of a take item, this function returns the state of that take item
State ValueDescriptionTrigger any materials that are set to be dynamic to re-evaluate their dynamic material paths.
Create a new scene director
Director Reference to the newly created scene director.Delete the specifed scenedirector
Save the scenes transition logic to a file on disk
FileName [in] filename to save the transition logic toLoad transition logic from a file on disk
FileName [in] filename of the transition logic to loadGet a reference to the scene director configured as the preview scene director
Get a reference to the scene's default scene director
Get a reference to the scene director configured as the scene's NLE scene director
Get the take item that owns this scene (if this scene is part of a sequencer take item)
TakeItem [out] reference to a take item that will hold the owner of this sceneRemoves the transition logic from the scene (see ImportTransitionLogic/ExportTransitionLogic). inferred
Retrieves the parent xpScene (or descendant) from this xpScene object.
ParentScene [out] Object reference in which the method will return the xpScene object if successfull.Get the effects stack from the object
Deletes an animation controller from the scene
Controller [in] the animation controller to be deletedGet a scene director with a given name
Get a scene director by index
Creates and returns a new xpMetadata object.
Set a new Unique ID for the scene
NewID The new unique ID to setRenumberExisting Do you want an existing scene using the same ID to be renumbered?Returns a pointer to an object containing the list of datalinq keys
Scene.SetOnline 0); in an XPression script write Scene.SetOnline(0).private void numericUpDown1_ValueChanged(object sender, EventArgs e)
{
xpDatalinqKeys keys;
xpDatalinqKey key;
engine.GetSceneByName("Scene1", out scene, false);
if (scene.GetDatalinqKeys(out keys))
{
if (keys.GetKeyByName("jersey", out key))
{
key.AsString = numericUpDown1.Value.ToString();
scene.RefreshDatalinq();
}
}
}Request all datalinqs in the scene to be updated.
Set a property of an object within the scene
ObjName Name of the object whose property should be setPropName The property name to be setValue The new value of the propertyScene.SetOnline 0); in an XPression script write Scene.SetOnline(0).m_Engine.GetSceneByName("Scene1", out m_Scene);
m_Scene.SetObjectPropertyString("Quad1", "Visible", "1");
m_Scene.SetObjectPropertyString("Quad1", "Material", "Yellow");
m_Scene.SetObjectPropertyString("Text1", "Text", "This is new text");
m_Scene.SetObjectPropertyString("Text1", "Position.X", "960.0");
m_Scene.SetObjectPropertyString("Text1", "Position.Y", "540.0");Check if a scene director with the given name exists.
Move an object to another place within the Scene Tree hierarchy
SrcObject Source ObjectTargetObject Target of ObjectMode ValueDescriptionScene.SetOnline 0); in an XPression script write Scene.SetOnline(0).private void button1_Click(object sender, EventArgs e)
{
xpScene scene;
xpBaseObject obj1, obj2;
engine.GetSceneByName("Scene1", out scene, false);
scene.GetObjectByName("Quad1", out obj1);
scene.GetObjectByName("Quad2", out obj2);
scene.MoveTo(obj1, obj2, MoveMode.mmAddChildFirst);
}Force the scene's thumbnail to be regenerated
Disables most of the scene's internal event handling for faster updates of the scene's properties.
Re-enables the scene's internal event handling.
Preloads and binds all resources used by this scene so this phase can be skipped when the scene is taken online.
Transition In a scene previously transitioned out by using the TransitionOut method.
Transition Out a scene without actually taking the scene offline.
Sets a scene online without rendering any actual output, this method is to be used in combination with TransitionIn calls.
FrameBufferIndex [in] Framebuffer to load the scene onLayerIndex [in] Layer to load the scene onDirectorPosition [in] Position to set the scene director to when loading the sceneReturns an xpMetadata object if the scene has metadata available.
Gets the name of a scene object by index
Index [in] Index of the object to retrieve the name ofName [out] Holds the name of the requested objectRenders a still snapshot of the scene to the given output framebuffer, optionally at a specific scene director position; returns True on success. inferred
Gets an object from the scene by index
Index [in] Index of the object to retrieveBaseObject [out] Reference in which the method will return the object requestedGets the name of an animation controller by index
Index [in] Index of the animation controllerName [out] String containing the name of the animation controllerGets the name and type of a scene object by index
Index [in] Index of the object to request the name and type ofName [out] Holds the name of the objectTypeName [out] Holds the type of objectGets the type of an object by index
Index [in] Index of the object to request the type ofTypeName [out] Holds the type of objectGets the dimensions of the scene
Width [out] Holds the scene widthHeight [out] Holds the scene heightCasts a ray from the screen point (OriginX, OriginY), with (0,0) at the top-left, and returns the first object hit in HitObject; returns True on success. inferred
Checks if an animation controller with the given name exists
Name [in] Name of the animation controller to check for existenceReturns the first published object in the scene
BaseObject [out] Reference in which the first published object will be returnedReturns the next published object in the scene
Current [in] The current xpBaseObject which will be used to determine which object to return nextDynamically creates a new object in the scene
ObjType [in] String representing the type of object to be createdNewObject [out] Reference in which the method will return the new objectParentObject [in,optional] If specified, the new object will become a child of the supplied parentScene.SetOnline 0); in an XPression script write Scene.SetOnline(0).' See if the quad object already exists...
If scene.ObjectExistsByName("BackgroundQuad") Then
scene.GetObjectByName("BackgroundQuad", quad)
Else
' The quad doesn't exists, so lets create a new quad
scene.CreateObject("Quad", quad)
quad.Name = "BackgroundQuad"
End IfDeletes an object from the scene
Obj [in] the object to be deletedGet a scene's thumbnail
Image [out] a reference to an xpImage object that contains the scene's thumbnailProjects a 3D scene coordinate (x, y, z) to 2D screen space; the result comes back in ScreenX/ScreenY and the function returns True on success. inferred
Retrieves an xpBaseObject (or descendant) from this xpScene object.
Name [in] Name of the requested objectBaseObject [out] Object reference in which the method will return the xpBaseObject object if successful.Scene.SetOnline 0); in an XPression script write Scene.SetOnline(0).Dim scene As xpScene
Dim quadobj As xpBaseObject
engine.GetSceneByName("Scene1", scene, False)
scene.GetObjectByName("Quad1", quadobj)
quadobj.PosX = 50
quadobj.PosY = 100Sets a scene online on a framebuffer and a specific layer, a transition can be used to transition the scene onto the framebuffer target.
FrameBufferIndex [in] Framebuffer to load the scene onLayerIndex [in,optional] Layer to load the scene onDirectorPosition [in,optional] Position to set the scene director to when loading the sceneTransition [in,optional] Transition to use when bringing the scene onlineScene.SetOnline 0); in an XPression script write Scene.SetOnline(0).dim Engine as new xpEngine
dim Scene as xpSceneObject
Engine.LoadProject "c:\test.xpf"
if Engine.GetSceneByName("scene1", Scene) then
Scene.SetOnline 0,-1,0
end ifReturns whether or not an object exists in the scene's hierarchy.
Name [in] Name of the object to check for existenceSets the scene's active camera through which the scene will be rendered on an output.
Camera [in] Camera that will become the active cameraCreates and returns a new xpAnimController object.
Controller [out] Object reference in which the method will return the new xpAnimControllerRetrieves an xpAnimController object by its index.
Index [in] Index of the animation controllerController [out] Reference in which the method will return the animation controllerRetrieves an xpAnimController object by its name.
Name [in] Name of the animation controllerController [out] Reference in which the method will return the animation controllerSets the current active xpAnimController object on which, per default, xpBaseObjects will set their keyframes.
Controller [in] Animation controller that will become the active animation controllerRetrieves a rendered frame from the scene as an xpImage object.
Position [in] Scene director position to be renderedWidth [in] Width to render the image atHeight [in] Height to render the image atImage [out] Reference used to return the newly rendered imagePremultiplied [in,optional] Used to specify if the output should be Premultiplied (Shaped)Renders a single frame of the scene to the framebuffer configured to be the preview framebuffer.
Position [in,optional] Scene director position to be used for the preview frameRetrieves a copy of the scene object.
Scene [out] Object reference in which the method will return the scene copyReturns the Framebuffer and Layer index on which this scene is currently online.
FrameBufferIndex [out] Returns the framebuffer index that the scene is onLayerIndex [out] Returns the layer that the scene is onForce an update of the scene's bounding area.
Sets the scene offline and effectively removes it from the framebuffer it is currently on. An optional transition can be used to transition the scene to its offline state.
Transition [in,optional] Transition to use when bringing the scene offlineResets the scene's internal counters for animation, transitions etc...
Fades the scene's alpha value from a start value to an end value within a certain amount of frames.
FromAlpha [in] A value in the range of 0..100.ToAlpha [in] A value in the range of 0..100.Duration [in] Duration in frames.Offset [in,optional] How many frames the fade instruction will wait before actually execute.WaitFor [in,optional] Block further execution until this fade instruction has finished running.Fades the scene from its current alpha value to the newly given alpha value within the given amount of frames.
ToAlpha [in] A value in the range of 0..100.Duration [in] Duration in frames.Offset [in,optional] How many frames the fade instruction will wait before actually execute.WaitFor [in,optional] Block further execution until this fade instruction has finished running.COM events (for WithEvents/AddHandler in Global Methods; for normal scripting use the script events in section 2).
A scene group: a scene that plays a list of child scenes in sequence (for example crawls and rolls) with its own speed, looping and margins. Created with Engine.CreateSceneGroup or retrieved like any scene and cast when IsGroup is True; it adds AddScene, GetScene, ClearScenes, Start/Stop and properties such as Mode, Direction, Speed, Looping and SceneCount to the xpScene members.
Also includes members of: xpScene
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| SceneDirector | xpSceneDirector | read-only | Returns the scene's scene director object. inferred |
| AnimControllerCount | Integer | read-only | Returns the number of animation controllers (xpAnimController) in the scene. inferred |
| Tag | Integer | read/write | A user-definable integer value stored with the scene. inferred |
| PageMarginTop | Double | read/write | Gets or sets the scene's top page margin, used when the scene is part of a roll/crawl. inferred |
| PageMarginBottom | Double | read/write | Gets or sets the scene's bottom page margin, used when the scene is part of a roll/crawl. inferred |
| PageMarginLeft | Double | read/write | Gets or sets the scene's left page margin, used when the scene is part of a roll/crawl. inferred |
| PageMarginRight | Double | read/write | Gets or sets the scene's right page margin, used when the scene is part of a roll/crawl. inferred |
| PageMarginsEnabled | Boolean | read/write | Gets or sets whether the scene's page margins are used when it is part of a roll/crawl. inferred |
| IsOnline | Boolean | read-only | Returns whether the scene group or take item group is currently online. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| IsPrepared | Boolean | read-only | Returns whether the scene has already been prepared (its resources preloaded, e.g. with Prepare). inferred |
| ObjectCount | Integer | read-only | Returns the number of objects in the scene. inferred |
| ID | Integer | read-only | Returns the numeric ID of the scene or of the Project Server show, style or category. inferred |
| Description | String | read/write | Gets or sets the scene description. inferred |
| DefaultFramebufferID | Integer | read/write | Gets or sets the scene's default framebuffer (zero-based index). inferred |
| DefaultFramebufferLayer | Integer | read/write | Gets or sets the scene's default framebuffer layer. inferred |
| Width | Integer | read-only | Returns the width of the scene, or of the shader's source/texture. inferred |
| Height | Integer | read-only | Returns the height of the scene, or of the shader's source/texture. inferred |
| DefaultPreviewFrame | Integer | read/write | Gets or sets the scene's default preview frame. inferred |
| IsGroup | Boolean | read-only | Returns whether this scene or take item is a group (scene group or take item group). inferred |
| IsChild | Boolean | read-only | Returns whether the scene is inside a scene group; scene copies are not reported as children. inferred |
| SceneDirectorCount | Integer | read-only | Returns the number of scene directors in the scene. inferred |
| DefaultTransInDuration | Integer | read/write | Gets or sets the duration of the default transition used when taking this scene online. inferred |
| DefaultTransOutDuration | Integer | read/write | Gets or sets the duration of the default transition used when taking this scene offline. inferred |
| DefaultTransInFactory | Integer | read/write | Gets or sets which transition factory (by index) provides the default transition-in. inferred |
| DefaultTransOutFactory | Integer | read/write | Gets or sets which transition factory (by index) provides the default transition-out. inferred |
| DefaultTransInMode | Integer | read/write | Gets or sets the mode (within the selected transition factory) of the default transition-in. inferred |
| DefaultTransOutMode | Integer | read/write | Gets or sets the mode (within the selected transition factory) of the default transition-out. inferred |
| DefaultTransInOffset | Integer | read/write | Gets or sets the offset applied to the default transition-in. inferred |
| DefaultTransOutOffset | Integer | read/write | Gets or sets the offset applied to the default transition-out. inferred |
| DefaultTransInReverse | Boolean | read/write | Gets or sets whether the default transition-in plays in reverse. inferred |
| DefaultTransOutReverse | Boolean | read/write | Gets or sets whether the default transition-out plays in reverse. inferred |
| Project | xpProject | read-only | Returns the project that owns this scene. inferred |
| ThumbnailHash | String | read-only | Returns a hash string identifying the current thumbnail image (useful to detect thumbnail changes). inferred |
| IsCopy | Boolean | read-only | Returns whether this scene is a copy (created when going online from the sequencer or for previews/thumbnails) rather than the original layout scene. inferred |
| MOSDescription | String | read/write | Gets or sets the MOS description sent back to the MOS plugin when the scene is rendered there (typically set in the OnPreviewRender script). inferred |
| DefaultMOSDescription | String | read/write | Gets or sets the scene's default MOS Description field. inferred |
| IsAnimatedPreview | Boolean | read-only | Returns whether this scene is currently being used by the sequencer's animated preview. inferred |
| VisualLogic | xpVisualLogic | read-only | Returns the object representing the scene's Visual Logic tabs. inferred |
| SceneCount | Integer | read-only | Returns the number of scenes in the scene group. inferred |
| Speed | Double | read/write | Gets or sets the playback speed. inferred |
| SoftStart | Boolean | read/write | Gets or sets whether the group's motion ramps in smoothly when it starts (duration set by SoftStartFrames). inferred |
| SoftStop | Boolean | read/write | Gets or sets whether the group's motion ramps out smoothly when it stops (duration set by SoftStopFrames). inferred |
| SoftStartFrames | Integer | read/write | Gets or sets the number of frames of the soft start ramp. inferred |
| SoftStopFrames | Integer | read/write | Gets or sets the number of frames of the soft stop ramp. inferred |
| Looping | Boolean | read/write | Gets or sets whether the scene group loops its scenes. inferred |
| LoopCount | Integer | read/write | Gets or sets how many times the scene group, video or director event loops. inferred |
| GlobalMarginTop | Double | read/write | Gets or sets the group-wide top margin of the scene group or take item group (roll/crawl layout). inferred |
| GlobalMarginBottom | Double | read/write | Gets or sets the group-wide bottom margin of the scene group or take item group (roll/crawl layout). inferred |
| GlobalMarginLeft | Double | read/write | Gets or sets the group-wide left margin of the scene group or take item group (roll/crawl layout). inferred |
| GlobalMarginRight | Double | read/write | Gets or sets the group-wide right margin of the scene group or take item group (roll/crawl layout). inferred |
| Mode | SceneGroupMode | read/write | Gets or sets the playback mode of the scene group (SceneGroupMode enum). inferred |
| Direction | SceneGroupDirection | read/write | Gets or sets the direction in which the scene group moves its scenes (SceneGroupDirection enum). inferred |
| Seconds | Double | read/write | Gets or sets the group's duration expressed in seconds; see also Frames. inferred |
| Frames | Integer | read/write | Gets or sets the group's duration expressed in frames; see also Seconds. inferred |
| DurationMode | DurationMode | read/write | Gets or sets how the scene group's duration is defined (DurationMode enum); related to Seconds and Frames. inferred |
Starts the scene group playing, or starts recording on a record line; returns True on success. inferred
Stops the scene group, or stops recording on a record line; returns True on success. inferred
Gets the scene at the given index (online on this framebuffer, or within this scene group); it comes back in Scene and the function returns True on success. inferred
Removes all scenes from the scene group; returns True on success. inferred
Duplicates the given object in the scene (optionally under ParentObject) and returns the newly created object. inferred
Gets the scene's current active camera; it comes back in the ByRef Camera parameter and the function returns True on success. inferred
Moves all objects in the scene to their keyframed values at the scene director's current position; returns True on success. inferred
Refreshes the scene's DataLinqs and waits until the data arrives before continuing; use only in OnPreviewRender scripts, as elsewhere it can stall the render pipeline. inferred
Sets several properties at once from a single property string; returns True on success (string format is not documented). inferred
Gets the currently focused object when this scene is active in the viewport; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Sets the property identified by Path to the given string value; returns True on success. inferred
If the scene belongs to a take item, gets that take item's online state; the OnlineState value comes back in the ByRef State parameter and the function returns True on success. inferred
State ValueDescriptionMakes dynamic materials re-evaluate their dynamic material paths (e.g. after linked DataLinq or text values change); returns True on success. inferred
Creates a new scene director in the scene; it comes back in the ByRef Director parameter and the function returns True on success. inferred
Deletes the given scene director from the scene; returns True on success. inferred
Saves the scene's transition logic to a file on disk; returns True on success. inferred
Loads transition logic into the scene from a file on disk; returns True on success. inferred
Gets the scene director configured as the scene's preview scene director; it comes back in the ByRef parameter and the function returns True on success. inferred
Gets the scene's default scene director; it comes back in the ByRef parameter and the function returns True on success. inferred
Gets the scene director configured as the scene's NLE scene director; it comes back in the ByRef parameter and the function returns True on success. inferred
Gets the sequencer take item that owns this scene; it comes back in the ByRef TakeItem parameter and the function returns False if the scene is not owned by a take item. inferred
Removes the transition logic from the scene (see ImportTransitionLogic/ExportTransitionLogic). inferred
Adds a scene to the scene group's list of scenes; returns True on success. inferred
Gets the parent scene of this scene; it comes back in the ByRef ParentScene parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Deletes the given animation controller from the scene; returns True on success. inferred
Gets the scene director with the given name; it comes back in the ByRef Director parameter and the function returns True on success. inferred
Gets the scene director at the given index; it comes back in the ByRef Director parameter and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Sets a new unique ID for the scene; if another scene already uses it, it is renumbered when RenumberExisting is True, otherwise the call fails. Returns True on success. inferred
Gets the list of DataLinq keys of the scene or take item; it comes back in the ByRef DatalinqKeys parameter and the function returns True on success. inferred
Requests an asynchronous update of all DataLinqs in the scene; the objects are updated shortly after, when the data arrives. Returns True on success. inferred
Sets a property (by name) of a named object in the scene from a string value; returns False if the object or property does not exist, but the value itself is not validated. inferred
Returns True if a scene director with the given name exists in the scene. inferred
Moves SrcObject to a new place in the scene tree relative to TargetObject (as first/last child, before or after it, per MoveMode); returns True on success. inferred
Mode ValueDescriptionForces the thumbnail to be regenerated. inferred
Disables most of the scene's internal event handling for faster batch updates of its properties; pair with EndUpdate. Returns True on success. inferred
Re-enables the scene's internal event handling after BeginUpdate; returns True on success. inferred
Preloads and binds all resources used by the scene (optionally at the given director position) so this step is skipped when it goes online; returns True on success. inferred
Transitions the scene back in after a TransitionOut, using the given transition; returns True on success. inferred
Transitions the scene out using the given transition without actually taking it offline; returns True on success. inferred
Puts the scene online on the given framebuffer and layer at the given director position without rendering any output, for use together with TransitionIn; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the name of the scene object at the given index; it comes back in the ByRef Name parameter and the function returns True on success. inferred
Renders a still snapshot of the scene to the given output framebuffer, optionally at a specific scene director position; returns True on success. inferred
Gets an object from the scene group by its index; the object is returned in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the name of the animation controller at the given index; the name is returned in the ByRef Name parameter and the function returns True on success. inferred
Gets the name and type name of the object at the given index; they are returned in the ByRef Name and TypeName parameters and the function returns True on success. inferred
Gets the type name of the object at the given index; it is returned in the ByRef TypeName parameter and the function returns True on success. inferred
Gets the dimensions of the scene group; width and height are returned in the ByRef Width and Height parameters. inferred
Casts a ray from the screen point (OriginX, OriginY), with (0,0) at the top-left, and returns the first object hit in HitObject; returns True on success. inferred
Returns True if an animation controller with the given name exists in the scene group. inferred
Gets the first published object in the scene group; it is returned in the ByRef BaseObject parameter and the function returns True on success. inferred
Returns the published object that follows Current in the scene group, for iterating together with GetFirstPublished. inferred
Dynamically creates a new object of the given type name, optionally under ParentObject; the new object is returned in the ByRef NewObject parameter and the function returns True on success. inferred
Deletes the given object from the scene group; returns True on success. inferred
Gets the thumbnail image; it comes back in Image and the function returns True on success. inferred
Projects a 3D scene coordinate (x, y, z) to 2D screen space; the result comes back in ScreenX/ScreenY and the function returns True on success. inferred
Gets an object from the scene group by its name; it is returned in the ByRef BaseObject parameter and the function returns True on success. inferred
Puts the scene group online on the given framebuffer, optionally on a specific layer and scene director position and using a transition; returns True on success. inferred
Returns True if an object with the given name exists in the scene group's hierarchy. inferred
Sets the camera object through which the scene group is rendered; returns True on success. inferred
Creates a new animation controller in the scene group; it is returned in the ByRef Controller parameter and the function returns True on success. inferred
Gets the animation controller at the given index; it is returned in the ByRef Controller parameter and the function returns True on success. inferred
Gets an animation controller by name; it is returned in the ByRef Controller parameter and the function returns True on success. inferred
Sets the active animation controller, on which objects set their keyframes by default; returns True on success. inferred
Renders the scene group at the given position and size into an image, optionally premultiplied and/or oversampled; the image is returned in the ByRef Image parameter and the function returns True on success. inferred
Renders a single frame of the scene group, optionally at the given position, to the preview framebuffer; returns True on success. inferred
Creates a copy of the scene group; the copy is returned in the ByRef Scene parameter and the function returns True on success. inferred
Gets the framebuffer and layer on which the scene group is currently online; they are returned in the ByRef parameters and the function returns True on success. inferred
Forces an update of the scene group's bounding area; returns True on success. inferred
Takes the scene group offline, optionally using a transition; returns True on success. inferred
Resets the scene group's internal counters for animation, transitions, etc. inferred
Fades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
COM events (for WithEvents/AddHandler in Global Methods; for normal scripting use the script events in section 2).
A single transition instance with Name, Duration and Offset (in frames). Obtained with xpTransitionFactory.GetTransition; WaitFor blocks the script until the transition has finished.
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read-only | Type name of this transition. |
| Duration | Integer | read/write | Number of frames this transition will run for when executed. |
| Offset | Integer | read/write | Number of frames this transition will wait before running |
This method will block further execution until the transition has finished executing.
A transition type (such as cut, fade or push) that generates transition instances. Obtained with Engine.GetTransitionFactory; enumerate its modes with ModeCount/GetModeName and create an instance with GetTransition.
| Name | Type | Description | |
|---|---|---|---|
| ModeCount | Integer | read-only | Returns the number of transition modes this transition factory provides. inferred |
Returns the name of the transition mode at the given index. inferred
Creates a transition of the given mode from this factory; it is returned in the ByRef Transition parameter and the function returns True on success. inferred
Helper interface for bounding-box data exposed by scene objects through the BoundingBox and OnlineBoundingBox properties (see xpBoundingBox).
| Name | Type | Description | |
|---|---|---|---|
| Width | Double | read-only | Returns the width (X extent) of the bounding box. inferred |
| Height | Double | read-only | Returns the height (Y extent) of the bounding box. inferred |
| Depth | Double | read-only | Returns the depth (Z extent) of the bounding box. inferred |
| MinX | Double | read-only | Returns the minimum X coordinate of the bounding box. inferred |
| MinY | Double | read-only | Returns the minimum Y coordinate of the bounding box. inferred |
| MinZ | Double | read-only | Returns the minimum Z coordinate of the bounding box. inferred |
| MaxX | Double | read-only | Returns the maximum X coordinate of the bounding box. inferred |
| MaxY | Double | read-only | Returns the maximum Y coordinate of the bounding box. inferred |
| MaxZ | Double | read-only | Returns the maximum Z coordinate of the bounding box. inferred |
Gets the minimum corner of the bounding box; the X, Y and Z values come back in the ByRef parameters. inferred
Gets the maximum corner of the bounding box; the X, Y and Z values come back in the ByRef parameters. inferred
Helper interface describing a 3D position, returned by the Position property of scene objects. For per-axis access scripts usually prefer PosX/PosY/PosZ or SetPosXYZ/GetPosXYZ.
| Name | Type | Description | |
|---|---|---|---|
| x | Double | read/write | Gets or sets the X component (position, scale or rotation, depending on the interface). inferred |
| y | Double | read/write | Gets or sets the Y component (position, scale or rotation, depending on the interface). inferred |
| z | Double | read/write | Gets or sets the Z component (position, scale or rotation, depending on the interface). inferred |
Sets the X, Y and Z position components in one call. inferred
Helper interface describing a 3D rotation, returned by the Rotation property of scene objects. For per-axis access scripts usually prefer RotX/RotY/RotZ or SetRotXYZ/GetRotXYZ.
| Name | Type | Description | |
|---|---|---|---|
| x | Double | read/write | Gets or sets the X component (position, scale or rotation, depending on the interface). inferred |
| y | Double | read/write | Gets or sets the Y component (position, scale or rotation, depending on the interface). inferred |
| z | Double | read/write | Gets or sets the Z component (position, scale or rotation, depending on the interface). inferred |
Helper interface describing a 3D scale, returned by the Scale property of scene objects. For per-axis access scripts usually prefer ScaleX/ScaleY/ScaleZ or SetScaleXYZ/GetScaleXYZ.
| Name | Type | Description | |
|---|---|---|---|
| x | Double | read/write | Gets or sets the X component (position, scale or rotation, depending on the interface). inferred |
| y | Double | read/write | Gets or sets the Y component (position, scale or rotation, depending on the interface). inferred |
| z | Double | read/write | Gets or sets the Z component (position, scale or rotation, depending on the interface). inferred |
The scene background object, a full-frame textured surface behind the other objects. Obtained with Scene.GetObjectByName; key members are SetMaterial, Width, Height, SetSize, Datalinq and the texture-mapping properties.
Also includes members of: xpTexturedObject, xpBaseObject
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Position | IPosition | read-only | Returns the object's position as an IPosition interface (X/Y/Z). inferred |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Scale | IScale | read/write | Gets or sets the object's scale as an IScale interface (X/Y/Z). inferred |
| Rotation | IRotation | read/write | Gets or sets the object's rotation as an IRotation interface (X/Y/Z). inferred |
| BoundingBox | IBoundingBox | read-only | Returns the object's bounding box coordinates. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| MaterialCount | Integer | read-only | Returns the number of materials that can be bound to this object. inferred |
| PosY | Double | read/write | Gets or sets the object's Y position. inferred |
| PosX | Double | read/write | Gets or sets the object's X position. inferred |
| PosZ | Double | read/write | Gets or sets the object's Z position. inferred |
| RotX | Double | read/write | Gets or sets the object's X rotation. inferred |
| RotY | Double | read/write | Gets or sets the object's Y rotation. inferred |
| RotZ | Double | read/write | Gets or sets the object's Z rotation. inferred |
| ScaleX | Double | read/write | Gets or sets the object's X scale. inferred |
| ScaleY | Double | read/write | Gets or sets the object's Y scale. inferred |
| ScaleZ | Double | read/write | Gets or sets the object's Z scale. inferred |
| OnlinePosX | Double | read/write | Gets or sets the X position of the object's online (on-air) instance. inferred |
| OnlinePosY | Double | read/write | Gets or sets the Y position of the object's online (on-air) instance. inferred |
| OnlinePosZ | Double | read/write | Gets or sets the Z position of the object's online (on-air) instance. inferred |
| OnlineRotX | Double | read/write | Gets or sets the X rotation of the object's online (on-air) instance. inferred |
| OnlineRotY | Double | read/write | Gets or sets the Y rotation of the object's online (on-air) instance. inferred |
| OnlineRotZ | Double | read/write | Gets or sets the object's online Z rotation, i.e. its rotation in the online (on-air) instance of the scene. inferred |
| OnlineScaleX | Double | read/write | Gets or sets the object's online X scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleY | Double | read/write | Gets or sets the object's online Y scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleZ | Double | read/write | Gets or sets the object's online Z scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| IsPublished | Boolean | read/write | Gets or sets whether the object is published, i.e. exposed as editable template data for take items in the sequencer. inferred |
| PublishedCount | Integer | read-only | Returns the number of published fields of this object. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations on this object. inferred |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred |
| PivotX | Double | read/write | Gets or sets the X position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotY | Double | read/write | Gets or sets the Y position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotZ | Double | read/write | Gets or sets the Z position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| OutputAlpha | Boolean | read/write | Gets or sets whether the object contributes to the output's alpha channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputRed | Boolean | read/write | Gets or sets whether the object contributes to the output's red channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputGreen | Boolean | read/write | Gets or sets whether the object contributes to the output's green channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputBlue | Boolean | read/write | Gets or sets whether the object contributes to the output's blue channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
| TemplateDataColor | TemplateDataColors | read/write | Gets or sets the color tag (TemplateDataColors) with which the object appears in the sequencer's Template Data tab; only applies to published objects. inferred |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
| TexturePosX | Double | read/write | Gets or sets the texture's X position (offset). inferred |
| TexturePosY | Double | read/write | Gets or sets the texture's Y position (offset). inferred |
| TextureRot | Double | read/write | Gets or sets the texture's rotation. inferred |
| TextureScaleX | Double | read/write | Gets or sets the texture's X scale. inferred |
| TextureScaleY | Double | read/write | Gets or sets the texture's Y scale. inferred |
| TexturePivotX | Double | read/write | Gets or sets the X coordinate of the texture's pivot point. inferred |
| TexturePivotY | Double | read/write | Gets or sets the Y coordinate of the texture's pivot point. inferred |
| TextureAddressMode | TextureAddressMode | read/write | Gets or sets how texture coordinates outside the 0-1 range are handled (wrap, mirror, clamp, border, mirror once). inferred |
| Width | Integer | read/write | Gets or sets the width of the background object. inferred |
| Height | Integer | read/write | Gets or sets the height of the background object. inferred |
| Datalinq | xpDatalinq | read-only | Returns the xpDatalinq object that configures the DataLinq data link for this object. inferred |
| Tesselation | Integer | read/write | Gets or sets the tessellation (number of mesh subdivisions) used to build the object's geometry; higher values give smoother or more deformable surfaces. inferred |
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
Sets the dynamic material path for the given material face; it only stores the path (applied when the scene is prepared or refreshed, e.g. via RefreshDynamicMaterials). Returns True on success. inferred
Sets the dynamic material "clear on failure" option for the given material face; returns True on success. inferred
Returns the "clear on failure" option of the dynamic material system for the given face. inferred
Gets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Sets the width and height of the background object in one call; returns True on success. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets the continuous animation at the given index; the xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the object's parent object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's next sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's previous sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's first child object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the scene that contains this object; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Sets the object's position (X, Y, Z) and rotation (X, Y, Z, in degrees) in a single call. inferred
Creates a new continuous animation on this object; the new xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Makes the given object the parent of this object in the scene tree; returns True on success. inferred
Assigns an image file directly to the given face without a material, via a hidden volatile material that is discarded when a new material is assigned; returns True on success. inferred
Sets the object's X, Y and Z scale in a single call. inferred
Gets the object's X, Y and Z scale in a single call; the values come back in the ByRef parameters. inferred
Sets a TCB-spline keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels and the given tension, continuity and bias; returns True on success. inferred
Channels ValueDescriptionSets the visibility of this object's children; when Recursive is True it also applies to all deeper descendants. inferred
Sets a position keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionFades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels. inferred
Channels ValueDescriptionInterpolation ValueDescriptionDeletes the keyframe at the given time position for the selected channels from the scene's active animation controller. inferred
Channels ValueDescriptionGets the material bound to the given face of the object; it comes back in the ByRef Material parameter and the function returns True on success. inferred
Binds the given material to the specified face of the object; returns True on success. inferred
Enables or disables the continuous animation at the given index; returns True on success. inferred
Unbinds all materials bound to this object. inferred
Sets the object's X, Y and Z position in a single call. inferred
Gets the object's X, Y and Z position in a single call; the values come back in the ByRef parameters. inferred
Sets the object's X, Y and Z rotation (in degrees) in a single call. inferred
Gets the object's X, Y and Z rotation (in degrees) in a single call; the values come back in the ByRef parameters. inferred
Base class for scene lights, adding diffuse, ambient and specular color control (SetColorDiffuse, SetColorAmbient, SetColorSpecular and their getters) to the xpBaseObject members. Obtained with Scene.GetObjectByName and cast to the specific light type when needed.
Also includes members of: xpBaseObject
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Position | IPosition | read-only | Returns the object's position as an IPosition interface (X/Y/Z). inferred |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Scale | IScale | read/write | Gets or sets the object's scale as an IScale interface (X/Y/Z). inferred |
| Rotation | IRotation | read/write | Gets or sets the object's rotation as an IRotation interface (X/Y/Z). inferred |
| BoundingBox | IBoundingBox | read-only | Returns the object's bounding box coordinates. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| MaterialCount | Integer | read-only | Returns the number of materials that can be bound to this object. inferred |
| PosY | Double | read/write | Gets or sets the object's Y position. inferred |
| PosX | Double | read/write | Gets or sets the object's X position. inferred |
| PosZ | Double | read/write | Gets or sets the object's Z position. inferred |
| RotX | Double | read/write | Gets or sets the object's X rotation. inferred |
| RotY | Double | read/write | Gets or sets the object's Y rotation. inferred |
| RotZ | Double | read/write | Gets or sets the object's Z rotation. inferred |
| ScaleX | Double | read/write | Gets or sets the object's X scale. inferred |
| ScaleY | Double | read/write | Gets or sets the object's Y scale. inferred |
| ScaleZ | Double | read/write | Gets or sets the object's Z scale. inferred |
| OnlinePosX | Double | read/write | Gets or sets the X position of the object's online (on-air) instance. inferred |
| OnlinePosY | Double | read/write | Gets or sets the Y position of the object's online (on-air) instance. inferred |
| OnlinePosZ | Double | read/write | Gets or sets the Z position of the object's online (on-air) instance. inferred |
| OnlineRotX | Double | read/write | Gets or sets the X rotation of the object's online (on-air) instance. inferred |
| OnlineRotY | Double | read/write | Gets or sets the Y rotation of the object's online (on-air) instance. inferred |
| OnlineRotZ | Double | read/write | Gets or sets the object's online Z rotation, i.e. its rotation in the online (on-air) instance of the scene. inferred |
| OnlineScaleX | Double | read/write | Gets or sets the object's online X scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleY | Double | read/write | Gets or sets the object's online Y scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleZ | Double | read/write | Gets or sets the object's online Z scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| IsPublished | Boolean | read/write | Gets or sets whether the object is published, i.e. exposed as editable template data for take items in the sequencer. inferred |
| PublishedCount | Integer | read-only | Returns the number of published fields of this object. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations on this object. inferred |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred |
| PivotX | Double | read/write | Gets or sets the X position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotY | Double | read/write | Gets or sets the Y position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotZ | Double | read/write | Gets or sets the Z position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| OutputAlpha | Boolean | read/write | Gets or sets whether the object contributes to the output's alpha channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputRed | Boolean | read/write | Gets or sets whether the object contributes to the output's red channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputGreen | Boolean | read/write | Gets or sets whether the object contributes to the output's green channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputBlue | Boolean | read/write | Gets or sets whether the object contributes to the output's blue channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
| TemplateDataColor | TemplateDataColors | read/write | Gets or sets the color tag (TemplateDataColors) with which the object appears in the sequencer's Template Data tab; only applies to published objects. inferred |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
Sets the dynamic material path for the given material face; it only stores the path (applied when the scene is prepared or refreshed, e.g. via RefreshDynamicMaterials). Returns True on success. inferred
Sets the dynamic material "clear on failure" option for the given material face; returns True on success. inferred
Returns the "clear on failure" option of the dynamic material system for the given face. inferred
Gets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Sets the diffuse color of the light from red, green and blue components. inferred
Gets the diffuse color of the light; the red, green and blue components come back in the ByRef parameters. inferred
Sets the ambient color of the light from red, green and blue components. inferred
Gets the ambient color of the light; the red, green and blue components come back in the ByRef parameters. inferred
Sets the specular color of the light from red, green and blue components. inferred
Gets the specular color of the light; the red, green and blue components come back in the ByRef parameters. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets the continuous animation at the given index; the xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the object's parent object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's next sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's previous sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's first child object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the scene that contains this object; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Sets the object's position (X, Y, Z) and rotation (X, Y, Z, in degrees) in a single call. inferred
Creates a new continuous animation on this object; the new xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Makes the given object the parent of this object in the scene tree; returns True on success. inferred
Assigns an image file directly to the given face without a material, via a hidden volatile material that is discarded when a new material is assigned; returns True on success. inferred
Sets the object's X, Y and Z scale in a single call. inferred
Gets the object's X, Y and Z scale in a single call; the values come back in the ByRef parameters. inferred
Sets a TCB-spline keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels and the given tension, continuity and bias; returns True on success. inferred
Channels ValueDescriptionSets the visibility of this object's children; when Recursive is True it also applies to all deeper descendants. inferred
Sets a position keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionFades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels. inferred
Channels ValueDescriptionInterpolation ValueDescriptionDeletes the keyframe at the given time position for the selected channels from the scene's active animation controller. inferred
Channels ValueDescriptionGets the material bound to the given face of the object; it comes back in the ByRef Material parameter and the function returns True on success. inferred
Binds the given material to the specified face of the object; returns True on success. inferred
Enables or disables the continuous animation at the given index; returns True on success. inferred
Unbinds all materials bound to this object. inferred
Sets the object's X, Y and Z position in a single call. inferred
Gets the object's X, Y and Z position in a single call; the values come back in the ByRef parameters. inferred
Sets the object's X, Y and Z rotation (in degrees) in a single call. inferred
Gets the object's X, Y and Z rotation (in degrees) in a single call; the values come back in the ByRef parameters. inferred
The base class of every object in a scene, exposing transform (PosX/PosY/PosZ, RotX/RotY/RotZ, ScaleX/ScaleY/ScaleZ, SetPosXYZ), visibility, Alpha, materials, hierarchy navigation and keyframing. Obtained with Scene.GetObjectByName or Scene.GetObject and cast to the specific type (xpTextObject, xpQuadObject...) when needed; useful members include Visible, GetMaterial/SetMaterial, FadeTo, SetKeyFrame and GetParentScene.
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets and sets the name of the object. |
| Position | IPosition | read-only | The position of the object. |
| Visible | Boolean | read/write | Gets and sets the visibility of the object which determines whether or not this object is rendered in the scene. |
| Scale | IScale | read/write | The scale of this object. |
| Rotation | IRotation | read/write | The rotation of this object. |
| BoundingBox | IBoundingBox | read-only | The bounding coordinates of this object. |
| Alpha | Double | read/write | Gets and sets the alpha value of this object which determines the object's transparency. |
| MaterialCount | Integer | read-only | Returns the number of materials which can be bound to this object. |
| PosY | Double | read/write | Gets and sets the object's Y position. |
| PosX | Double | read/write | Gets and sets the object's X position. |
| PosZ | Double | read/write | Gets and sets the object's Z position. |
| RotX | Double | read/write | Gets and sets the object's X rotation in degrees. |
| RotY | Double | read/write | Gets and sets the object's Y rotation in degrees. |
| RotZ | Double | read/write | Gets and sets the object's Z rotation in degrees. |
| ScaleX | Double | read/write | Gets and sets the object's X axis scale. |
| ScaleY | Double | read/write | Gets and sets the object's Y axis scale. |
| ScaleZ | Double | read/write | Gets and sets the object's Z axis scale. |
| OnlinePosX | Double | read/write | Gets and sets the object's online X position. |
| OnlinePosY | Double | read/write | Gets and sets the object's online Y position. |
| OnlinePosZ | Double | read/write | Gets and sets the object's online Z position. |
| OnlineRotX | Double | read/write | Gets and sets the object's online X rotation. |
| OnlineRotY | Double | read/write | Gets and sets the object's online Y rotation. |
| OnlineRotZ | Double | read/write | Gets and sets the object's online Z rotation. |
| OnlineScaleX | Double | read/write | Gets and sets the object's online X scale. |
| OnlineScaleY | Double | read/write | Gets and sets the object's online Y scale. |
| OnlineScaleZ | Double | read/write | Gets and sets the object's online Z scale. |
| IsPublished | Boolean | read/write | Returns the published state of the object |
| PublishedCount | Integer | read-only | Returns the number of published fields for this object. |
| TypeName | String | read-only | Returns the type of the object as a string. |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations for this object. |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred Remarks obsolete - use Bounding Box instead |
| PivotX | Double | read/write | Gets and sets the object's X pivot position. |
| PivotY | Double | read/write | Gets and sets the object's Y pivot position. |
| PivotZ | Double | read/write | Gets and sets the object's Z pivot position. |
| OutputAlpha | Boolean | read/write | Gets and sets the objects whether the object will affect the output's alpha channel. Remarks This color channel flag will be combined (by AND'ing) with the corresponding alpha flag for the material that is applied to this object. If either is set to FALSE this object will not contribute to the output's alpha channel. |
| OutputRed | Boolean | read/write | Gets and sets the objects whether the object will affect the output's red color channel. Remarks This color channel flag will be combined (by AND'ing) with the corresponding red flag for the material that is applied to this object. If either is set to FALSE this object will not contribute to the output's red channel. |
| OutputGreen | Boolean | read/write | Gets and sets the objects whether the object will affect the output's green color channel. Remarks This color channel flag will be combined (by AND'ing) with the corresponding green flag for the material that is applied to this object. If either is set to FALSE this object will not contribute to the output's green channel. |
| OutputBlue | Boolean | read/write | Gets and sets the objects whether the object will affect the output's blue color channel. Remarks This color channel flag will be combined (by AND'ing) with the corresponding blue flag for the material that is applied to this object. If either is set to FALSE this object will not contribute to the output's blue channel. |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Get/Set whether this object is should be shown or hidden in the template data tab Remarks This only applies if the object is actually published. If the object is not published, this property will have no effect. |
| TemplateDataColor | TemplateDataColors | read/write | Get/Set the color this object should appear in the template data tab in the sequencer Remarks This only applies if the object is published. |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
FaceIndex FaceIndex of the materialPath A reference to a string to fill with the material pathSet the dynamic material path of an object
FaceIndex FaceIndex of the materialPath The value to set in the dynamic material path field for the objectSet the "clear of failure" option for the dynamic material system of an object
FaceIndex FaceIndex of the materialValue Value to set into the fieldReturns the "clear on failure" option of the dynamic material system for the given face. inferred
FaceIndex Index of the material faceGets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets an xpContinuousAnim from the object by index
Index [in] Index of the continuous animation track to retrieveContAnim [out] Reference in which the method will return the continuous animation track requestedGet the parent object of the object.
Get the next sibling object of the object.
Get the previous sibling object of the object.
Get the first child object of the object.
Get the parent scene of the object.
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Set all Position/Rotation values at once
Creates and returns a new xpContinuousAnim object.
ContAnim [out] Object reference in which the method will return the new xpContinuousAnimGets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates and returns a new xpMetadata object.
Set an image onto an object without using a material
Scene.SetOnline 0); in an XPression script write Scene.SetOnline(0).private void button1_Click(object sender, EventArgs e)
{
xpBaseObject obj;
OpenFileDialog openDialog = new OpenFileDialog();
DialogResult ok = openDialog.ShowDialog();
if (ok == System.Windows.Forms.DialogResult.OK)
{
engine.GetSceneByName("Scene1", out scene, false);
scene.GetObjectByName("Quad1", out obj);
obj.SetVolatileTextureFile(0, openDialog.FileName);
}
}Sets the object's scale, all three axis at once.
Gets the object's scale, all three axis at once.
Sets a TCB spline based keyframe on the current active animcontroller of the scene of which this xpBaseObject is part. The keyframe will be set at the object's current position, rotation and scale.
Channels ValueDescriptionRecursively sets the visibility parameter of all of this object's children objects.
Sets a keyframe on the current active animcontroller with the given position of the scene of which this xpBaseObject is part.
Interpolation ValueDescriptionAxis ValueDescriptionSets a keyframe on the current active animcontroller with the given rotation of the scene of which this xpBaseObject is part.
Interpolation ValueDescriptionAxis ValueDescriptionSets a keyframe on the current active animcontroller with the given scale of the scene of which this xpBaseObject is part.
Interpolation ValueDescriptionAxis ValueDescriptionFades the object's alpha value from a start value to an end value within a certain amount of frames.
Fades the object from its current alpha value to the newly given alpha value within the given amount of frames.
Returns an xpMetadata object if the object has metadata available.
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe on the current active animcontroller of the scene of which this xpBaseObject is part. The keyframe will be set at the object's current position, rotation and scale.
Channels ValueDescriptionInterpolation ValueDescriptionDeletes a keyframe from the current active animcontroller of the scene of which this xpBaseObject is part.
Channels ValueDescriptionRetrieves the materials bound to this object which give this object its appearance.
Binds a material to this object which is used to give the object its appearance.
Enables or disables a continous animation track for this object.
Unbinds all bound materials for this object.
Sets the object's position, all three axis at once.
Gets the object's position, all three axis at once.
Sets the object's rotation in degrees, all three axis at once.
Gets the object's rotation in degrees, all three axis at once.
The dimensions (Width, Height, Depth) of an object's bounding volume. Returned by the BoundingBox and OnlineBoundingBox properties of scene objects.
| Name | Type | Description | |
|---|---|---|---|
| Width | Double | read-only | Returns the width (X extent) of the bounding box. inferred |
| Height | Double | read-only | Returns the height (Y extent) of the bounding box. inferred |
| Depth | Double | read-only | Returns the depth (Z extent) of the bounding box. inferred |
A camera in a scene, with FOV, Aspect, NearPlane/FarPlane, lens correction and CCD settings. Get it with Scene.GetActiveCamera or Scene.GetObjectByName and switch cameras with Scene.SetActiveCamera; besides the xpBaseObject transform members it adds UpdateLookAt and SetDirectionObject.
Also includes members of: xpBaseObject
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Position | IPosition | read-only | Returns the object's position as an IPosition interface (X/Y/Z). inferred |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Scale | IScale | read/write | Gets or sets the object's scale as an IScale interface (X/Y/Z). inferred |
| Rotation | IRotation | read/write | Gets or sets the object's rotation as an IRotation interface (X/Y/Z). inferred |
| BoundingBox | IBoundingBox | read-only | Returns the object's bounding box coordinates. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| MaterialCount | Integer | read-only | Returns the number of materials that can be bound to this object. inferred |
| PosY | Double | read/write | Gets or sets the object's Y position. inferred |
| PosX | Double | read/write | Gets or sets the object's X position. inferred |
| PosZ | Double | read/write | Gets or sets the object's Z position. inferred |
| RotX | Double | read/write | Gets or sets the object's X rotation. inferred |
| RotY | Double | read/write | Gets or sets the object's Y rotation. inferred |
| RotZ | Double | read/write | Gets or sets the object's Z rotation. inferred |
| ScaleX | Double | read/write | Gets or sets the object's X scale. inferred |
| ScaleY | Double | read/write | Gets or sets the object's Y scale. inferred |
| ScaleZ | Double | read/write | Gets or sets the object's Z scale. inferred |
| OnlinePosX | Double | read/write | Gets or sets the X position of the object's online (on-air) instance. inferred |
| OnlinePosY | Double | read/write | Gets or sets the Y position of the object's online (on-air) instance. inferred |
| OnlinePosZ | Double | read/write | Gets or sets the Z position of the object's online (on-air) instance. inferred |
| OnlineRotX | Double | read/write | Gets or sets the X rotation of the object's online (on-air) instance. inferred |
| OnlineRotY | Double | read/write | Gets or sets the Y rotation of the object's online (on-air) instance. inferred |
| OnlineRotZ | Double | read/write | Gets or sets the object's online Z rotation, i.e. its rotation in the online (on-air) instance of the scene. inferred |
| OnlineScaleX | Double | read/write | Gets or sets the object's online X scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleY | Double | read/write | Gets or sets the object's online Y scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleZ | Double | read/write | Gets or sets the object's online Z scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| IsPublished | Boolean | read/write | Gets or sets whether the object is published, i.e. exposed as editable template data for take items in the sequencer. inferred |
| PublishedCount | Integer | read-only | Returns the number of published fields of this object. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations on this object. inferred |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred |
| PivotX | Double | read/write | Gets or sets the X position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotY | Double | read/write | Gets or sets the Y position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotZ | Double | read/write | Gets or sets the Z position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| OutputAlpha | Boolean | read/write | Gets or sets whether the object contributes to the output's alpha channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputRed | Boolean | read/write | Gets or sets whether the object contributes to the output's red channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputGreen | Boolean | read/write | Gets or sets whether the object contributes to the output's green channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputBlue | Boolean | read/write | Gets or sets whether the object contributes to the output's blue channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
| TemplateDataColor | TemplateDataColors | read/write | Gets or sets the color tag (TemplateDataColors) with which the object appears in the sequencer's Template Data tab; only applies to published objects. inferred |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
| FOV | Double | read/write | Gets or sets the camera's field of view, measured along the axis selected by FOVOrientation. inferred |
| Aspect | Double | read/write | Gets or sets the camera's aspect ratio. inferred |
| FarPlane | Double | read/write | Gets or sets the distance of the camera's far clipping plane; geometry beyond it is not rendered. inferred |
| NearPlane | Double | read/write | Gets or sets the distance of the camera's near clipping plane; geometry closer than it is not rendered. inferred |
| FOVOrientation | FOVOrientation | read/write | Gets or sets whether the camera's FOV is measured horizontally or vertically (FOVOrientation enum). inferred |
| ShowCrosshair | Boolean | read/write | Gets or sets whether a crosshair is displayed for this camera. inferred |
| UseGlobalCamera | Boolean | read/write | Gets or sets the camera's "use global camera" option, which makes it follow the global camera instead of its own settings. inferred |
| EnableLensCorrection | Boolean | read/write | Gets or sets whether lens distortion correction (configured with UpdateLensCorrection) is applied to this camera. inferred |
| CCDWidth | Double | read/write | Gets or sets the width of the camera's virtual CCD (image sensor); see also SetCCDSize. inferred |
| CCDHeight | Double | read/write | Gets or sets the height of the camera's virtual CCD (image sensor); see also SetCCDSize. inferred |
| Mode | CameraMode | read/write | Gets or sets the camera's operating mode (CameraMode enum). inferred |
Sets the width and height of the camera's virtual CCD in one call; returns True on success. inferred
Aims the camera at the given X, Y, Z target point; returns True on success. inferred
Sets the object that the camera points toward (its direction target); returns True on success. inferred
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
Sets the dynamic material path for the given material face; it only stores the path (applied when the scene is prepared or refreshed, e.g. via RefreshDynamicMaterials). Returns True on success. inferred
Sets the dynamic material "clear on failure" option for the given material face; returns True on success. inferred
Returns the "clear on failure" option of the dynamic material system for the given face. inferred
Gets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Sets the vertical offset of the camera's virtual CCD, shifting the optical center vertically; returns True on success. inferred
Sets the horizontal offset of the camera's virtual CCD, shifting the optical center horizontally; returns True on success. inferred
Gets the camera's horizontal and vertical CCD offsets; the values come back in the ByRef parameters and the function returns True on success. inferred
Sets the camera's horizontal and vertical CCD offsets in one call; returns True on success. inferred
Sets the camera's lens distortion correction coefficients (1st, 2nd and optional 3rd order), used when EnableLensCorrection is True; returns True on success. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets the continuous animation at the given index; the xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the object's parent object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's next sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's previous sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's first child object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the scene that contains this object; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Sets the object's position (X, Y, Z) and rotation (X, Y, Z, in degrees) in a single call. inferred
Creates a new continuous animation on this object; the new xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Makes the given object the parent of this object in the scene tree; returns True on success. inferred
Assigns an image file directly to the given face without a material, via a hidden volatile material that is discarded when a new material is assigned; returns True on success. inferred
Sets the object's X, Y and Z scale in a single call. inferred
Gets the object's X, Y and Z scale in a single call; the values come back in the ByRef parameters. inferred
Sets a TCB-spline keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels and the given tension, continuity and bias; returns True on success. inferred
Channels ValueDescriptionSets the visibility of this object's children; when Recursive is True it also applies to all deeper descendants. inferred
Sets a position keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionFades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels. inferred
Channels ValueDescriptionInterpolation ValueDescriptionDeletes the keyframe at the given time position for the selected channels from the scene's active animation controller. inferred
Channels ValueDescriptionGets the material bound to the given face of the object; it comes back in the ByRef Material parameter and the function returns True on success. inferred
Binds the given material to the specified face of the object; returns True on success. inferred
Enables or disables the continuous animation at the given index; returns True on success. inferred
Unbinds all materials bound to this object. inferred
Sets the object's X, Y and Z position in a single call. inferred
Gets the object's X, Y and Z position in a single call; the values come back in the ByRef parameters. inferred
Sets the object's X, Y and Z rotation (in degrees) in a single call. inferred
Gets the object's X, Y and Z rotation (in degrees) in a single call; the values come back in the ByRef parameters. inferred
A 3D cube/box primitive. Obtained with Scene.GetObjectByName; its dimensions come from Width, Height, Depth (or SetSize) and Tesselation, plus the inherited transform and material members.
Also includes members of: xpTexturedObject, xpBaseObject
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Position | IPosition | read-only | Returns the object's position as an IPosition interface (X/Y/Z). inferred |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Scale | IScale | read/write | Gets or sets the object's scale as an IScale interface (X/Y/Z). inferred |
| Rotation | IRotation | read/write | Gets or sets the object's rotation as an IRotation interface (X/Y/Z). inferred |
| BoundingBox | IBoundingBox | read-only | Returns the object's bounding box coordinates. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| MaterialCount | Integer | read-only | Returns the number of materials that can be bound to this object. inferred |
| PosY | Double | read/write | Gets or sets the object's Y position. inferred |
| PosX | Double | read/write | Gets or sets the object's X position. inferred |
| PosZ | Double | read/write | Gets or sets the object's Z position. inferred |
| RotX | Double | read/write | Gets or sets the object's X rotation. inferred |
| RotY | Double | read/write | Gets or sets the object's Y rotation. inferred |
| RotZ | Double | read/write | Gets or sets the object's Z rotation. inferred |
| ScaleX | Double | read/write | Gets or sets the object's X scale. inferred |
| ScaleY | Double | read/write | Gets or sets the object's Y scale. inferred |
| ScaleZ | Double | read/write | Gets or sets the object's Z scale. inferred |
| OnlinePosX | Double | read/write | Gets or sets the X position of the object's online (on-air) instance. inferred |
| OnlinePosY | Double | read/write | Gets or sets the Y position of the object's online (on-air) instance. inferred |
| OnlinePosZ | Double | read/write | Gets or sets the Z position of the object's online (on-air) instance. inferred |
| OnlineRotX | Double | read/write | Gets or sets the X rotation of the object's online (on-air) instance. inferred |
| OnlineRotY | Double | read/write | Gets or sets the Y rotation of the object's online (on-air) instance. inferred |
| OnlineRotZ | Double | read/write | Gets or sets the object's online Z rotation, i.e. its rotation in the online (on-air) instance of the scene. inferred |
| OnlineScaleX | Double | read/write | Gets or sets the object's online X scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleY | Double | read/write | Gets or sets the object's online Y scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleZ | Double | read/write | Gets or sets the object's online Z scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| IsPublished | Boolean | read/write | Gets or sets whether the object is published, i.e. exposed as editable template data for take items in the sequencer. inferred |
| PublishedCount | Integer | read-only | Returns the number of published fields of this object. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations on this object. inferred |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred |
| PivotX | Double | read/write | Gets or sets the X position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotY | Double | read/write | Gets or sets the Y position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotZ | Double | read/write | Gets or sets the Z position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| OutputAlpha | Boolean | read/write | Gets or sets whether the object contributes to the output's alpha channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputRed | Boolean | read/write | Gets or sets whether the object contributes to the output's red channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputGreen | Boolean | read/write | Gets or sets whether the object contributes to the output's green channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputBlue | Boolean | read/write | Gets or sets whether the object contributes to the output's blue channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
| TemplateDataColor | TemplateDataColors | read/write | Gets or sets the color tag (TemplateDataColors) with which the object appears in the sequencer's Template Data tab; only applies to published objects. inferred |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
| TexturePosX | Double | read/write | Gets or sets the texture's X position (offset). inferred |
| TexturePosY | Double | read/write | Gets or sets the texture's Y position (offset). inferred |
| TextureRot | Double | read/write | Gets or sets the texture's rotation. inferred |
| TextureScaleX | Double | read/write | Gets or sets the texture's X scale. inferred |
| TextureScaleY | Double | read/write | Gets or sets the texture's Y scale. inferred |
| TexturePivotX | Double | read/write | Gets or sets the X coordinate of the texture's pivot point. inferred |
| TexturePivotY | Double | read/write | Gets or sets the Y coordinate of the texture's pivot point. inferred |
| TextureAddressMode | TextureAddressMode | read/write | Gets or sets how texture coordinates outside the 0-1 range are handled (wrap, mirror, clamp, border, mirror once). inferred |
| Width | Single | read/write | Gets or sets the width of the primitive object. inferred |
| Height | Single | read/write | Gets or sets the height of the primitive object. inferred |
| Depth | Single | read/write | Gets or sets the depth of the cube. inferred |
| Tesselation | Integer | read/write | Gets or sets the tessellation (number of mesh subdivisions) used to build the object's geometry; higher values give smoother or more deformable surfaces. inferred |
| CullMode | CullMode | read/write | Gets or sets which faces are culled (not drawn): none, clockwise or counter-clockwise. inferred |
| DepthTest | Boolean | read/write | Gets or sets whether depth testing is applied when the object is rendered. inferred |
Gets the DataLinq configuration for the given index (property or face, depending on the class); it is returned in the ByRef Datalinq parameter and the function returns True on success. inferred
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
Sets the dynamic material path for the given material face; it only stores the path (applied when the scene is prepared or refreshed, e.g. via RefreshDynamicMaterials). Returns True on success. inferred
Sets the dynamic material "clear on failure" option for the given material face; returns True on success. inferred
Returns the "clear on failure" option of the dynamic material system for the given face. inferred
Gets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Sets the cube's width, height and depth in one call; returns True on success. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets the continuous animation at the given index; the xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the object's parent object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's next sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's previous sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's first child object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the scene that contains this object; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Sets the object's position (X, Y, Z) and rotation (X, Y, Z, in degrees) in a single call. inferred
Creates a new continuous animation on this object; the new xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Makes the given object the parent of this object in the scene tree; returns True on success. inferred
Assigns an image file directly to the given face without a material, via a hidden volatile material that is discarded when a new material is assigned; returns True on success. inferred
Sets the object's X, Y and Z scale in a single call. inferred
Gets the object's X, Y and Z scale in a single call; the values come back in the ByRef parameters. inferred
Sets a TCB-spline keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels and the given tension, continuity and bias; returns True on success. inferred
Channels ValueDescriptionSets the visibility of this object's children; when Recursive is True it also applies to all deeper descendants. inferred
Sets a position keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionFades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels. inferred
Channels ValueDescriptionInterpolation ValueDescriptionDeletes the keyframe at the given time position for the selected channels from the scene's active animation controller. inferred
Channels ValueDescriptionGets the material bound to the given face of the object; it comes back in the ByRef Material parameter and the function returns True on success. inferred
Binds the given material to the specified face of the object; returns True on success. inferred
Enables or disables the continuous animation at the given index; returns True on success. inferred
Unbinds all materials bound to this object. inferred
Sets the object's X, Y and Z position in a single call. inferred
Gets the object's X, Y and Z position in a single call; the values come back in the ByRef parameters. inferred
Sets the object's X, Y and Z rotation (in degrees) in a single call. inferred
Gets the object's X, Y and Z rotation (in degrees) in a single call; the values come back in the ByRef parameters. inferred
A 3D cylinder/cone primitive. Obtained with Scene.GetObjectByName; its shape is controlled by Length, Diameter, Diameter2, StartAngle/EndAngle, Endcaps and Tesselation, plus the inherited transform and material members.
Also includes members of: xpTexturedObject, xpBaseObject
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Position | IPosition | read-only | Returns the object's position as an IPosition interface (X/Y/Z). inferred |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Scale | IScale | read/write | Gets or sets the object's scale as an IScale interface (X/Y/Z). inferred |
| Rotation | IRotation | read/write | Gets or sets the object's rotation as an IRotation interface (X/Y/Z). inferred |
| BoundingBox | IBoundingBox | read-only | Returns the object's bounding box coordinates. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| MaterialCount | Integer | read-only | Returns the number of materials that can be bound to this object. inferred |
| PosY | Double | read/write | Gets or sets the object's Y position. inferred |
| PosX | Double | read/write | Gets or sets the object's X position. inferred |
| PosZ | Double | read/write | Gets or sets the object's Z position. inferred |
| RotX | Double | read/write | Gets or sets the object's X rotation. inferred |
| RotY | Double | read/write | Gets or sets the object's Y rotation. inferred |
| RotZ | Double | read/write | Gets or sets the object's Z rotation. inferred |
| ScaleX | Double | read/write | Gets or sets the object's X scale. inferred |
| ScaleY | Double | read/write | Gets or sets the object's Y scale. inferred |
| ScaleZ | Double | read/write | Gets or sets the object's Z scale. inferred |
| OnlinePosX | Double | read/write | Gets or sets the X position of the object's online (on-air) instance. inferred |
| OnlinePosY | Double | read/write | Gets or sets the Y position of the object's online (on-air) instance. inferred |
| OnlinePosZ | Double | read/write | Gets or sets the Z position of the object's online (on-air) instance. inferred |
| OnlineRotX | Double | read/write | Gets or sets the X rotation of the object's online (on-air) instance. inferred |
| OnlineRotY | Double | read/write | Gets or sets the Y rotation of the object's online (on-air) instance. inferred |
| OnlineRotZ | Double | read/write | Gets or sets the object's online Z rotation, i.e. its rotation in the online (on-air) instance of the scene. inferred |
| OnlineScaleX | Double | read/write | Gets or sets the object's online X scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleY | Double | read/write | Gets or sets the object's online Y scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleZ | Double | read/write | Gets or sets the object's online Z scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| IsPublished | Boolean | read/write | Gets or sets whether the object is published, i.e. exposed as editable template data for take items in the sequencer. inferred |
| PublishedCount | Integer | read-only | Returns the number of published fields of this object. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations on this object. inferred |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred |
| PivotX | Double | read/write | Gets or sets the X position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotY | Double | read/write | Gets or sets the Y position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotZ | Double | read/write | Gets or sets the Z position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| OutputAlpha | Boolean | read/write | Gets or sets whether the object contributes to the output's alpha channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputRed | Boolean | read/write | Gets or sets whether the object contributes to the output's red channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputGreen | Boolean | read/write | Gets or sets whether the object contributes to the output's green channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputBlue | Boolean | read/write | Gets or sets whether the object contributes to the output's blue channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
| TemplateDataColor | TemplateDataColors | read/write | Gets or sets the color tag (TemplateDataColors) with which the object appears in the sequencer's Template Data tab; only applies to published objects. inferred |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
| TexturePosX | Double | read/write | Gets or sets the texture's X position (offset). inferred |
| TexturePosY | Double | read/write | Gets or sets the texture's Y position (offset). inferred |
| TextureRot | Double | read/write | Gets or sets the texture's rotation. inferred |
| TextureScaleX | Double | read/write | Gets or sets the texture's X scale. inferred |
| TextureScaleY | Double | read/write | Gets or sets the texture's Y scale. inferred |
| TexturePivotX | Double | read/write | Gets or sets the X coordinate of the texture's pivot point. inferred |
| TexturePivotY | Double | read/write | Gets or sets the Y coordinate of the texture's pivot point. inferred |
| TextureAddressMode | TextureAddressMode | read/write | Gets or sets how texture coordinates outside the 0-1 range are handled (wrap, mirror, clamp, border, mirror once). inferred |
| Length | Single | read/write | Gets or sets the length of the cylinder. inferred |
| Diameter | Single | read/write | Gets or sets the diameter of the object (the sphere, or the first end of the cylinder). inferred |
| Diameter2 | Single | read/write | Gets or sets the diameter of the cylinder's second end (a different value produces a cone or tapered shape). inferred |
| Endcaps | Boolean | read/write | Gets or sets whether the cylinder's ends are closed with caps. inferred |
| Tesselation | Integer | read/write | Gets or sets the tessellation (number of mesh subdivisions) used to build the object's geometry; higher values give smoother or more deformable surfaces. inferred |
| EndAngle | Single | read/write | Gets or sets the angle where the cylinder's circumference ends, allowing partial (open) cylinders. inferred |
| StartAngle | Single | read/write | Gets or sets the angle where the cylinder's circumference starts, allowing partial (open) cylinders. inferred |
| CullMode | CullMode | read/write | Gets or sets which faces are culled (not drawn): none, clockwise or counter-clockwise. inferred |
| DepthWrites | DepthWritesMode | read/write | Gets or sets whether the object writes to the depth buffer (automatic, enabled or disabled). inferred |
| DepthTest | Boolean | read/write | Gets or sets whether depth testing is applied when the object is rendered. inferred |
Sets the cylinder's length and both end diameters in one call; returns True on success. inferred
Gets the DataLinq configuration for the given index (property or face, depending on the class); it is returned in the ByRef Datalinq parameter and the function returns True on success. inferred
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
Sets the dynamic material path for the given material face; it only stores the path (applied when the scene is prepared or refreshed, e.g. via RefreshDynamicMaterials). Returns True on success. inferred
Sets the dynamic material "clear on failure" option for the given material face; returns True on success. inferred
Returns the "clear on failure" option of the dynamic material system for the given face. inferred
Gets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets the continuous animation at the given index; the xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the object's parent object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's next sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's previous sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's first child object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the scene that contains this object; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Sets the object's position (X, Y, Z) and rotation (X, Y, Z, in degrees) in a single call. inferred
Creates a new continuous animation on this object; the new xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Makes the given object the parent of this object in the scene tree; returns True on success. inferred
Assigns an image file directly to the given face without a material, via a hidden volatile material that is discarded when a new material is assigned; returns True on success. inferred
Sets the object's X, Y and Z scale in a single call. inferred
Gets the object's X, Y and Z scale in a single call; the values come back in the ByRef parameters. inferred
Sets a TCB-spline keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels and the given tension, continuity and bias; returns True on success. inferred
Channels ValueDescriptionSets the visibility of this object's children; when Recursive is True it also applies to all deeper descendants. inferred
Sets a position keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionFades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels. inferred
Channels ValueDescriptionInterpolation ValueDescriptionDeletes the keyframe at the given time position for the selected channels from the scene's active animation controller. inferred
Channels ValueDescriptionGets the material bound to the given face of the object; it comes back in the ByRef Material parameter and the function returns True on success. inferred
Binds the given material to the specified face of the object; returns True on success. inferred
Enables or disables the continuous animation at the given index; returns True on success. inferred
Unbinds all materials bound to this object. inferred
Sets the object's X, Y and Z position in a single call. inferred
Gets the object's X, Y and Z position in a single call; the values come back in the ByRef parameters. inferred
Sets the object's X, Y and Z rotation (in degrees) in a single call. inferred
Gets the object's X, Y and Z rotation (in degrees) in a single call; the values come back in the ByRef parameters. inferred
A directional light that illuminates the scene from one direction. Obtained with Scene.GetObjectByName; its direction comes from the object rotation and its colors from SetColorDiffuse/SetColorAmbient/SetColorSpecular.
Also includes members of: xpBaseLightObject, xpBaseObject
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Position | IPosition | read-only | Returns the object's position as an IPosition interface (X/Y/Z). inferred |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Scale | IScale | read/write | Gets or sets the object's scale as an IScale interface (X/Y/Z). inferred |
| Rotation | IRotation | read/write | Gets or sets the object's rotation as an IRotation interface (X/Y/Z). inferred |
| BoundingBox | IBoundingBox | read-only | Returns the object's bounding box coordinates. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| MaterialCount | Integer | read-only | Returns the number of materials that can be bound to this object. inferred |
| PosY | Double | read/write | Gets or sets the object's Y position. inferred |
| PosX | Double | read/write | Gets or sets the object's X position. inferred |
| PosZ | Double | read/write | Gets or sets the object's Z position. inferred |
| RotX | Double | read/write | Gets or sets the object's X rotation. inferred |
| RotY | Double | read/write | Gets or sets the object's Y rotation. inferred |
| RotZ | Double | read/write | Gets or sets the object's Z rotation. inferred |
| ScaleX | Double | read/write | Gets or sets the object's X scale. inferred |
| ScaleY | Double | read/write | Gets or sets the object's Y scale. inferred |
| ScaleZ | Double | read/write | Gets or sets the object's Z scale. inferred |
| OnlinePosX | Double | read/write | Gets or sets the X position of the object's online (on-air) instance. inferred |
| OnlinePosY | Double | read/write | Gets or sets the Y position of the object's online (on-air) instance. inferred |
| OnlinePosZ | Double | read/write | Gets or sets the Z position of the object's online (on-air) instance. inferred |
| OnlineRotX | Double | read/write | Gets or sets the X rotation of the object's online (on-air) instance. inferred |
| OnlineRotY | Double | read/write | Gets or sets the Y rotation of the object's online (on-air) instance. inferred |
| OnlineRotZ | Double | read/write | Gets or sets the object's online Z rotation, i.e. its rotation in the online (on-air) instance of the scene. inferred |
| OnlineScaleX | Double | read/write | Gets or sets the object's online X scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleY | Double | read/write | Gets or sets the object's online Y scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleZ | Double | read/write | Gets or sets the object's online Z scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| IsPublished | Boolean | read/write | Gets or sets whether the object is published, i.e. exposed as editable template data for take items in the sequencer. inferred |
| PublishedCount | Integer | read-only | Returns the number of published fields of this object. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations on this object. inferred |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred |
| PivotX | Double | read/write | Gets or sets the X position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotY | Double | read/write | Gets or sets the Y position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotZ | Double | read/write | Gets or sets the Z position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| OutputAlpha | Boolean | read/write | Gets or sets whether the object contributes to the output's alpha channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputRed | Boolean | read/write | Gets or sets whether the object contributes to the output's red channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputGreen | Boolean | read/write | Gets or sets whether the object contributes to the output's green channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputBlue | Boolean | read/write | Gets or sets whether the object contributes to the output's blue channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
| TemplateDataColor | TemplateDataColors | read/write | Gets or sets the color tag (TemplateDataColors) with which the object appears in the sequencer's Template Data tab; only applies to published objects. inferred |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
Sets the dynamic material path for the given material face; it only stores the path (applied when the scene is prepared or refreshed, e.g. via RefreshDynamicMaterials). Returns True on success. inferred
Sets the dynamic material "clear on failure" option for the given material face; returns True on success. inferred
Returns the "clear on failure" option of the dynamic material system for the given face. inferred
Gets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Sets the diffuse color of the light from red, green and blue components. inferred
Gets the diffuse color of the light; the red, green and blue components come back in the ByRef parameters. inferred
Sets the ambient color of the light from red, green and blue components. inferred
Gets the ambient color of the light; the red, green and blue components come back in the ByRef parameters. inferred
Sets the specular color of the light from red, green and blue components. inferred
Gets the specular color of the light; the red, green and blue components come back in the ByRef parameters. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets the continuous animation at the given index; the xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the object's parent object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's next sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's previous sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's first child object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the scene that contains this object; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Sets the object's position (X, Y, Z) and rotation (X, Y, Z, in degrees) in a single call. inferred
Creates a new continuous animation on this object; the new xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Makes the given object the parent of this object in the scene tree; returns True on success. inferred
Assigns an image file directly to the given face without a material, via a hidden volatile material that is discarded when a new material is assigned; returns True on success. inferred
Sets the object's X, Y and Z scale in a single call. inferred
Gets the object's X, Y and Z scale in a single call; the values come back in the ByRef parameters. inferred
Sets a TCB-spline keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels and the given tension, continuity and bias; returns True on success. inferred
Channels ValueDescriptionSets the visibility of this object's children; when Recursive is True it also applies to all deeper descendants. inferred
Sets a position keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionFades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels. inferred
Channels ValueDescriptionInterpolation ValueDescriptionDeletes the keyframe at the given time position for the selected channels from the scene's active animation controller. inferred
Channels ValueDescriptionGets the material bound to the given face of the object; it comes back in the ByRef Material parameter and the function returns True on success. inferred
Binds the given material to the specified face of the object; returns True on success. inferred
Enables or disables the continuous animation at the given index; returns True on success. inferred
Unbinds all materials bound to this object. inferred
Sets the object's X, Y and Z position in a single call. inferred
Gets the object's X, Y and Z position in a single call; the values come back in the ByRef parameters. inferred
Sets the object's X, Y and Z rotation (in degrees) in a single call. inferred
Gets the object's X, Y and Z rotation (in degrees) in a single call; the values come back in the ByRef parameters. inferred
A single effect in an effect stack, with Name, TypeName, Enabled and Duration. Obtained from xpEffectStack.GetEffect/GetEffectByName; its parameters are accessed through the Properties collection (xpProperties).
| Name | Type | Description | |
|---|---|---|---|
| Properties | xpProperties | read-only | Returns the collection of the effect's parameters as xpProperty items. inferred |
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Enabled | Boolean | read/write | Gets or sets whether this item is enabled. inferred |
| Duration | Integer | read/write | Gets or sets the duration of this item. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
The ordered list of effects applied to a scene or object. Obtained with GetEffectStack on a scene or scene object; use Count, GetEffect, GetEffectByName and EffectExistsByName.
| Name | Type | Description | |
|---|---|---|---|
| Count | Integer | read-only | Returns the number of items in the list or collection. inferred |
Gets the effect at the given index in the stack; the effect comes back in the ByRef Effect parameter and the function returns True on success. inferred
Gets an effect in the stack by name; the effect comes back in the ByRef Effect parameter and the function returns True on success. inferred
Returns True if an effect with the given name exists in the stack. inferred
An event marker object whose OnShow and OnHide events fire when it is shown or hidden, letting scripts react to timing inside a scene. Obtained with Scene.GetObjectByName; otherwise it exposes the standard xpBaseObject members.
Also includes members of: xpBaseObject
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Position | IPosition | read-only | Returns the object's position as an IPosition interface (X/Y/Z). inferred |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Scale | IScale | read/write | Gets or sets the object's scale as an IScale interface (X/Y/Z). inferred |
| Rotation | IRotation | read/write | Gets or sets the object's rotation as an IRotation interface (X/Y/Z). inferred |
| BoundingBox | IBoundingBox | read-only | Returns the object's bounding box coordinates. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| MaterialCount | Integer | read-only | Returns the number of materials that can be bound to this object. inferred |
| PosY | Double | read/write | Gets or sets the object's Y position. inferred |
| PosX | Double | read/write | Gets or sets the object's X position. inferred |
| PosZ | Double | read/write | Gets or sets the object's Z position. inferred |
| RotX | Double | read/write | Gets or sets the object's X rotation. inferred |
| RotY | Double | read/write | Gets or sets the object's Y rotation. inferred |
| RotZ | Double | read/write | Gets or sets the object's Z rotation. inferred |
| ScaleX | Double | read/write | Gets or sets the object's X scale. inferred |
| ScaleY | Double | read/write | Gets or sets the object's Y scale. inferred |
| ScaleZ | Double | read/write | Gets or sets the object's Z scale. inferred |
| OnlinePosX | Double | read/write | Gets or sets the X position of the object's online (on-air) instance. inferred |
| OnlinePosY | Double | read/write | Gets or sets the Y position of the object's online (on-air) instance. inferred |
| OnlinePosZ | Double | read/write | Gets or sets the Z position of the object's online (on-air) instance. inferred |
| OnlineRotX | Double | read/write | Gets or sets the X rotation of the object's online (on-air) instance. inferred |
| OnlineRotY | Double | read/write | Gets or sets the Y rotation of the object's online (on-air) instance. inferred |
| OnlineRotZ | Double | read/write | Gets or sets the object's online Z rotation, i.e. its rotation in the online (on-air) instance of the scene. inferred |
| OnlineScaleX | Double | read/write | Gets or sets the object's online X scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleY | Double | read/write | Gets or sets the object's online Y scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleZ | Double | read/write | Gets or sets the object's online Z scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| IsPublished | Boolean | read/write | Gets or sets whether the object is published, i.e. exposed as editable template data for take items in the sequencer. inferred |
| PublishedCount | Integer | read-only | Returns the number of published fields of this object. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations on this object. inferred |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred |
| PivotX | Double | read/write | Gets or sets the X position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotY | Double | read/write | Gets or sets the Y position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotZ | Double | read/write | Gets or sets the Z position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| OutputAlpha | Boolean | read/write | Gets or sets whether the object contributes to the output's alpha channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputRed | Boolean | read/write | Gets or sets whether the object contributes to the output's red channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputGreen | Boolean | read/write | Gets or sets whether the object contributes to the output's green channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputBlue | Boolean | read/write | Gets or sets whether the object contributes to the output's blue channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
| TemplateDataColor | TemplateDataColors | read/write | Gets or sets the color tag (TemplateDataColors) with which the object appears in the sequencer's Template Data tab; only applies to published objects. inferred |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
Sets the dynamic material path for the given material face; it only stores the path (applied when the scene is prepared or refreshed, e.g. via RefreshDynamicMaterials). Returns True on success. inferred
Sets the dynamic material "clear on failure" option for the given material face; returns True on success. inferred
Returns the "clear on failure" option of the dynamic material system for the given face. inferred
Gets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets the continuous animation at the given index; the xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the object's parent object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's next sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's previous sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's first child object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the scene that contains this object; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Sets the object's position (X, Y, Z) and rotation (X, Y, Z, in degrees) in a single call. inferred
Creates a new continuous animation on this object; the new xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Makes the given object the parent of this object in the scene tree; returns True on success. inferred
Assigns an image file directly to the given face without a material, via a hidden volatile material that is discarded when a new material is assigned; returns True on success. inferred
Sets the object's X, Y and Z scale in a single call. inferred
Gets the object's X, Y and Z scale in a single call; the values come back in the ByRef parameters. inferred
Sets a TCB-spline keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels and the given tension, continuity and bias; returns True on success. inferred
Channels ValueDescriptionSets the visibility of this object's children; when Recursive is True it also applies to all deeper descendants. inferred
Sets a position keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionFades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels. inferred
Channels ValueDescriptionInterpolation ValueDescriptionDeletes the keyframe at the given time position for the selected channels from the scene's active animation controller. inferred
Channels ValueDescriptionGets the material bound to the given face of the object; it comes back in the ByRef Material parameter and the function returns True on success. inferred
Binds the given material to the specified face of the object; returns True on success. inferred
Enables or disables the continuous animation at the given index; returns True on success. inferred
Unbinds all materials bound to this object. inferred
Sets the object's X, Y and Z position in a single call. inferred
Gets the object's X, Y and Z position in a single call; the values come back in the ByRef parameters. inferred
Sets the object's X, Y and Z rotation (in degrees) in a single call. inferred
Gets the object's X, Y and Z rotation (in degrees) in a single call; the values come back in the ByRef parameters. inferred
COM events (for WithEvents/AddHandler in Global Methods; for normal scripting use the script events in section 2).
Callback function that will be called when the Event Marker is Shown
Callback function that will be called when the Event Marker is Hidden
A group (null) object used to parent and transform several child objects together. Obtained with Scene.GetObjectByName; navigate children with GetFirstChild/GetNextSibling, toggle them with SetChildrenVisible, and use FaceCamera/FaceX/FaceY for billboarding.
Also includes members of: xpBaseObject
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Position | IPosition | read-only | Returns the object's position as an IPosition interface (X/Y/Z). inferred |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Scale | IScale | read/write | Gets or sets the object's scale as an IScale interface (X/Y/Z). inferred |
| Rotation | IRotation | read/write | Gets or sets the object's rotation as an IRotation interface (X/Y/Z). inferred |
| BoundingBox | IBoundingBox | read-only | Returns the object's bounding box coordinates. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| MaterialCount | Integer | read-only | Returns the number of materials that can be bound to this object. inferred |
| PosY | Double | read/write | Gets or sets the object's Y position. inferred |
| PosX | Double | read/write | Gets or sets the object's X position. inferred |
| PosZ | Double | read/write | Gets or sets the object's Z position. inferred |
| RotX | Double | read/write | Gets or sets the object's X rotation. inferred |
| RotY | Double | read/write | Gets or sets the object's Y rotation. inferred |
| RotZ | Double | read/write | Gets or sets the object's Z rotation. inferred |
| ScaleX | Double | read/write | Gets or sets the object's X scale. inferred |
| ScaleY | Double | read/write | Gets or sets the object's Y scale. inferred |
| ScaleZ | Double | read/write | Gets or sets the object's Z scale. inferred |
| OnlinePosX | Double | read/write | Gets or sets the X position of the object's online (on-air) instance. inferred |
| OnlinePosY | Double | read/write | Gets or sets the Y position of the object's online (on-air) instance. inferred |
| OnlinePosZ | Double | read/write | Gets or sets the Z position of the object's online (on-air) instance. inferred |
| OnlineRotX | Double | read/write | Gets or sets the X rotation of the object's online (on-air) instance. inferred |
| OnlineRotY | Double | read/write | Gets or sets the Y rotation of the object's online (on-air) instance. inferred |
| OnlineRotZ | Double | read/write | Gets or sets the object's online Z rotation, i.e. its rotation in the online (on-air) instance of the scene. inferred |
| OnlineScaleX | Double | read/write | Gets or sets the object's online X scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleY | Double | read/write | Gets or sets the object's online Y scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleZ | Double | read/write | Gets or sets the object's online Z scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| IsPublished | Boolean | read/write | Gets or sets whether the object is published, i.e. exposed as editable template data for take items in the sequencer. inferred |
| PublishedCount | Integer | read-only | Returns the number of published fields of this object. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations on this object. inferred |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred |
| PivotX | Double | read/write | Gets or sets the X position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotY | Double | read/write | Gets or sets the Y position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotZ | Double | read/write | Gets or sets the Z position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| OutputAlpha | Boolean | read/write | Gets or sets whether the object contributes to the output's alpha channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputRed | Boolean | read/write | Gets or sets whether the object contributes to the output's red channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputGreen | Boolean | read/write | Gets or sets whether the object contributes to the output's green channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputBlue | Boolean | read/write | Gets or sets whether the object contributes to the output's blue channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
| TemplateDataColor | TemplateDataColors | read/write | Gets or sets the color tag (TemplateDataColors) with which the object appears in the sequencer's Template Data tab; only applies to published objects. inferred |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
| FaceCamera | Boolean | read/write | Gets or sets whether the group always turns to face the camera (billboarding). inferred |
| FaceX | Boolean | read/write | Gets or sets whether the face-camera rotation is applied on the X axis. inferred |
| FaceY | Boolean | read/write | Gets or sets whether the face-camera rotation is applied on the Y axis. inferred |
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
Sets the dynamic material path for the given material face; it only stores the path (applied when the scene is prepared or refreshed, e.g. via RefreshDynamicMaterials). Returns True on success. inferred
Sets the dynamic material "clear on failure" option for the given material face; returns True on success. inferred
Returns the "clear on failure" option of the dynamic material system for the given face. inferred
Gets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets the continuous animation at the given index; the xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the object's parent object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's next sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's previous sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's first child object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the scene that contains this object; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Sets the object's position (X, Y, Z) and rotation (X, Y, Z, in degrees) in a single call. inferred
Creates a new continuous animation on this object; the new xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Makes the given object the parent of this object in the scene tree; returns True on success. inferred
Assigns an image file directly to the given face without a material, via a hidden volatile material that is discarded when a new material is assigned; returns True on success. inferred
Sets the object's X, Y and Z scale in a single call. inferred
Gets the object's X, Y and Z scale in a single call; the values come back in the ByRef parameters. inferred
Sets a TCB-spline keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels and the given tension, continuity and bias; returns True on success. inferred
Channels ValueDescriptionSets the visibility of this object's children; when Recursive is True it also applies to all deeper descendants. inferred
Sets a position keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionFades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels. inferred
Channels ValueDescriptionInterpolation ValueDescriptionDeletes the keyframe at the given time position for the selected channels from the scene's active animation controller. inferred
Channels ValueDescriptionGets the material bound to the given face of the object; it comes back in the ByRef Material parameter and the function returns True on success. inferred
Binds the given material to the specified face of the object; returns True on success. inferred
Enables or disables the continuous animation at the given index; returns True on success. inferred
Unbinds all materials bound to this object. inferred
Sets the object's X, Y and Z position in a single call. inferred
Gets the object's X, Y and Z position in a single call; the values come back in the ByRef parameters. inferred
Sets the object's X, Y and Z rotation (in degrees) in a single call. inferred
Gets the object's X, Y and Z rotation (in degrees) in a single call; the values come back in the ByRef parameters. inferred
A lines object that draws one or more point lists as lines, ribbons or tubes, for example for charts and paths. Obtained with Scene.GetObjectByName; build geometry with AddList, SetCurrentList, AddPoint and Clear inside BeginUpdate/EndUpdate, reveal it with SetListPercentage, and load or save lists with LoadFromFile/SaveToFile.
Also includes members of: xpTexturedObject, xpBaseObject
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Position | IPosition | read-only | Returns the object's position as an IPosition interface (X/Y/Z). inferred |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Scale | IScale | read/write | Gets or sets the object's scale as an IScale interface (X/Y/Z). inferred |
| Rotation | IRotation | read/write | Gets or sets the object's rotation as an IRotation interface (X/Y/Z). inferred |
| BoundingBox | IBoundingBox | read-only | Returns the object's bounding box coordinates. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| MaterialCount | Integer | read-only | Returns the number of materials that can be bound to this object. inferred |
| PosY | Double | read/write | Gets or sets the object's Y position. inferred |
| PosX | Double | read/write | Gets or sets the object's X position. inferred |
| PosZ | Double | read/write | Gets or sets the object's Z position. inferred |
| RotX | Double | read/write | Gets or sets the object's X rotation. inferred |
| RotY | Double | read/write | Gets or sets the object's Y rotation. inferred |
| RotZ | Double | read/write | Gets or sets the object's Z rotation. inferred |
| ScaleX | Double | read/write | Gets or sets the object's X scale. inferred |
| ScaleY | Double | read/write | Gets or sets the object's Y scale. inferred |
| ScaleZ | Double | read/write | Gets or sets the object's Z scale. inferred |
| OnlinePosX | Double | read/write | Gets or sets the X position of the object's online (on-air) instance. inferred |
| OnlinePosY | Double | read/write | Gets or sets the Y position of the object's online (on-air) instance. inferred |
| OnlinePosZ | Double | read/write | Gets or sets the Z position of the object's online (on-air) instance. inferred |
| OnlineRotX | Double | read/write | Gets or sets the X rotation of the object's online (on-air) instance. inferred |
| OnlineRotY | Double | read/write | Gets or sets the Y rotation of the object's online (on-air) instance. inferred |
| OnlineRotZ | Double | read/write | Gets or sets the object's online Z rotation, i.e. its rotation in the online (on-air) instance of the scene. inferred |
| OnlineScaleX | Double | read/write | Gets or sets the object's online X scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleY | Double | read/write | Gets or sets the object's online Y scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleZ | Double | read/write | Gets or sets the object's online Z scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| IsPublished | Boolean | read/write | Gets or sets whether the object is published, i.e. exposed as editable template data for take items in the sequencer. inferred |
| PublishedCount | Integer | read-only | Returns the number of published fields of this object. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations on this object. inferred |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred |
| PivotX | Double | read/write | Gets or sets the X position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotY | Double | read/write | Gets or sets the Y position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotZ | Double | read/write | Gets or sets the Z position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| OutputAlpha | Boolean | read/write | Gets or sets whether the object contributes to the output's alpha channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputRed | Boolean | read/write | Gets or sets whether the object contributes to the output's red channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputGreen | Boolean | read/write | Gets or sets whether the object contributes to the output's green channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputBlue | Boolean | read/write | Gets or sets whether the object contributes to the output's blue channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
| TemplateDataColor | TemplateDataColors | read/write | Gets or sets the color tag (TemplateDataColors) with which the object appears in the sequencer's Template Data tab; only applies to published objects. inferred |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
| TexturePosX | Double | read/write | Gets or sets the texture's X position (offset). inferred |
| TexturePosY | Double | read/write | Gets or sets the texture's Y position (offset). inferred |
| TextureRot | Double | read/write | Gets or sets the texture's rotation. inferred |
| TextureScaleX | Double | read/write | Gets or sets the texture's X scale. inferred |
| TextureScaleY | Double | read/write | Gets or sets the texture's Y scale. inferred |
| TexturePivotX | Double | read/write | Gets or sets the X coordinate of the texture's pivot point. inferred |
| TexturePivotY | Double | read/write | Gets or sets the Y coordinate of the texture's pivot point. inferred |
| TextureAddressMode | TextureAddressMode | read/write | Gets or sets how texture coordinates outside the 0-1 range are handled (wrap, mirror, clamp, border, mirror once). inferred |
| ListCount | Integer | read-only | Returns the number of point lists in the lines object. inferred |
| Mode | ListMode | read/write | Gets or sets whether the lines object works in 2D or 3D mode. inferred |
| Tessellation | Integer | read/write | Gets or sets the tessellation (subdivision) level of the lines along their length. inferred |
| RadialTessellation | Integer | read/write | Gets or sets the number of radial subdivisions used when lines are drawn as tubes. inferred |
| Splinar | Boolean | read/write | Gets or sets whether the points are joined by smooth splines instead of straight segments. inferred |
| DepthTest | Boolean | read/write | Gets or sets whether depth testing is applied when the object is rendered. inferred |
Sets the name of the current point list; returns True on success. inferred
Gets the name of the current point list; it comes back in the ByRef Name parameter and the function returns True on success. inferred
Gets how much of the current list is drawn; the percentage comes back in the ByRef Percentage parameter and the function returns True on success. inferred
Sets how much of the current list is drawn (used to reveal or animate the line); returns True on success. inferred
Starts a batch of changes, deferring internal updates until EndUpdate is called, for faster modification. inferred
Ends a batch of changes started with BeginUpdate and applies them. inferred
Removes all points from the current list; returns True on success. inferred
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
Sets the dynamic material path for the given material face; it only stores the path (applied when the scene is prepared or refreshed, e.g. via RefreshDynamicMaterials). Returns True on success. inferred
Sets the dynamic material "clear on failure" option for the given material face; returns True on success. inferred
Returns the "clear on failure" option of the dynamic material system for the given face. inferred
Gets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Adds a new, empty point list to the lines object; returns True on success. inferred
Appends a point (x, y, z, with an optional extra d value) to the current list; returns True on success. inferred
Makes the list at the given index the current list for subsequent list operations; returns True on success. inferred
Clears the object's contents (for example its text lines, points or stored data, depending on the class). inferred
Loads point lists from a file in binary or XML format; returns True on success. inferred
FileType ValueDescriptionSaves the point lists to a file in binary or XML format; returns True on success. inferred
FileType ValueDescriptionSets the color of the current list from alpha, red, green and blue components; returns True on success. inferred
Gets the color of the current list; the alpha, red, green and blue components come back in the ByRef parameters and the function returns True on success. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets the continuous animation at the given index; the xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the object's parent object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's next sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's previous sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's first child object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the scene that contains this object; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Sets the object's position (X, Y, Z) and rotation (X, Y, Z, in degrees) in a single call. inferred
Creates a new continuous animation on this object; the new xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Makes the given object the parent of this object in the scene tree; returns True on success. inferred
Assigns an image file directly to the given face without a material, via a hidden volatile material that is discarded when a new material is assigned; returns True on success. inferred
Sets the object's X, Y and Z scale in a single call. inferred
Gets the object's X, Y and Z scale in a single call; the values come back in the ByRef parameters. inferred
Sets a TCB-spline keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels and the given tension, continuity and bias; returns True on success. inferred
Channels ValueDescriptionSets the visibility of this object's children; when Recursive is True it also applies to all deeper descendants. inferred
Sets a position keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionFades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels. inferred
Channels ValueDescriptionInterpolation ValueDescriptionDeletes the keyframe at the given time position for the selected channels from the scene's active animation controller. inferred
Channels ValueDescriptionGets the material bound to the given face of the object; it comes back in the ByRef Material parameter and the function returns True on success. inferred
Binds the given material to the specified face of the object; returns True on success. inferred
Enables or disables the continuous animation at the given index; returns True on success. inferred
Unbinds all materials bound to this object. inferred
Sets the object's X, Y and Z position in a single call. inferred
Gets the object's X, Y and Z position in a single call; the values come back in the ByRef parameters. inferred
Sets the object's X, Y and Z rotation (in degrees) in a single call. inferred
Gets the object's X, Y and Z rotation (in degrees) in a single call; the values come back in the ByRef parameters. inferred
An omnidirectional point light. Obtained with Scene.GetObjectByName; besides the light color methods it adds Range, Falloff and SetAttenuation/GetAttenuation.
Also includes members of: xpBaseLightObject, xpBaseObject
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Position | IPosition | read-only | Returns the object's position as an IPosition interface (X/Y/Z). inferred |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Scale | IScale | read/write | Gets or sets the object's scale as an IScale interface (X/Y/Z). inferred |
| Rotation | IRotation | read/write | Gets or sets the object's rotation as an IRotation interface (X/Y/Z). inferred |
| BoundingBox | IBoundingBox | read-only | Returns the object's bounding box coordinates. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| MaterialCount | Integer | read-only | Returns the number of materials that can be bound to this object. inferred |
| PosY | Double | read/write | Gets or sets the object's Y position. inferred |
| PosX | Double | read/write | Gets or sets the object's X position. inferred |
| PosZ | Double | read/write | Gets or sets the object's Z position. inferred |
| RotX | Double | read/write | Gets or sets the object's X rotation. inferred |
| RotY | Double | read/write | Gets or sets the object's Y rotation. inferred |
| RotZ | Double | read/write | Gets or sets the object's Z rotation. inferred |
| ScaleX | Double | read/write | Gets or sets the object's X scale. inferred |
| ScaleY | Double | read/write | Gets or sets the object's Y scale. inferred |
| ScaleZ | Double | read/write | Gets or sets the object's Z scale. inferred |
| OnlinePosX | Double | read/write | Gets or sets the X position of the object's online (on-air) instance. inferred |
| OnlinePosY | Double | read/write | Gets or sets the Y position of the object's online (on-air) instance. inferred |
| OnlinePosZ | Double | read/write | Gets or sets the Z position of the object's online (on-air) instance. inferred |
| OnlineRotX | Double | read/write | Gets or sets the X rotation of the object's online (on-air) instance. inferred |
| OnlineRotY | Double | read/write | Gets or sets the Y rotation of the object's online (on-air) instance. inferred |
| OnlineRotZ | Double | read/write | Gets or sets the object's online Z rotation, i.e. its rotation in the online (on-air) instance of the scene. inferred |
| OnlineScaleX | Double | read/write | Gets or sets the object's online X scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleY | Double | read/write | Gets or sets the object's online Y scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleZ | Double | read/write | Gets or sets the object's online Z scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| IsPublished | Boolean | read/write | Gets or sets whether the object is published, i.e. exposed as editable template data for take items in the sequencer. inferred |
| PublishedCount | Integer | read-only | Returns the number of published fields of this object. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations on this object. inferred |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred |
| PivotX | Double | read/write | Gets or sets the X position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotY | Double | read/write | Gets or sets the Y position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotZ | Double | read/write | Gets or sets the Z position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| OutputAlpha | Boolean | read/write | Gets or sets whether the object contributes to the output's alpha channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputRed | Boolean | read/write | Gets or sets whether the object contributes to the output's red channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputGreen | Boolean | read/write | Gets or sets whether the object contributes to the output's green channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputBlue | Boolean | read/write | Gets or sets whether the object contributes to the output's blue channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
| TemplateDataColor | TemplateDataColors | read/write | Gets or sets the color tag (TemplateDataColors) with which the object appears in the sequencer's Template Data tab; only applies to published objects. inferred |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
| Falloff | Double | read/write | Gets or sets the light's falloff, i.e. how its intensity decreases toward the edge of its area of effect. inferred |
| Range | Double | read/write | Gets or sets the maximum distance the light reaches. inferred |
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
Sets the dynamic material path for the given material face; it only stores the path (applied when the scene is prepared or refreshed, e.g. via RefreshDynamicMaterials). Returns True on success. inferred
Sets the dynamic material "clear on failure" option for the given material face; returns True on success. inferred
Returns the "clear on failure" option of the dynamic material system for the given face. inferred
Gets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Sets the diffuse color of the light from red, green and blue components. inferred
Gets the diffuse color of the light; the red, green and blue components come back in the ByRef parameters. inferred
Sets the ambient color of the light from red, green and blue components. inferred
Gets the ambient color of the light; the red, green and blue components come back in the ByRef parameters. inferred
Sets the specular color of the light from red, green and blue components. inferred
Gets the specular color of the light; the red, green and blue components come back in the ByRef parameters. inferred
Sets the constant, linear and quadratic attenuation factors that control how the light weakens with distance. inferred
Gets the light's constant, linear and quadratic attenuation factors through the ByRef parameters. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets the continuous animation at the given index; the xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the object's parent object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's next sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's previous sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's first child object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the scene that contains this object; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Sets the object's position (X, Y, Z) and rotation (X, Y, Z, in degrees) in a single call. inferred
Creates a new continuous animation on this object; the new xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Makes the given object the parent of this object in the scene tree; returns True on success. inferred
Assigns an image file directly to the given face without a material, via a hidden volatile material that is discarded when a new material is assigned; returns True on success. inferred
Sets the object's X, Y and Z scale in a single call. inferred
Gets the object's X, Y and Z scale in a single call; the values come back in the ByRef parameters. inferred
Sets a TCB-spline keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels and the given tension, continuity and bias; returns True on success. inferred
Channels ValueDescriptionSets the visibility of this object's children; when Recursive is True it also applies to all deeper descendants. inferred
Sets a position keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionFades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels. inferred
Channels ValueDescriptionInterpolation ValueDescriptionDeletes the keyframe at the given time position for the selected channels from the scene's active animation controller. inferred
Channels ValueDescriptionGets the material bound to the given face of the object; it comes back in the ByRef Material parameter and the function returns True on success. inferred
Binds the given material to the specified face of the object; returns True on success. inferred
Enables or disables the continuous animation at the given index; returns True on success. inferred
Unbinds all materials bound to this object. inferred
Sets the object's X, Y and Z position in a single call. inferred
Gets the object's X, Y and Z position in a single call; the values come back in the ByRef parameters. inferred
Sets the object's X, Y and Z rotation (in degrees) in a single call. inferred
Gets the object's X, Y and Z rotation (in degrees) in a single call; the values come back in the ByRef parameters. inferred
A flat rectangle (quad), typically used to display images, video or solid colors. Obtained with Scene.GetObjectByName; key members are Width, Height, SetSize, ResizeToMaterial, MaintainAspectRatio, AspectMode, SetMaterial and Datalinq.
Also includes members of: xpTexturedObject, xpBaseObject
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Position | IPosition | read-only | Returns the object's position as an IPosition interface (X/Y/Z). inferred |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Scale | IScale | read/write | Gets or sets the object's scale as an IScale interface (X/Y/Z). inferred |
| Rotation | IRotation | read/write | Gets or sets the object's rotation as an IRotation interface (X/Y/Z). inferred |
| BoundingBox | IBoundingBox | read-only | Returns the object's bounding box coordinates. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| MaterialCount | Integer | read-only | Returns the number of materials that can be bound to this object. inferred |
| PosY | Double | read/write | Gets or sets the object's Y position. inferred |
| PosX | Double | read/write | Gets or sets the object's X position. inferred |
| PosZ | Double | read/write | Gets or sets the object's Z position. inferred |
| RotX | Double | read/write | Gets or sets the object's X rotation. inferred |
| RotY | Double | read/write | Gets or sets the object's Y rotation. inferred |
| RotZ | Double | read/write | Gets or sets the object's Z rotation. inferred |
| ScaleX | Double | read/write | Gets or sets the object's X scale. inferred |
| ScaleY | Double | read/write | Gets or sets the object's Y scale. inferred |
| ScaleZ | Double | read/write | Gets or sets the object's Z scale. inferred |
| OnlinePosX | Double | read/write | Gets or sets the X position of the object's online (on-air) instance. inferred |
| OnlinePosY | Double | read/write | Gets or sets the Y position of the object's online (on-air) instance. inferred |
| OnlinePosZ | Double | read/write | Gets or sets the Z position of the object's online (on-air) instance. inferred |
| OnlineRotX | Double | read/write | Gets or sets the X rotation of the object's online (on-air) instance. inferred |
| OnlineRotY | Double | read/write | Gets or sets the Y rotation of the object's online (on-air) instance. inferred |
| OnlineRotZ | Double | read/write | Gets or sets the object's online Z rotation, i.e. its rotation in the online (on-air) instance of the scene. inferred |
| OnlineScaleX | Double | read/write | Gets or sets the object's online X scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleY | Double | read/write | Gets or sets the object's online Y scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleZ | Double | read/write | Gets or sets the object's online Z scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| IsPublished | Boolean | read/write | Gets or sets whether the object is published, i.e. exposed as editable template data for take items in the sequencer. inferred |
| PublishedCount | Integer | read-only | Returns the number of published fields of this object. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations on this object. inferred |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred |
| PivotX | Double | read/write | Gets or sets the X position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotY | Double | read/write | Gets or sets the Y position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotZ | Double | read/write | Gets or sets the Z position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| OutputAlpha | Boolean | read/write | Gets or sets whether the object contributes to the output's alpha channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputRed | Boolean | read/write | Gets or sets whether the object contributes to the output's red channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputGreen | Boolean | read/write | Gets or sets whether the object contributes to the output's green channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputBlue | Boolean | read/write | Gets or sets whether the object contributes to the output's blue channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
| TemplateDataColor | TemplateDataColors | read/write | Gets or sets the color tag (TemplateDataColors) with which the object appears in the sequencer's Template Data tab; only applies to published objects. inferred |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
| TexturePosX | Double | read/write | Gets or sets the texture's X position (offset). inferred |
| TexturePosY | Double | read/write | Gets or sets the texture's Y position (offset). inferred |
| TextureRot | Double | read/write | Gets or sets the texture's rotation. inferred |
| TextureScaleX | Double | read/write | Gets or sets the texture's X scale. inferred |
| TextureScaleY | Double | read/write | Gets or sets the texture's Y scale. inferred |
| TexturePivotX | Double | read/write | Gets or sets the X coordinate of the texture's pivot point. inferred |
| TexturePivotY | Double | read/write | Gets or sets the Y coordinate of the texture's pivot point. inferred |
| TextureAddressMode | TextureAddressMode | read/write | Gets or sets how texture coordinates outside the 0-1 range are handled (wrap, mirror, clamp, border, mirror once). inferred |
| Width | Single | read/write | Gets or sets the width of the primitive object. inferred |
| Height | Single | read/write | Gets or sets the height of the primitive object. inferred |
| ResizeToMaterial | Boolean | read/write | Gets or sets whether the quad is automatically sized to match its material's texture. inferred |
| Tesselation | Integer | read/write | Gets or sets the tessellation (number of mesh subdivisions) used to build the object's geometry; higher values give smoother or more deformable surfaces. inferred |
| MaintainAspectRatio | Boolean | read/write | Gets or sets whether the quad keeps its aspect ratio when resized. inferred |
| Datalinq | xpDatalinq | read-only | Returns the xpDatalinq object that configures the DataLinq data link for this object. inferred |
| CullMode | CullMode | read/write | Gets or sets which faces are culled (not drawn): none, clockwise or counter-clockwise. inferred |
| DepthWrites | DepthWritesMode | read/write | Gets or sets whether the object writes to the depth buffer (automatic, enabled or disabled). inferred |
| AspectMode | AspectMode | read/write | Gets or sets how the material's texture is fitted to the quad (fit, width, height, crop or fit-crop). inferred |
| DepthTest | Boolean | read/write | Gets or sets whether depth testing is applied when the object is rendered. inferred |
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
Sets the dynamic material path for the given material face; it only stores the path (applied when the scene is prepared or refreshed, e.g. via RefreshDynamicMaterials). Returns True on success. inferred
Sets the dynamic material "clear on failure" option for the given material face; returns True on success. inferred
Returns the "clear on failure" option of the dynamic material system for the given face. inferred
Gets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Sets the quad's width and height in one call; returns True on success. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets the continuous animation at the given index; the xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the object's parent object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's next sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's previous sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's first child object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the scene that contains this object; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Sets the object's position (X, Y, Z) and rotation (X, Y, Z, in degrees) in a single call. inferred
Creates a new continuous animation on this object; the new xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Makes the given object the parent of this object in the scene tree; returns True on success. inferred
Assigns an image file directly to the given face without a material, via a hidden volatile material that is discarded when a new material is assigned; returns True on success. inferred
Sets the object's X, Y and Z scale in a single call. inferred
Gets the object's X, Y and Z scale in a single call; the values come back in the ByRef parameters. inferred
Sets a TCB-spline keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels and the given tension, continuity and bias; returns True on success. inferred
Channels ValueDescriptionSets the visibility of this object's children; when Recursive is True it also applies to all deeper descendants. inferred
Sets a position keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionFades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels. inferred
Channels ValueDescriptionInterpolation ValueDescriptionDeletes the keyframe at the given time position for the selected channels from the scene's active animation controller. inferred
Channels ValueDescriptionGets the material bound to the given face of the object; it comes back in the ByRef Material parameter and the function returns True on success. inferred
Binds the given material to the specified face of the object; returns True on success. inferred
Enables or disables the continuous animation at the given index; returns True on success. inferred
Unbinds all materials bound to this object. inferred
Sets the object's X, Y and Z position in a single call. inferred
Gets the object's X, Y and Z position in a single call; the values come back in the ByRef parameters. inferred
Sets the object's X, Y and Z rotation (in degrees) in a single call. inferred
Gets the object's X, Y and Z rotation (in degrees) in a single call; the values come back in the ByRef parameters. inferred
An extruded slab (a box with optional skew), often used for bars and panels. Obtained with Scene.GetObjectByName; its shape is controlled by Width, Height, Extrusion, Skew and SkewTexture.
Also includes members of: xpTexturedObject, xpBaseObject
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Position | IPosition | read-only | Returns the object's position as an IPosition interface (X/Y/Z). inferred |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Scale | IScale | read/write | Gets or sets the object's scale as an IScale interface (X/Y/Z). inferred |
| Rotation | IRotation | read/write | Gets or sets the object's rotation as an IRotation interface (X/Y/Z). inferred |
| BoundingBox | IBoundingBox | read-only | Returns the object's bounding box coordinates. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| MaterialCount | Integer | read-only | Returns the number of materials that can be bound to this object. inferred |
| PosY | Double | read/write | Gets or sets the object's Y position. inferred |
| PosX | Double | read/write | Gets or sets the object's X position. inferred |
| PosZ | Double | read/write | Gets or sets the object's Z position. inferred |
| RotX | Double | read/write | Gets or sets the object's X rotation. inferred |
| RotY | Double | read/write | Gets or sets the object's Y rotation. inferred |
| RotZ | Double | read/write | Gets or sets the object's Z rotation. inferred |
| ScaleX | Double | read/write | Gets or sets the object's X scale. inferred |
| ScaleY | Double | read/write | Gets or sets the object's Y scale. inferred |
| ScaleZ | Double | read/write | Gets or sets the object's Z scale. inferred |
| OnlinePosX | Double | read/write | Gets or sets the X position of the object's online (on-air) instance. inferred |
| OnlinePosY | Double | read/write | Gets or sets the Y position of the object's online (on-air) instance. inferred |
| OnlinePosZ | Double | read/write | Gets or sets the Z position of the object's online (on-air) instance. inferred |
| OnlineRotX | Double | read/write | Gets or sets the X rotation of the object's online (on-air) instance. inferred |
| OnlineRotY | Double | read/write | Gets or sets the Y rotation of the object's online (on-air) instance. inferred |
| OnlineRotZ | Double | read/write | Gets or sets the object's online Z rotation, i.e. its rotation in the online (on-air) instance of the scene. inferred |
| OnlineScaleX | Double | read/write | Gets or sets the object's online X scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleY | Double | read/write | Gets or sets the object's online Y scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleZ | Double | read/write | Gets or sets the object's online Z scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| IsPublished | Boolean | read/write | Gets or sets whether the object is published, i.e. exposed as editable template data for take items in the sequencer. inferred |
| PublishedCount | Integer | read-only | Returns the number of published fields of this object. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations on this object. inferred |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred |
| PivotX | Double | read/write | Gets or sets the X position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotY | Double | read/write | Gets or sets the Y position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotZ | Double | read/write | Gets or sets the Z position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| OutputAlpha | Boolean | read/write | Gets or sets whether the object contributes to the output's alpha channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputRed | Boolean | read/write | Gets or sets whether the object contributes to the output's red channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputGreen | Boolean | read/write | Gets or sets whether the object contributes to the output's green channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputBlue | Boolean | read/write | Gets or sets whether the object contributes to the output's blue channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
| TemplateDataColor | TemplateDataColors | read/write | Gets or sets the color tag (TemplateDataColors) with which the object appears in the sequencer's Template Data tab; only applies to published objects. inferred |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
| TexturePosX | Double | read/write | Gets or sets the texture's X position (offset). inferred |
| TexturePosY | Double | read/write | Gets or sets the texture's Y position (offset). inferred |
| TextureRot | Double | read/write | Gets or sets the texture's rotation. inferred |
| TextureScaleX | Double | read/write | Gets or sets the texture's X scale. inferred |
| TextureScaleY | Double | read/write | Gets or sets the texture's Y scale. inferred |
| TexturePivotX | Double | read/write | Gets or sets the X coordinate of the texture's pivot point. inferred |
| TexturePivotY | Double | read/write | Gets or sets the Y coordinate of the texture's pivot point. inferred |
| TextureAddressMode | TextureAddressMode | read/write | Gets or sets how texture coordinates outside the 0-1 range are handled (wrap, mirror, clamp, border, mirror once). inferred |
| Width | Single | read/write | Gets or sets the width of the primitive object. inferred |
| Height | Single | read/write | Gets or sets the height of the primitive object. inferred |
| Extrusion | Single | read/write | Gets or sets the extrusion depth of the slab. inferred |
| Skew | Single | read/write | Gets or sets the skew (slant) of the slab. inferred |
| SkewTexture | Boolean | read/write | Gets or sets whether the texture is skewed along with the slab. inferred |
| CullMode | CullMode | read/write | Gets or sets which faces are culled (not drawn): none, clockwise or counter-clockwise. inferred |
| DepthTest | Boolean | read/write | Gets or sets whether depth testing is applied when the object is rendered. inferred |
Gets the DataLinq configuration for the given index (property or face, depending on the class); it is returned in the ByRef Datalinq parameter and the function returns True on success. inferred
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
Sets the dynamic material path for the given material face; it only stores the path (applied when the scene is prepared or refreshed, e.g. via RefreshDynamicMaterials). Returns True on success. inferred
Sets the dynamic material "clear on failure" option for the given material face; returns True on success. inferred
Returns the "clear on failure" option of the dynamic material system for the given face. inferred
Gets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets the continuous animation at the given index; the xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the object's parent object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's next sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's previous sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's first child object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the scene that contains this object; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Sets the object's position (X, Y, Z) and rotation (X, Y, Z, in degrees) in a single call. inferred
Creates a new continuous animation on this object; the new xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Makes the given object the parent of this object in the scene tree; returns True on success. inferred
Assigns an image file directly to the given face without a material, via a hidden volatile material that is discarded when a new material is assigned; returns True on success. inferred
Sets the object's X, Y and Z scale in a single call. inferred
Gets the object's X, Y and Z scale in a single call; the values come back in the ByRef parameters. inferred
Sets a TCB-spline keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels and the given tension, continuity and bias; returns True on success. inferred
Channels ValueDescriptionSets the visibility of this object's children; when Recursive is True it also applies to all deeper descendants. inferred
Sets a position keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionFades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels. inferred
Channels ValueDescriptionInterpolation ValueDescriptionDeletes the keyframe at the given time position for the selected channels from the scene's active animation controller. inferred
Channels ValueDescriptionGets the material bound to the given face of the object; it comes back in the ByRef Material parameter and the function returns True on success. inferred
Binds the given material to the specified face of the object; returns True on success. inferred
Enables or disables the continuous animation at the given index; returns True on success. inferred
Unbinds all materials bound to this object. inferred
Sets the object's X, Y and Z position in a single call. inferred
Gets the object's X, Y and Z position in a single call; the values come back in the ByRef parameters. inferred
Sets the object's X, Y and Z rotation (in degrees) in a single call. inferred
Gets the object's X, Y and Z rotation (in degrees) in a single call; the values come back in the ByRef parameters. inferred
A 3D sphere primitive, optionally partial. Obtained with Scene.GetObjectByName; its shape is controlled by Diameter, Tesselation and HorzStart/HorzEnd/VertStart/VertEnd, plus the inherited transform and material members.
Also includes members of: xpTexturedObject, xpBaseObject
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Position | IPosition | read-only | Returns the object's position as an IPosition interface (X/Y/Z). inferred |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Scale | IScale | read/write | Gets or sets the object's scale as an IScale interface (X/Y/Z). inferred |
| Rotation | IRotation | read/write | Gets or sets the object's rotation as an IRotation interface (X/Y/Z). inferred |
| BoundingBox | IBoundingBox | read-only | Returns the object's bounding box coordinates. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| MaterialCount | Integer | read-only | Returns the number of materials that can be bound to this object. inferred |
| PosY | Double | read/write | Gets or sets the object's Y position. inferred |
| PosX | Double | read/write | Gets or sets the object's X position. inferred |
| PosZ | Double | read/write | Gets or sets the object's Z position. inferred |
| RotX | Double | read/write | Gets or sets the object's X rotation. inferred |
| RotY | Double | read/write | Gets or sets the object's Y rotation. inferred |
| RotZ | Double | read/write | Gets or sets the object's Z rotation. inferred |
| ScaleX | Double | read/write | Gets or sets the object's X scale. inferred |
| ScaleY | Double | read/write | Gets or sets the object's Y scale. inferred |
| ScaleZ | Double | read/write | Gets or sets the object's Z scale. inferred |
| OnlinePosX | Double | read/write | Gets or sets the X position of the object's online (on-air) instance. inferred |
| OnlinePosY | Double | read/write | Gets or sets the Y position of the object's online (on-air) instance. inferred |
| OnlinePosZ | Double | read/write | Gets or sets the Z position of the object's online (on-air) instance. inferred |
| OnlineRotX | Double | read/write | Gets or sets the X rotation of the object's online (on-air) instance. inferred |
| OnlineRotY | Double | read/write | Gets or sets the Y rotation of the object's online (on-air) instance. inferred |
| OnlineRotZ | Double | read/write | Gets or sets the object's online Z rotation, i.e. its rotation in the online (on-air) instance of the scene. inferred |
| OnlineScaleX | Double | read/write | Gets or sets the object's online X scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleY | Double | read/write | Gets or sets the object's online Y scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleZ | Double | read/write | Gets or sets the object's online Z scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| IsPublished | Boolean | read/write | Gets or sets whether the object is published, i.e. exposed as editable template data for take items in the sequencer. inferred |
| PublishedCount | Integer | read-only | Returns the number of published fields of this object. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations on this object. inferred |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred |
| PivotX | Double | read/write | Gets or sets the X position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotY | Double | read/write | Gets or sets the Y position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotZ | Double | read/write | Gets or sets the Z position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| OutputAlpha | Boolean | read/write | Gets or sets whether the object contributes to the output's alpha channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputRed | Boolean | read/write | Gets or sets whether the object contributes to the output's red channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputGreen | Boolean | read/write | Gets or sets whether the object contributes to the output's green channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputBlue | Boolean | read/write | Gets or sets whether the object contributes to the output's blue channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
| TemplateDataColor | TemplateDataColors | read/write | Gets or sets the color tag (TemplateDataColors) with which the object appears in the sequencer's Template Data tab; only applies to published objects. inferred |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
| TexturePosX | Double | read/write | Gets or sets the texture's X position (offset). inferred |
| TexturePosY | Double | read/write | Gets or sets the texture's Y position (offset). inferred |
| TextureRot | Double | read/write | Gets or sets the texture's rotation. inferred |
| TextureScaleX | Double | read/write | Gets or sets the texture's X scale. inferred |
| TextureScaleY | Double | read/write | Gets or sets the texture's Y scale. inferred |
| TexturePivotX | Double | read/write | Gets or sets the X coordinate of the texture's pivot point. inferred |
| TexturePivotY | Double | read/write | Gets or sets the Y coordinate of the texture's pivot point. inferred |
| TextureAddressMode | TextureAddressMode | read/write | Gets or sets how texture coordinates outside the 0-1 range are handled (wrap, mirror, clamp, border, mirror once). inferred |
| Diameter | Single | read/write | Gets or sets the diameter of the object (the sphere, or the first end of the cylinder). inferred |
| Tesselation | Integer | read/write | Gets or sets the tessellation (number of mesh subdivisions) used to build the object's geometry; higher values give smoother or more deformable surfaces. inferred |
| HorzStart | Single | read/write | Gets or sets the start of the sphere's horizontal sweep, allowing partial spheres. inferred |
| HorzEnd | Single | read/write | Gets or sets the end of the sphere's horizontal sweep, allowing partial spheres. inferred |
| VertStart | Single | read/write | Gets or sets the start of the sphere's vertical sweep, allowing partial spheres. inferred |
| VertEnd | Single | read/write | Gets or sets the end of the sphere's vertical sweep, allowing partial spheres. inferred |
| Datalinq | xpDatalinq | read-only | Returns the xpDatalinq object that configures the DataLinq data link for this object. inferred |
| CullMode | CullMode | read/write | Gets or sets which faces are culled (not drawn): none, clockwise or counter-clockwise. inferred |
| DepthTest | Boolean | read/write | Gets or sets whether depth testing is applied when the object is rendered. inferred |
Sets the sphere's diameter; returns True on success. inferred
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
Sets the dynamic material path for the given material face; it only stores the path (applied when the scene is prepared or refreshed, e.g. via RefreshDynamicMaterials). Returns True on success. inferred
Sets the dynamic material "clear on failure" option for the given material face; returns True on success. inferred
Returns the "clear on failure" option of the dynamic material system for the given face. inferred
Gets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets the continuous animation at the given index; the xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the object's parent object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's next sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's previous sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's first child object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the scene that contains this object; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Sets the object's position (X, Y, Z) and rotation (X, Y, Z, in degrees) in a single call. inferred
Creates a new continuous animation on this object; the new xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Makes the given object the parent of this object in the scene tree; returns True on success. inferred
Assigns an image file directly to the given face without a material, via a hidden volatile material that is discarded when a new material is assigned; returns True on success. inferred
Sets the object's X, Y and Z scale in a single call. inferred
Gets the object's X, Y and Z scale in a single call; the values come back in the ByRef parameters. inferred
Sets a TCB-spline keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels and the given tension, continuity and bias; returns True on success. inferred
Channels ValueDescriptionSets the visibility of this object's children; when Recursive is True it also applies to all deeper descendants. inferred
Sets a position keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionFades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels. inferred
Channels ValueDescriptionInterpolation ValueDescriptionDeletes the keyframe at the given time position for the selected channels from the scene's active animation controller. inferred
Channels ValueDescriptionGets the material bound to the given face of the object; it comes back in the ByRef Material parameter and the function returns True on success. inferred
Binds the given material to the specified face of the object; returns True on success. inferred
Enables or disables the continuous animation at the given index; returns True on success. inferred
Unbinds all materials bound to this object. inferred
Sets the object's X, Y and Z position in a single call. inferred
Gets the object's X, Y and Z position in a single call; the values come back in the ByRef parameters. inferred
Sets the object's X, Y and Z rotation (in degrees) in a single call. inferred
Gets the object's X, Y and Z rotation (in degrees) in a single call; the values come back in the ByRef parameters. inferred
A spotlight that emits a cone of light. Obtained with Scene.GetObjectByName; it adds SetConeAngle/GetConeAngle, Range, Falloff and SetAttenuation/GetAttenuation to the light color methods.
Also includes members of: xpBaseLightObject, xpBaseObject
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Position | IPosition | read-only | Returns the object's position as an IPosition interface (X/Y/Z). inferred |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Scale | IScale | read/write | Gets or sets the object's scale as an IScale interface (X/Y/Z). inferred |
| Rotation | IRotation | read/write | Gets or sets the object's rotation as an IRotation interface (X/Y/Z). inferred |
| BoundingBox | IBoundingBox | read-only | Returns the object's bounding box coordinates. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| MaterialCount | Integer | read-only | Returns the number of materials that can be bound to this object. inferred |
| PosY | Double | read/write | Gets or sets the object's Y position. inferred |
| PosX | Double | read/write | Gets or sets the object's X position. inferred |
| PosZ | Double | read/write | Gets or sets the object's Z position. inferred |
| RotX | Double | read/write | Gets or sets the object's X rotation. inferred |
| RotY | Double | read/write | Gets or sets the object's Y rotation. inferred |
| RotZ | Double | read/write | Gets or sets the object's Z rotation. inferred |
| ScaleX | Double | read/write | Gets or sets the object's X scale. inferred |
| ScaleY | Double | read/write | Gets or sets the object's Y scale. inferred |
| ScaleZ | Double | read/write | Gets or sets the object's Z scale. inferred |
| OnlinePosX | Double | read/write | Gets or sets the X position of the object's online (on-air) instance. inferred |
| OnlinePosY | Double | read/write | Gets or sets the Y position of the object's online (on-air) instance. inferred |
| OnlinePosZ | Double | read/write | Gets or sets the Z position of the object's online (on-air) instance. inferred |
| OnlineRotX | Double | read/write | Gets or sets the X rotation of the object's online (on-air) instance. inferred |
| OnlineRotY | Double | read/write | Gets or sets the Y rotation of the object's online (on-air) instance. inferred |
| OnlineRotZ | Double | read/write | Gets or sets the object's online Z rotation, i.e. its rotation in the online (on-air) instance of the scene. inferred |
| OnlineScaleX | Double | read/write | Gets or sets the object's online X scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleY | Double | read/write | Gets or sets the object's online Y scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleZ | Double | read/write | Gets or sets the object's online Z scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| IsPublished | Boolean | read/write | Gets or sets whether the object is published, i.e. exposed as editable template data for take items in the sequencer. inferred |
| PublishedCount | Integer | read-only | Returns the number of published fields of this object. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations on this object. inferred |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred |
| PivotX | Double | read/write | Gets or sets the X position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotY | Double | read/write | Gets or sets the Y position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotZ | Double | read/write | Gets or sets the Z position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| OutputAlpha | Boolean | read/write | Gets or sets whether the object contributes to the output's alpha channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputRed | Boolean | read/write | Gets or sets whether the object contributes to the output's red channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputGreen | Boolean | read/write | Gets or sets whether the object contributes to the output's green channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputBlue | Boolean | read/write | Gets or sets whether the object contributes to the output's blue channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
| TemplateDataColor | TemplateDataColors | read/write | Gets or sets the color tag (TemplateDataColors) with which the object appears in the sequencer's Template Data tab; only applies to published objects. inferred |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
| Falloff | Double | read/write | Gets or sets the light's falloff, i.e. how its intensity decreases toward the edge of its area of effect. inferred |
| Range | Double | read/write | Gets or sets the maximum distance the light reaches. inferred |
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
Sets the dynamic material path for the given material face; it only stores the path (applied when the scene is prepared or refreshed, e.g. via RefreshDynamicMaterials). Returns True on success. inferred
Sets the dynamic material "clear on failure" option for the given material face; returns True on success. inferred
Returns the "clear on failure" option of the dynamic material system for the given face. inferred
Gets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Sets the diffuse color of the light from red, green and blue components. inferred
Gets the diffuse color of the light; the red, green and blue components come back in the ByRef parameters. inferred
Sets the ambient color of the light from red, green and blue components. inferred
Gets the ambient color of the light; the red, green and blue components come back in the ByRef parameters. inferred
Sets the specular color of the light from red, green and blue components. inferred
Gets the specular color of the light; the red, green and blue components come back in the ByRef parameters. inferred
Sets the constant, linear and quadratic attenuation factors that control how the light weakens with distance. inferred
Gets the light's constant, linear and quadratic attenuation factors through the ByRef parameters. inferred
Sets the spot light's inner and outer cone angles. inferred
Gets the spot light's inner and outer cone angles through the ByRef parameters. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets the continuous animation at the given index; the xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the object's parent object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's next sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's previous sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's first child object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the scene that contains this object; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Sets the object's position (X, Y, Z) and rotation (X, Y, Z, in degrees) in a single call. inferred
Creates a new continuous animation on this object; the new xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Makes the given object the parent of this object in the scene tree; returns True on success. inferred
Assigns an image file directly to the given face without a material, via a hidden volatile material that is discarded when a new material is assigned; returns True on success. inferred
Sets the object's X, Y and Z scale in a single call. inferred
Gets the object's X, Y and Z scale in a single call; the values come back in the ByRef parameters. inferred
Sets a TCB-spline keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels and the given tension, continuity and bias; returns True on success. inferred
Channels ValueDescriptionSets the visibility of this object's children; when Recursive is True it also applies to all deeper descendants. inferred
Sets a position keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionFades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels. inferred
Channels ValueDescriptionInterpolation ValueDescriptionDeletes the keyframe at the given time position for the selected channels from the scene's active animation controller. inferred
Channels ValueDescriptionGets the material bound to the given face of the object; it comes back in the ByRef Material parameter and the function returns True on success. inferred
Binds the given material to the specified face of the object; returns True on success. inferred
Enables or disables the continuous animation at the given index; returns True on success. inferred
Unbinds all materials bound to this object. inferred
Sets the object's X, Y and Z position in a single call. inferred
Gets the object's X, Y and Z position in a single call; the values come back in the ByRef parameters. inferred
Sets the object's X, Y and Z rotation (in degrees) in a single call. inferred
Gets the object's X, Y and Z rotation (in degrees) in a single call; the values come back in the ByRef parameters. inferred
A text object, the object most commonly scripted to update on-air text. Obtained with Scene.GetObjectByName and cast to xpTextObject; set Text (or TextWithTags to include font tags), use GetLine/SetLine/AddLine, wrap batch changes in BeginUpdate/EndUpdate, and adjust CurrentFont, WordWrap, AutoScale/AutoSqueeze and Datalinq.
Also includes members of: xpTexturedObject, xpBaseObject
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Position | IPosition | read-only | Returns the object's position as an IPosition interface (X/Y/Z). inferred |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Scale | IScale | read/write | Gets or sets the object's scale as an IScale interface (X/Y/Z). inferred |
| Rotation | IRotation | read/write | Gets or sets the object's rotation as an IRotation interface (X/Y/Z). inferred |
| BoundingBox | IBoundingBox | read-only | Returns the object's bounding box coordinates. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| MaterialCount | Integer | read-only | Returns the number of materials that can be bound to this object. inferred |
| PosY | Double | read/write | Gets or sets the object's Y position. inferred |
| PosX | Double | read/write | Gets or sets the object's X position. inferred |
| PosZ | Double | read/write | Gets or sets the object's Z position. inferred |
| RotX | Double | read/write | Gets or sets the object's X rotation. inferred |
| RotY | Double | read/write | Gets or sets the object's Y rotation. inferred |
| RotZ | Double | read/write | Gets or sets the object's Z rotation. inferred |
| ScaleX | Double | read/write | Gets or sets the object's X scale. inferred |
| ScaleY | Double | read/write | Gets or sets the object's Y scale. inferred |
| ScaleZ | Double | read/write | Gets or sets the object's Z scale. inferred |
| OnlinePosX | Double | read/write | Gets or sets the X position of the object's online (on-air) instance. inferred |
| OnlinePosY | Double | read/write | Gets or sets the Y position of the object's online (on-air) instance. inferred |
| OnlinePosZ | Double | read/write | Gets or sets the Z position of the object's online (on-air) instance. inferred |
| OnlineRotX | Double | read/write | Gets or sets the X rotation of the object's online (on-air) instance. inferred |
| OnlineRotY | Double | read/write | Gets or sets the Y rotation of the object's online (on-air) instance. inferred |
| OnlineRotZ | Double | read/write | Gets or sets the object's online Z rotation, i.e. its rotation in the online (on-air) instance of the scene. inferred |
| OnlineScaleX | Double | read/write | Gets or sets the object's online X scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleY | Double | read/write | Gets or sets the object's online Y scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleZ | Double | read/write | Gets or sets the object's online Z scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| IsPublished | Boolean | read/write | Gets or sets whether the object is published, i.e. exposed as editable template data for take items in the sequencer. inferred |
| PublishedCount | Integer | read-only | Returns the number of published fields of this object. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations on this object. inferred |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred |
| PivotX | Double | read/write | Gets or sets the X position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotY | Double | read/write | Gets or sets the Y position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotZ | Double | read/write | Gets or sets the Z position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| OutputAlpha | Boolean | read/write | Gets or sets whether the object contributes to the output's alpha channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputRed | Boolean | read/write | Gets or sets whether the object contributes to the output's red channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputGreen | Boolean | read/write | Gets or sets whether the object contributes to the output's green channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputBlue | Boolean | read/write | Gets or sets whether the object contributes to the output's blue channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
| TemplateDataColor | TemplateDataColors | read/write | Gets or sets the color tag (TemplateDataColors) with which the object appears in the sequencer's Template Data tab; only applies to published objects. inferred |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
| TexturePosX | Double | read/write | Gets or sets the texture's X position (offset). inferred |
| TexturePosY | Double | read/write | Gets or sets the texture's Y position (offset). inferred |
| TextureRot | Double | read/write | Gets or sets the texture's rotation. inferred |
| TextureScaleX | Double | read/write | Gets or sets the texture's X scale. inferred |
| TextureScaleY | Double | read/write | Gets or sets the texture's Y scale. inferred |
| TexturePivotX | Double | read/write | Gets or sets the X coordinate of the texture's pivot point. inferred |
| TexturePivotY | Double | read/write | Gets or sets the Y coordinate of the texture's pivot point. inferred |
| TextureAddressMode | TextureAddressMode | read/write | Gets or sets how texture coordinates outside the 0-1 range are handled (wrap, mirror, clamp, border, mirror once). inferred |
| Text | String | read/write | Get / Set the text string for a text object |
| LineCount | Integer | read-only | Returns the number of lines in the text object. |
| GetFontAscent | Double | read-only | Returns the ascent (height above the baseline) of the text object's font. inferred |
| GetFontAscentS | Double | read-only | Returns the font ascent multiplied by the object's scale, like the other ...S measurement members. inferred |
| CurrentFont | xpFont | read/write | Gets or sets the font currently used by the text object. inferred |
| TabCount | Integer | read-only | Returns the number of tab stops defined on the text object. inferred |
| AutoSqueeze | Boolean | read/write | Gets or sets whether the text is automatically squeezed to fit within AutoSqueezeWidth. inferred |
| AutoSqueezeMode | AutoSqueezeMode | read/write | Gets or sets whether auto squeeze constrains only the width or both width and height. inferred |
| AutoSqueezeWidth | Double | read/write | Gets or sets the maximum width the text is squeezed to when AutoSqueeze is enabled. inferred |
| RenderOrderPriority | RenderOrderPriority | read/write | Gets or sets the render order priority of the text (normal or text on top). inferred |
| CullMode2D | CullMode | read/write | Gets or sets the face culling mode used when the text is rendered in 2D. inferred |
| CullMode3D | CullMode | read/write | Gets or sets the face culling mode used when the text is rendered in 3D. inferred |
| WordWrap | Boolean | read/write | Gets or sets whether text automatically wraps to new lines at WordWrapWidth. inferred |
| WordWrapWidth | Double | read/write | Gets or sets the width at which text wraps when WordWrap is enabled. inferred |
| AutoScale | Boolean | read/write | Gets or sets whether the text object automatically scales a target object (its first child or its children) to follow the text size. inferred |
| AutoScaleTarget | AutoScaleTarget | read/write | Gets or sets which objects are auto-scaled: the first child or all children. inferred |
| AutoScaleMode | AutoScaleMode | read/write | Gets or sets which dimensions are auto-scaled: width, height, or both. inferred |
| TextWithTags | String | read/write | Get / Set the text string for a text object and include {font tags} Remarks This function allows a new string to be sent to a text object and any {font tags} included in the string will be parsed and handled. A font tag consists of either the Font Number or the Font Name inside of brackets {}. For example, the following string will set the text object to use three different fonts: "{1}This is in font #1...{2}This is in font #2...{RedFont}This is in the font called RedFont..." When retrieving the text string assigned to the text object it may not include the first font tag as that tag may actually represent the font choice for the text object and it would therefore be redundant. |
| Datalinq | xpDatalinq | read-only | Returns the xpDatalinq object that configures the DataLinq data link for this object. inferred |
| TextWithoutTags | String | read/write | Gets or sets the text of the text object without {font tags}. inferred |
Gets the text of the line at the given index including {font tags}; it is returned in the ByRef Text parameter and the function returns True on success. inferred
Ends a batch of changes started with BeginUpdate and applies them. inferred
Returns the width for the text given, multiplied by the scale
Returns the height of the given text multiplied by the object's scale. inferred
Appends a new line of text and returns its index. inferred
Appends text to the end of the line at the given index; returns True on success. inferred
Sets the alignment (left, right, center) of the tab stop at the given index; returns True on success. inferred
Alignment ValueDescriptionSets the position of the tab stop at the given index; returns True on success. inferred
Deletes the tab stop at the given index; returns True on success. inferred
Adds a tab stop with an optional position and alignment and returns its index. inferred
Alignment ValueDescriptionRemoves all tab stops from the text object. inferred
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
Sets the dynamic material path for the given material face; it only stores the path (applied when the scene is prepared or refreshed, e.g. via RefreshDynamicMaterials). Returns True on success. inferred
Sets the dynamic material "clear on failure" option for the given material face; returns True on success. inferred
Returns the "clear on failure" option of the dynamic material system for the given face. inferred
Gets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Returns the width of the given text in the object's current font, without applying the object's scale (see GetTextWidthS). inferred
Returns the height of the given text in the object's current font, without applying the object's scale (see GetTextHeightS). inferred
Gets the text of the line at the given index; it is returned in the ByRef Text parameter and the function returns True on success. inferred
Replaces the text of the line at the given index; returns True on success. inferred
Clears the object's contents (for example its text lines, points or stored data, depending on the class). inferred
Starts a batch of changes, deferring internal updates until EndUpdate is called, for faster modification. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets the continuous animation at the given index; the xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the object's parent object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's next sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's previous sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's first child object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the scene that contains this object; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Sets the object's position (X, Y, Z) and rotation (X, Y, Z, in degrees) in a single call. inferred
Creates a new continuous animation on this object; the new xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Makes the given object the parent of this object in the scene tree; returns True on success. inferred
Assigns an image file directly to the given face without a material, via a hidden volatile material that is discarded when a new material is assigned; returns True on success. inferred
Sets the object's X, Y and Z scale in a single call. inferred
Gets the object's X, Y and Z scale in a single call; the values come back in the ByRef parameters. inferred
Sets a TCB-spline keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels and the given tension, continuity and bias; returns True on success. inferred
Channels ValueDescriptionSets the visibility of this object's children; when Recursive is True it also applies to all deeper descendants. inferred
Sets a position keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionFades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels. inferred
Channels ValueDescriptionInterpolation ValueDescriptionDeletes the keyframe at the given time position for the selected channels from the scene's active animation controller. inferred
Channels ValueDescriptionGets the material bound to the given face of the object; it comes back in the ByRef Material parameter and the function returns True on success. inferred
Binds the given material to the specified face of the object; returns True on success. inferred
Enables or disables the continuous animation at the given index; returns True on success. inferred
Unbinds all materials bound to this object. inferred
Sets the object's X, Y and Z position in a single call. inferred
Gets the object's X, Y and Z position in a single call; the values come back in the ByRef parameters. inferred
Sets the object's X, Y and Z rotation (in degrees) in a single call. inferred
Gets the object's X, Y and Z rotation (in degrees) in a single call; the values come back in the ByRef parameters. inferred
Common base for objects that carry texture-mapping properties (TexturePosX/Y, TextureRot, TextureScaleX/Y, TexturePivotX/Y, TextureAddressMode) on top of the xpBaseObject members. Obtained with Scene.GetObjectByName and useful when you only need to adjust texture placement regardless of the concrete object type.
Also includes members of: xpBaseObject
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Position | IPosition | read-only | Returns the object's position as an IPosition interface (X/Y/Z). inferred |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Scale | IScale | read/write | Gets or sets the object's scale as an IScale interface (X/Y/Z). inferred |
| Rotation | IRotation | read/write | Gets or sets the object's rotation as an IRotation interface (X/Y/Z). inferred |
| BoundingBox | IBoundingBox | read-only | Returns the object's bounding box coordinates. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| MaterialCount | Integer | read-only | Returns the number of materials that can be bound to this object. inferred |
| PosY | Double | read/write | Gets or sets the object's Y position. inferred |
| PosX | Double | read/write | Gets or sets the object's X position. inferred |
| PosZ | Double | read/write | Gets or sets the object's Z position. inferred |
| RotX | Double | read/write | Gets or sets the object's X rotation. inferred |
| RotY | Double | read/write | Gets or sets the object's Y rotation. inferred |
| RotZ | Double | read/write | Gets or sets the object's Z rotation. inferred |
| ScaleX | Double | read/write | Gets or sets the object's X scale. inferred |
| ScaleY | Double | read/write | Gets or sets the object's Y scale. inferred |
| ScaleZ | Double | read/write | Gets or sets the object's Z scale. inferred |
| OnlinePosX | Double | read/write | Gets or sets the X position of the object's online (on-air) instance. inferred |
| OnlinePosY | Double | read/write | Gets or sets the Y position of the object's online (on-air) instance. inferred |
| OnlinePosZ | Double | read/write | Gets or sets the Z position of the object's online (on-air) instance. inferred |
| OnlineRotX | Double | read/write | Gets or sets the X rotation of the object's online (on-air) instance. inferred |
| OnlineRotY | Double | read/write | Gets or sets the Y rotation of the object's online (on-air) instance. inferred |
| OnlineRotZ | Double | read/write | Gets or sets the object's online Z rotation, i.e. its rotation in the online (on-air) instance of the scene. inferred |
| OnlineScaleX | Double | read/write | Gets or sets the object's online X scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleY | Double | read/write | Gets or sets the object's online Y scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleZ | Double | read/write | Gets or sets the object's online Z scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| IsPublished | Boolean | read/write | Gets or sets whether the object is published, i.e. exposed as editable template data for take items in the sequencer. inferred |
| PublishedCount | Integer | read-only | Returns the number of published fields of this object. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations on this object. inferred |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred |
| PivotX | Double | read/write | Gets or sets the X position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotY | Double | read/write | Gets or sets the Y position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotZ | Double | read/write | Gets or sets the Z position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| OutputAlpha | Boolean | read/write | Gets or sets whether the object contributes to the output's alpha channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputRed | Boolean | read/write | Gets or sets whether the object contributes to the output's red channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputGreen | Boolean | read/write | Gets or sets whether the object contributes to the output's green channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputBlue | Boolean | read/write | Gets or sets whether the object contributes to the output's blue channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
| TemplateDataColor | TemplateDataColors | read/write | Gets or sets the color tag (TemplateDataColors) with which the object appears in the sequencer's Template Data tab; only applies to published objects. inferred |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
| TexturePosX | Double | read/write | Gets or sets the texture's X position (offset). inferred |
| TexturePosY | Double | read/write | Gets or sets the texture's Y position (offset). inferred |
| TextureRot | Double | read/write | Gets or sets the texture's rotation. inferred |
| TextureScaleX | Double | read/write | Gets or sets the texture's X scale. inferred |
| TextureScaleY | Double | read/write | Gets or sets the texture's Y scale. inferred |
| TexturePivotX | Double | read/write | Gets or sets the X coordinate of the texture's pivot point. inferred |
| TexturePivotY | Double | read/write | Gets or sets the Y coordinate of the texture's pivot point. inferred |
| TextureAddressMode | TextureAddressMode | read/write | Gets or sets how texture coordinates outside the 0-1 range are handled (wrap, mirror, clamp, border, mirror once). inferred |
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
Sets the dynamic material path for the given material face; it only stores the path (applied when the scene is prepared or refreshed, e.g. via RefreshDynamicMaterials). Returns True on success. inferred
Sets the dynamic material "clear on failure" option for the given material face; returns True on success. inferred
Returns the "clear on failure" option of the dynamic material system for the given face. inferred
Gets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets the continuous animation at the given index; the xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the object's parent object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's next sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's previous sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's first child object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the scene that contains this object; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Sets the object's position (X, Y, Z) and rotation (X, Y, Z, in degrees) in a single call. inferred
Creates a new continuous animation on this object; the new xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Makes the given object the parent of this object in the scene tree; returns True on success. inferred
Assigns an image file directly to the given face without a material, via a hidden volatile material that is discarded when a new material is assigned; returns True on success. inferred
Sets the object's X, Y and Z scale in a single call. inferred
Gets the object's X, Y and Z scale in a single call; the values come back in the ByRef parameters. inferred
Sets a TCB-spline keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels and the given tension, continuity and bias; returns True on success. inferred
Channels ValueDescriptionSets the visibility of this object's children; when Recursive is True it also applies to all deeper descendants. inferred
Sets a position keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionFades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels. inferred
Channels ValueDescriptionInterpolation ValueDescriptionDeletes the keyframe at the given time position for the selected channels from the scene's active animation controller. inferred
Channels ValueDescriptionGets the material bound to the given face of the object; it comes back in the ByRef Material parameter and the function returns True on success. inferred
Binds the given material to the specified face of the object; returns True on success. inferred
Enables or disables the continuous animation at the given index; returns True on success. inferred
Unbinds all materials bound to this object. inferred
Sets the object's X, Y and Z position in a single call. inferred
Gets the object's X, Y and Z position in a single call; the values come back in the ByRef parameters. inferred
Sets the object's X, Y and Z rotation (in degrees) in a single call. inferred
Gets the object's X, Y and Z rotation (in degrees) in a single call; the values come back in the ByRef parameters. inferred
A 3D torus (ring) primitive. Obtained with Scene.GetObjectByName; its shape is controlled by DiameterMain, DiameterTube and Tesselation, plus the inherited transform and material members.
Also includes members of: xpTexturedObject, xpBaseObject
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Position | IPosition | read-only | Returns the object's position as an IPosition interface (X/Y/Z). inferred |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Scale | IScale | read/write | Gets or sets the object's scale as an IScale interface (X/Y/Z). inferred |
| Rotation | IRotation | read/write | Gets or sets the object's rotation as an IRotation interface (X/Y/Z). inferred |
| BoundingBox | IBoundingBox | read-only | Returns the object's bounding box coordinates. inferred |
| Alpha | Double | read/write | Gets or sets the alpha value, which determines transparency. inferred |
| MaterialCount | Integer | read-only | Returns the number of materials that can be bound to this object. inferred |
| PosY | Double | read/write | Gets or sets the object's Y position. inferred |
| PosX | Double | read/write | Gets or sets the object's X position. inferred |
| PosZ | Double | read/write | Gets or sets the object's Z position. inferred |
| RotX | Double | read/write | Gets or sets the object's X rotation. inferred |
| RotY | Double | read/write | Gets or sets the object's Y rotation. inferred |
| RotZ | Double | read/write | Gets or sets the object's Z rotation. inferred |
| ScaleX | Double | read/write | Gets or sets the object's X scale. inferred |
| ScaleY | Double | read/write | Gets or sets the object's Y scale. inferred |
| ScaleZ | Double | read/write | Gets or sets the object's Z scale. inferred |
| OnlinePosX | Double | read/write | Gets or sets the X position of the object's online (on-air) instance. inferred |
| OnlinePosY | Double | read/write | Gets or sets the Y position of the object's online (on-air) instance. inferred |
| OnlinePosZ | Double | read/write | Gets or sets the Z position of the object's online (on-air) instance. inferred |
| OnlineRotX | Double | read/write | Gets or sets the X rotation of the object's online (on-air) instance. inferred |
| OnlineRotY | Double | read/write | Gets or sets the Y rotation of the object's online (on-air) instance. inferred |
| OnlineRotZ | Double | read/write | Gets or sets the object's online Z rotation, i.e. its rotation in the online (on-air) instance of the scene. inferred |
| OnlineScaleX | Double | read/write | Gets or sets the object's online X scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleY | Double | read/write | Gets or sets the object's online Y scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| OnlineScaleZ | Double | read/write | Gets or sets the object's online Z scale, i.e. its scale in the online (on-air) instance of the scene. inferred |
| IsPublished | Boolean | read/write | Gets or sets whether the object is published, i.e. exposed as editable template data for take items in the sequencer. inferred |
| PublishedCount | Integer | read-only | Returns the number of published fields of this object. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| ContinuousAnimCount | Integer | read-only | Returns the number of continuous animations on this object. inferred |
| OnlineBoundingBox | xpBoundingBox | read-only | Returns the bounding box of the object's online (on-air) instance. inferred |
| PivotX | Double | read/write | Gets or sets the X position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotY | Double | read/write | Gets or sets the Y position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| PivotZ | Double | read/write | Gets or sets the Z position of the object's pivot point, the origin used for its rotation and scaling. inferred |
| OutputAlpha | Boolean | read/write | Gets or sets whether the object contributes to the output's alpha channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputRed | Boolean | read/write | Gets or sets whether the object contributes to the output's red channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputGreen | Boolean | read/write | Gets or sets whether the object contributes to the output's green channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| OutputBlue | Boolean | read/write | Gets or sets whether the object contributes to the output's blue channel; this flag is AND-ed with the corresponding flag of the object's material. inferred |
| RotationMode | RotationMode | read/write | Gets or sets whether rotation is applied in local or world space. inferred |
| RotationOrder | RotationOrder | read/write | Gets or sets the order in which the X, Y and Z rotations are applied. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
| TemplateDataColor | TemplateDataColors | read/write | Gets or sets the color tag (TemplateDataColors) with which the object appears in the sequencer's Template Data tab; only applies to published objects. inferred |
| FaceCount | Integer | read-only | Returns the number of faces (material slots) of the object. inferred |
| TexturePosX | Double | read/write | Gets or sets the texture's X position (offset). inferred |
| TexturePosY | Double | read/write | Gets or sets the texture's Y position (offset). inferred |
| TextureRot | Double | read/write | Gets or sets the texture's rotation. inferred |
| TextureScaleX | Double | read/write | Gets or sets the texture's X scale. inferred |
| TextureScaleY | Double | read/write | Gets or sets the texture's Y scale. inferred |
| TexturePivotX | Double | read/write | Gets or sets the X coordinate of the texture's pivot point. inferred |
| TexturePivotY | Double | read/write | Gets or sets the Y coordinate of the texture's pivot point. inferred |
| TextureAddressMode | TextureAddressMode | read/write | Gets or sets how texture coordinates outside the 0-1 range are handled (wrap, mirror, clamp, border, mirror once). inferred |
| DiameterTube | Single | read/write | Gets or sets the diameter of the torus tube (its thickness). inferred |
| DiameterMain | Single | read/write | Gets or sets the main (overall ring) diameter of the torus. inferred |
| Tesselation | Integer | read/write | Gets or sets the tessellation (number of mesh subdivisions) used to build the object's geometry; higher values give smoother or more deformable surfaces. inferred |
| Datalinq | xpDatalinq | read-only | Returns the xpDatalinq object that configures the DataLinq data link for this object. inferred |
| CullMode | CullMode | read/write | Gets or sets which faces are culled (not drawn): none, clockwise or counter-clockwise. inferred |
| DepthTest | Boolean | read/write | Gets or sets whether depth testing is applied when the object is rendered. inferred |
Sets the object's X/Y/Z scale and X/Y/Z rotation in a single call. inferred
Gets the dynamic material path for the given face; the path comes back in Path and the function returns True on success. inferred
Sets the dynamic material path for the given material face; it only stores the path (applied when the scene is prepared or refreshed, e.g. via RefreshDynamicMaterials). Returns True on success. inferred
Sets the dynamic material "clear on failure" option for the given material face; returns True on success. inferred
Returns the "clear on failure" option of the dynamic material system for the given face. inferred
Gets the object's bounding rectangle in screen space; the edges come back in left/top/right/bottom and the function returns True on success. inferred
Sets the torus tube diameter and main diameter in one call; returns True on success. inferred
Gets the type and description of the object's property at the given index; they come back in PropType/PropDesc and the function returns True on success. inferred
Gets the continuous animation at the given index; the xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the object's parent object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's next sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's previous sibling in the scene tree; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the object's first child object; it comes back in the ByRef BaseObject parameter and the function returns True on success. inferred
Gets the scene that contains this object; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Gets the object's position in screen coordinates; it comes back in x/y and the function returns True on success. inferred
Sets the object's position (X, Y, Z) and rotation (X, Y, Z, in degrees) in a single call. inferred
Creates a new continuous animation on this object; the new xpContinuousAnim comes back in the ByRef ContAnim parameter and the function returns True on success. inferred
Gets the effect stack attached to this object; it comes back in EffectStack and the function returns True on success. inferred
Creates a new metadata object for this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True on success. inferred
Makes the given object the parent of this object in the scene tree; returns True on success. inferred
Assigns an image file directly to the given face without a material, via a hidden volatile material that is discarded when a new material is assigned; returns True on success. inferred
Sets the object's X, Y and Z scale in a single call. inferred
Gets the object's X, Y and Z scale in a single call; the values come back in the ByRef parameters. inferred
Sets a TCB-spline keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels and the given tension, continuity and bias; returns True on success. inferred
Channels ValueDescriptionSets the visibility of this object's children; when Recursive is True it also applies to all deeper descendants. inferred
Sets a position keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe with the given X, Y, Z values at the given time on the scene's active animation controller, with optional interpolation and axis selection; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionFades the alpha of the object or scene from FromAlpha to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Fades the alpha of the object or scene from its current value to ToAlpha (0-100) over Duration frames, optionally delayed by Offset frames and blocking until done when WaitFor is True; returns True on success. inferred
Gets the metadata attached to this object or scene; the xpMetadata comes back in the ByRef Metadata parameter and the function returns True when metadata is available. inferred
Gets the world-space position of the object's online (on-air) instance into the ByRef x/y/z parameters. inferred
Sets a keyframe at the given time on the scene's active animation controller, using the object's current position, rotation and scale for the selected channels. inferred
Channels ValueDescriptionInterpolation ValueDescriptionDeletes the keyframe at the given time position for the selected channels from the scene's active animation controller. inferred
Channels ValueDescriptionGets the material bound to the given face of the object; it comes back in the ByRef Material parameter and the function returns True on success. inferred
Binds the given material to the specified face of the object; returns True on success. inferred
Enables or disables the continuous animation at the given index; returns True on success. inferred
Unbinds all materials bound to this object. inferred
Sets the object's X, Y and Z position in a single call. inferred
Gets the object's X, Y and Z position in a single call; the values come back in the ByRef parameters. inferred
Sets the object's X, Y and Z rotation (in degrees) in a single call. inferred
Gets the object's X, Y and Z rotation (in degrees) in a single call; the values come back in the ByRef parameters. inferred
Base class of all shaders inside a material (texture, video, live source, render view, API texture), exposing the file source, texture mapping, color/alpha blending and stage settings. Obtained with xpMaterial.GetShader or GetShaderByName and cast to the specific shader type when needed; common members are FileName, SetFileName, ReloadFile, Enabled and TypeName.
| Name | Type | Description | |
|---|---|---|---|
| UID | Integer | read-only | Returns the shader's unique identifier. inferred |
| Name | String | read/write | Get/Set the shader name |
| TypeName | String | read-only | Return a string representing the type of the shader Remarks Can be used to determine if a shader is a Video Shader, Texture2D shader, Renderview, etc. |
| FileName | String | read/write | Return the filename used by the shader Remarks Can be used to determine which texture or video file a shader is using |
| Width | Integer | read-only | Gets the shader's width |
| Height | Integer | read-only | Gets the shader's height |
| ColorMixValue | Double | read/write | Gets or sets the mix value used when blending this shader stage's color with the previous stage. inferred |
| ColorBlendMode | ColorBlendMode | read/write | Gets or sets how this shader stage's color is combined with the previous stage (multiply, add, subtract, mix, etc.). inferred |
| Enabled | Boolean | read/write | Gets or sets whether this item is enabled. inferred |
| TexturePosX | Double | read/write | Gets or sets the texture's X position (offset). inferred |
| TexturePosY | Double | read/write | Gets or sets the texture's Y position (offset). inferred |
| TextureRot | Double | read/write | Gets or sets the texture's rotation. inferred |
| TextureScaleX | Double | read/write | Gets or sets the texture's X scale. inferred |
| TextureScaleY | Double | read/write | Gets or sets the texture's Y scale. inferred |
| TexturePivotX | Double | read/write | Gets or sets the X coordinate of the texture's pivot point. inferred |
| TexturePivotY | Double | read/write | Gets or sets the Y coordinate of the texture's pivot point. inferred |
| TextureAddressModeU | TextureAddressMode | read/write | Gets or sets the texture addressing mode (wrap, mirror, clamp, border...) along the U axis. inferred |
| TextureAddressModeV | TextureAddressMode | read/write | Gets or sets the texture addressing mode (wrap, mirror, clamp, border...) along the V axis. inferred |
| AlphaBlendMode | AlphaBlendingMode | read/write | Gets or sets how this shader stage's alpha is combined with the previous stage. inferred |
| AlphaMixValue | Double | read/write | Gets or sets the mix value used when blending this shader stage's alpha with the previous stage. inferred |
| ColorSaturate | Boolean | read/write | Gets or sets whether the color result of this shader stage is saturated (clamped). inferred |
| AlphaSaturate | Boolean | read/write | Gets or sets whether the alpha result of this shader stage is saturated (clamped). inferred |
| ColorPreviousStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to the previous stage's color input. inferred |
| ColorCurrentStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to this stage's color input. inferred |
| AlphaPreviousStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to the previous stage's alpha input. inferred |
| AlphaCurrentStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to this stage's alpha input. inferred |
Set the shader to use a different file for its source
FileName [in] the file which the shader should loadForce the shader to reload the texture file from disk
Set the shader to use a different source scene
Scene [in] reference to the xpScene which should be used by the shaderInternal/advanced: passes a native handle value to the shader; meaning depends on the shader type (not applicable to video shaders). Returns True on success. inferred
Set the volume level for a LiveSource shader
Channels ValueDescriptionGets the audio volume level of the given channel; it comes back in Level and the function returns True on success. inferred
The chroma keyer parameters of a live source shader: key color, angle, edge, clip, alpha soften/sharpen, suppression and luma clip settings. Obtained from xpLiveSourceShader.ChromaKeyerSettings.
| Name | Type | Description | |
|---|---|---|---|
| KeyColorRGB | Integer | read/write | Gets or sets the chroma key color as a packed RGB integer. inferred |
| MaxAngle | Double | read/write | Gets or sets the chroma keyer's maximum hue angle around the key color that is keyed out. inferred |
| EdgeWidth | Double | read/write | Gets or sets the width of the keyer's edge (transition) region. inferred |
| ForegroundClip | Double | read/write | Gets or sets the foreground clip level of the chroma keyer. inferred |
| EdgeHardness | Double | read/write | Gets or sets the hardness of the key edge. inferred |
| AlphaSoften | Double | read/write | Gets or sets the amount of softening applied to the key alpha. inferred |
| AlphaSharpen | Double | read/write | Gets or sets the amount of sharpening applied to the key alpha. inferred |
| AlphaSharpenRange | Double | read/write | Gets or sets the range over which alpha sharpening is applied. inferred |
| SuppressionRange | Double | read/write | Gets or sets the range of the color (spill) suppression. inferred |
| SuppressionDesaturation | Double | read/write | Gets or sets how much suppressed (spill) areas are desaturated. inferred |
| LumaClipLow | Double | read/write | Gets or sets the low luminance clip level of the keyer. inferred |
| LumaClipHigh | Double | read/write | Gets or sets the high luminance clip level of the keyer. inferred |
| LumaClipSoftness | Double | read/write | Gets or sets the softness of the luminance clip. inferred |
A font style from the project font manager (face, size, weight, spacing, shadow and attribute layers). Get it with Engine.GetFontByName, Project.GetFontByName or the CurrentFont property of a text object; key members are Size, SetFaceName, Kerning, Leading, ShadowStyle and GetLayerAttrib.
| Name | Type | Description | |
|---|---|---|---|
| Size | Integer | read/write | Get/Set the size value |
| Name | String | read/write | Returns the name of the xpFont object |
| Width | Integer | read/write | Get/Set the width value |
| Slant | Integer | read/write | Get/Set the slant value |
| Weight | Integer | read/write | Get/Set the weight value |
| Leading | Double | read/write | Get/Set the leading value Remarks Leading represents the vertical spacing between lines of text |
| Kerning | Integer | read/write | Get/Set the kerning value |
| Spacing | Double | read/write | Get/Set the spacing value |
| SmallCaps | Integer | read/write | Get/Set the smallcaps value |
| MonoSpaceNumbers | Boolean | read/write | Get/Set the monospace property for numbers |
| MonoSpace | Boolean | read/write | Get/Set the monospace property |
| ShadowStyle | ShadowStyle | read/write | Get/Set the shadow style |
Set the name of the font face
Name [in] the face name to use for the fontScene.SetOnline 0); in an XPression script write Scene.SetOnline(0).Dim fontobj As xpFont
engine.GetFontByName("Font1", fontobj)
fontobj.SetFaceName("Arial")
fontobj.Size = 50Retrieve the current face name of a font
Retrieve a font attribute layer by index
Index [in] index of the font attribute layerxpFontLayerAttrib [out] Object reference in which the method will return the xpLayerAttrib object if successful.Retrieve a font attribute layer by name
Name [in] the name of the layer to retrieve. The following layer names can be specified "Face", "Border", "Neon", "Stroke", "Shadow"xpFontLayerAttrib [out] Object reference in which the method will return the xpLayerAttrib object if successful.Scene.SetOnline 0); in an XPression script write Scene.SetOnline(0).Dim layer As xpFontLayerAttrib
Dim fontobj As xpFont
engine.GetFontByName("Font1", fontobj)
' Get the border and set its size/color
' Instead of GetLayerAttribByName you could use fontobj.GetLayerAttrib(1,layer) to get it by index
fontobj.GetLayerAttribByName("Border", layer)
layer.Enabled = True
layer.Size = 5Reset all the parameters of the font back to their defaults
Sets the font's style name (e.g. a face style such as Bold or Italic); returns True on success. inferred
Returns the font's style name. inferred
An attribute layer of a font (such as face, outline or shadow) with its own offset, size and material. Obtained with xpFont.GetLayerAttrib or GetLayerAttribByName; use Enabled, OffsetX/OffsetY, Size and GetMaterial.
| Name | Type | Description | |
|---|---|---|---|
| OffsetX | Double | read/write | Gets and sets the OffsetX value of a layer Remarks This property is only used by Shadow attribute layers. |
| OffsetY | Double | read/write | Gets and sets the OffsetY value of a layer Remarks This property is only used by Shadow attribute layers. |
| Enabled | Boolean | read/write | Enables or Disables the attribute layer Remarks This property is used to enable or display the layer. Depending on which attribute layer is being referenced, this may enable a Shadow, or Stroke, or Border, etc. |
| Size | Double | read/write | Gets and sets the size value of a layer Remarks This can be used to adjust the border/stroke/neon/shadow size. |
Retrieves the material used by an attribute layer.
Material [out] Object reference in which the method will return the xpMaterial object if successful.Scene.SetOnline 0); in an XPression script write Scene.SetOnline(0).' Get the Stroke and set its size/color
fontobj.GetLayerAttribByName("Stroke", layer)
layer.Enabled = True
layer.Size = 2
layer.GetMaterial(material)
color = material.ColorDiffuse
color.R = 180
color.G = 60
color.B = 60A shader that displays a live video input. Obtained with Material.GetShaderByName and cast; choose the input with SetInputByIndex, control it with Play/Pause, read timecode with GetTimeCode, and use ChromaKeyerActive/ChromaKeyerSettings for keying.
Also includes members of: xpBaseShader
| Name | Type | Description | |
|---|---|---|---|
| UID | Integer | read-only | Returns the shader's unique identifier. inferred |
| Name | String | read/write | Gets or sets the name of this item. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| FileName | String | read/write | Gets or sets the file name/path associated with the object (the media file loaded by a shader, or the output file of a record line). inferred |
| Width | Integer | read-only | Returns the width of the scene, or of the shader's source/texture. inferred |
| Height | Integer | read-only | Returns the height of the scene, or of the shader's source/texture. inferred |
| ColorMixValue | Double | read/write | Gets or sets the mix value used when blending this shader stage's color with the previous stage. inferred |
| ColorBlendMode | ColorBlendMode | read/write | Gets or sets how this shader stage's color is combined with the previous stage (multiply, add, subtract, mix, etc.). inferred |
| Enabled | Boolean | read/write | Gets or sets whether this item is enabled. inferred |
| TexturePosX | Double | read/write | Gets or sets the texture's X position (offset). inferred |
| TexturePosY | Double | read/write | Gets or sets the texture's Y position (offset). inferred |
| TextureRot | Double | read/write | Gets or sets the texture's rotation. inferred |
| TextureScaleX | Double | read/write | Gets or sets the texture's X scale. inferred |
| TextureScaleY | Double | read/write | Gets or sets the texture's Y scale. inferred |
| TexturePivotX | Double | read/write | Gets or sets the X coordinate of the texture's pivot point. inferred |
| TexturePivotY | Double | read/write | Gets or sets the Y coordinate of the texture's pivot point. inferred |
| TextureAddressModeU | TextureAddressMode | read/write | Gets or sets the texture addressing mode (wrap, mirror, clamp, border...) along the U axis. inferred |
| TextureAddressModeV | TextureAddressMode | read/write | Gets or sets the texture addressing mode (wrap, mirror, clamp, border...) along the V axis. inferred |
| AlphaBlendMode | AlphaBlendingMode | read/write | Gets or sets how this shader stage's alpha is combined with the previous stage. inferred |
| AlphaMixValue | Double | read/write | Gets or sets the mix value used when blending this shader stage's alpha with the previous stage. inferred |
| ColorSaturate | Boolean | read/write | Gets or sets whether the color result of this shader stage is saturated (clamped). inferred |
| AlphaSaturate | Boolean | read/write | Gets or sets whether the alpha result of this shader stage is saturated (clamped). inferred |
| ColorPreviousStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to the previous stage's color input. inferred |
| ColorCurrentStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to this stage's color input. inferred |
| AlphaPreviousStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to the previous stage's alpha input. inferred |
| AlphaCurrentStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to this stage's alpha input. inferred |
| ChromaKeyerActive | Boolean | read/write | Gets and sets the active state of the chroma keyer. (Activation may require additional licenses) |
| ChromaKeyerSettings | xpChromaKeyerSettings | read-only | Returns the xpChromaKeyerSettings object used to configure the shader's chroma keyer. inferred |
| GetInputIndex | Integer | read-only | Returns the index of the live input currently selected for the shader (see SetInputByIndex). inferred |
Selects the live video input the shader displays by its index; returns True on success. inferred
Pauses playback; returns True on success. inferred
Starts or resumes the live source (counterpart of Pause); returns True on success. inferred
Retrieve the timecode from the frame currently being shown by the live source shader
RP188 Encoded RP188 timecode valueScene.SetOnline 0); in an XPression script write Scene.SetOnline(0).public static void DecodeRP188(UInt32 TimeCode, out UInt32 Frames, out UInt32 Seconds, out UInt32 Minutes, out UInt32 Hours, out Boolean DropFrame, out Boolean SecondField)
{
Frames = (TimeCode & 0xF) + (10 * ((TimeCode & 0x30) >> 4));
Seconds = ((TimeCode & 0x3C0) >> 6) + (10 * ((TimeCode & 0x1C00) >> 10));
Minutes = ((TimeCode & 0x1E000) >> 13) + (10 * ((TimeCode & 0xE0000) >> 17));
Hours = ((TimeCode & 0xF00000) >> 20) + (10 * ((TimeCode & 0x3000000) >> 24));
DropFrame = (TimeCode & 0x4000000) > 0;
SecondField = (TimeCode & 0x8000000) > 0;
}Extended version of GetTimeCode: the RP188 timecode of the frame currently shown, plus its binary group flags and values, come back in the ByRef parameters; returns True on success. inferred
Sets the file the shader loads its content from; returns True on success. inferred
Reloads the shader's current file from disk; returns True on success. inferred
Assigns an xpScene to the shader (e.g. as the scene it uses as its source); returns True on success. inferred
Internal/advanced: passes a native handle value to the shader; meaning depends on the shader type (not applicable to video shaders). Returns True on success. inferred
Sets the audio volume level for the given channel(s) (a single channel or all); returns True on success. inferred
Channels ValueDescriptionGets the audio volume level of the given channel; it comes back in Level and the function returns True on success. inferred
A material from the project library that defines an object's appearance through layers of shaders, colors and alpha. Get it with Engine.GetMaterialByName, Project.GetMaterialByName, Engine.CreateMaterial or GetMaterial on a scene object; key members include GetShader/GetShaderByName, AddShader, GetLayer, Alpha, ColorDiffuse and playback control (Play, Stop, Pause, SeekTo) for animated or video materials.
| Name | Type | Description | |
|---|---|---|---|
| Alpha | Double | read/write | Get/Set the alpha value of the material Remarks Range [0-100] |
| ColorDiffuse | xpColor | read-only | Returns the diffuse color as an xpColor object (modify it through the object's members). inferred |
| ColorAmbient | xpColor | read-only | Returns the ambient color as an xpColor object (modify it through the object's members). inferred |
| ColorEmissive | xpColor | read-only | Returns the emissive color as an xpColor object (modify it through the object's members). inferred |
| ColorSpecular | xpColor | read-only | Returns the specular color as an xpColor object (modify it through the object's members). inferred |
| ShaderCount | Integer | read-only | Get the number of shaders in a material |
| LayerCount | Integer | read-only | Get the number of layers within a material |
| Visible | Boolean | read/write | Gets or sets whether this item is visible. inferred |
| Name | String | read/write | Get/Set the material name Remarks Material names must be unique within a project |
| EventPreroll | Integer | read/write | Internal/advanced: gets or sets the material's event preroll value. inferred |
| Duration | Integer | read-only | Get the duration of a material Remarks The duration of a material is controlled by the shaders it contains. For example the duration of a material containing a video clip would be the duration of the video clip. Materials without video clips would generally have no duration. |
| Position | Double | read/write | Gets or sets the current playback position (of the animation controller or of the material's playable shaders). inferred |
| DepthWrites | Boolean | read/write | Gets or sets whether the material writes to the depth buffer. inferred |
| ThumbnailHash | String | read-only | Returns a hash string identifying the current thumbnail image (useful to detect thumbnail changes). inferred |
| IgnoreObjectAlpha | Boolean | read/write | Get/Set the "Ignore Object Alpha" property of the material |
| NoDepthWrites | Boolean | read/write | Get/Set the "No Depth Writes" property of the material |
Gets the thumbnail image; it comes back in Image and the function returns True on success. inferred
Resume the playback of a material after pause
Moves a material layer from SourceIndex to TargetIndex; returns True on success. inferred
Adds a new layer to the material at LayerIndex; the new layer comes back in Layer and the function returns True on success. inferred
Starting playing the shaders contained in a material
Stops playback. inferred
Pause playback of a material
Get a shader from a material by its name
Name [in] name of the shader to retrieveShader [out] reference pointer to the shader retrievedGet a shader from a material
Index [in] index number of the shader to retrieveShader [out] reference pointer to the shader retrievedGet a layer from a material
Index [in] index of the layer to retrieveLayer [out] reference pointer to the material layer retrievedRewinds playback of the material's shaders to the beginning. inferred
Starting playing the shaders contained in a material in the given range
Moves playback of the material's shaders to the given position; returns True on success. inferred
Sets the play mode (once, loop, ping-pong) of the material's shaders; returns True on success. inferred
Mode ValueDescriptionContinue playing the shaders contained in a material until the end
Get the dimensions (in pixels) of the material
Add a new shader to a material
ShaderType [in] A string representing the type of shader to addLayerIndex [in] The layer pass index to add the shader toShader [out] Returns a pointer reference to the newly created shaderForces the thumbnail to be regenerated. inferred
Delete a shader from a material using its index
Reset a material back to its unitialized default state
Check if a material contains a shader with a specific name
Name Name of the shader to check forCOM events (for WithEvents/AddHandler in Global Methods; for normal scripting use the script events in section 2).
A layer within a material, with its own colors, shaders, blend factors and render options (DoubleSided, InvertNormals, Linear). Obtained with xpMaterial.GetLayer; use GetShader/AddShader, Alpha, SrcBlendFactor/DestBlendFactor, BlendOperation and AlphaBlendMode.
| Name | Type | Description | |
|---|---|---|---|
| OutputRed | Boolean | read/write | Gets and sets the objects whether this layer will affect the output's red color channel. Remarks This color channel flag will be combined (by AND'ing) with the corresponding red flag for the object that this material is applied to. If either is set to FALSE this material will not contribute to the output's red channel. |
| OutputGreen | Boolean | read/write | Gets and sets the objects whether this layer will affect the output's green color channel. Remarks This color channel flag will be combined (by AND'ing) with the corresponding green flag for the object that this material is applied to. If either is set to FALSE this material will not contribute to the output's green channel. |
| OutputBlue | Boolean | read/write | Gets and sets the objects whether this layer will affect the output's blue color channel. Remarks This color channel flag will be combined (by AND'ing) with the corresponding blue flag for the object that this material is applied to. If either is set to FALSE this material will not contribute to the output's blue channel. |
| OutputAlpha | Boolean | read/write | Gets and sets the objects whether this layer will affect the output's alpha channel. Remarks This color channel flag will be combined (by AND'ing) with the corresponding alpha flag for the object that this material is applied to. If either is set to FALSE this material will not contribute to the output's alpha channel. |
| Enabled | Boolean | read/write | Gets and sets the Enabled state of this material layer |
| ColorDiffuse | xpColor | read-only | Returns the diffuse color as an xpColor object (modify it through the object's members). inferred |
| ColorAmbient | xpColor | read-only | Returns the ambient color as an xpColor object (modify it through the object's members). inferred |
| ColorEmissive | xpColor | read-only | Returns the emissive color as an xpColor object (modify it through the object's members). inferred |
| ColorSpecular | xpColor | read-only | Returns the specular color as an xpColor object (modify it through the object's members). inferred |
| ShaderCount | Integer | read-only | Return the number of shaders in this material layer |
| Alpha | Double | read/write | Get/Set the Alpha value for this material layer |
| SrcBlendFactor | BlendFactor | read/write | Get/Set the Src Blend Factor for this material layer |
| DestBlendFactor | BlendFactor | read/write | Get/Set the Dest Blend Factor for this material layer |
| DoubleSided | Boolean | read/write | Get/Set the "Double Sided" property for this material layer |
| InvertNormals | Boolean | read/write | Get/Set the "Inverted Normals" property for this material layer |
| Linear | Boolean | read/write | Get/Set the "Linear Light" property for this material layer |
| BlendOperation | BlendOperation | read/write | Get/Set the Blending Operation for this material layer |
| AlphaBlendMode | AlphaBlendMode | read/write | Get/Set the Alpha Blending Mode for this material layer |
Gets a shader of this material layer by name; it comes back in Shader and the function returns True on success. inferred
Gets a shader of this material layer by index; it comes back in Shader and the function returns True on success. inferred
Returns True if this material layer contains a shader with the given name. inferred
Adds a new shader of the given type (e.g. "Texture2D", "Video", "LiveSource") at Index in this layer; it comes back in Shader and the function returns True on success. inferred
ShaderType [in] A string representing the type of shader to addIndex [in] the index in the list of shaders to create this new shaderShader [out] Returns a pointer reference to the newly created shaderDeletes the shader at the given index from this material layer; returns True on success. inferred
Deletes the given shader from this material layer; returns True on success. inferred
A shader that renders another scene, through a chosen camera, as a texture. Obtained with Material.GetShaderByName and cast; set its source with SetScene and SetCamera.
Also includes members of: xpBaseShader
| Name | Type | Description | |
|---|---|---|---|
| UID | Integer | read-only | Returns the shader's unique identifier. inferred |
| Name | String | read/write | Gets or sets the name of this item. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| FileName | String | read/write | Gets or sets the file name/path associated with the object (the media file loaded by a shader, or the output file of a record line). inferred |
| Width | Integer | read-only | Returns the width of the scene, or of the shader's source/texture. inferred |
| Height | Integer | read-only | Returns the height of the scene, or of the shader's source/texture. inferred |
| ColorMixValue | Double | read/write | Gets or sets the mix value used when blending this shader stage's color with the previous stage. inferred |
| ColorBlendMode | ColorBlendMode | read/write | Gets or sets how this shader stage's color is combined with the previous stage (multiply, add, subtract, mix, etc.). inferred |
| Enabled | Boolean | read/write | Gets or sets whether this item is enabled. inferred |
| TexturePosX | Double | read/write | Gets or sets the texture's X position (offset). inferred |
| TexturePosY | Double | read/write | Gets or sets the texture's Y position (offset). inferred |
| TextureRot | Double | read/write | Gets or sets the texture's rotation. inferred |
| TextureScaleX | Double | read/write | Gets or sets the texture's X scale. inferred |
| TextureScaleY | Double | read/write | Gets or sets the texture's Y scale. inferred |
| TexturePivotX | Double | read/write | Gets or sets the X coordinate of the texture's pivot point. inferred |
| TexturePivotY | Double | read/write | Gets or sets the Y coordinate of the texture's pivot point. inferred |
| TextureAddressModeU | TextureAddressMode | read/write | Gets or sets the texture addressing mode (wrap, mirror, clamp, border...) along the U axis. inferred |
| TextureAddressModeV | TextureAddressMode | read/write | Gets or sets the texture addressing mode (wrap, mirror, clamp, border...) along the V axis. inferred |
| AlphaBlendMode | AlphaBlendingMode | read/write | Gets or sets how this shader stage's alpha is combined with the previous stage. inferred |
| AlphaMixValue | Double | read/write | Gets or sets the mix value used when blending this shader stage's alpha with the previous stage. inferred |
| ColorSaturate | Boolean | read/write | Gets or sets whether the color result of this shader stage is saturated (clamped). inferred |
| AlphaSaturate | Boolean | read/write | Gets or sets whether the alpha result of this shader stage is saturated (clamped). inferred |
| ColorPreviousStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to the previous stage's color input. inferred |
| ColorCurrentStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to this stage's color input. inferred |
| AlphaPreviousStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to the previous stage's alpha input. inferred |
| AlphaCurrentStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to this stage's alpha input. inferred |
Set the camera in the source scene that will be rendered by the renderview shader
Camera A camera object which exists in the source sceneSets the file the shader loads its content from; returns True on success. inferred
Reloads the shader's current file from disk; returns True on success. inferred
Set the Scene which the RenderView shader should use as it's rendering source
Internal/advanced: passes a native handle value to the shader; meaning depends on the shader type (not applicable to video shaders). Returns True on success. inferred
Sets the audio volume level for the given channel(s) (a single channel or all); returns True on success. inferred
Channels ValueDescriptionGets the audio volume level of the given channel; it comes back in Level and the function returns True on success. inferred
A shader that plays a video file inside a material. Obtained with Material.GetShaderByName and cast to xpVideoShader; key members are SetFileName, AutoStart, FreeRunning, LoopCount, LoopInFrame/LoopOutFrame, InPoint/OutPoint, FieldMode and MasterAudioLevel/SetVolumeLevel.
Also includes members of: xpBaseShader
| Name | Type | Description | |
|---|---|---|---|
| UID | Integer | read-only | Returns the shader's unique identifier. inferred |
| Name | String | read/write | Get/Set the name of the shader |
| TypeName | String | read-only | Returns "Video" |
| FileName | String | read/write | Get/Set the video file used by the Video Shader |
| Width | Integer | read-only | Get the width of the video |
| Height | Integer | read-only | Get the height of the video |
| ColorMixValue | Double | read/write | Gets or sets the mix value used when blending this shader stage's color with the previous stage. inferred |
| ColorBlendMode | ColorBlendMode | read/write | Gets or sets how this shader stage's color is combined with the previous stage (multiply, add, subtract, mix, etc.). inferred |
| Enabled | Boolean | read/write | Gets or sets whether this item is enabled. inferred |
| TexturePosX | Double | read/write | Gets or sets the texture's X position (offset). inferred |
| TexturePosY | Double | read/write | Gets or sets the texture's Y position (offset). inferred |
| TextureRot | Double | read/write | Gets or sets the texture's rotation. inferred |
| TextureScaleX | Double | read/write | Gets or sets the texture's X scale. inferred |
| TextureScaleY | Double | read/write | Gets or sets the texture's Y scale. inferred |
| TexturePivotX | Double | read/write | Gets or sets the X coordinate of the texture's pivot point. inferred |
| TexturePivotY | Double | read/write | Gets or sets the Y coordinate of the texture's pivot point. inferred |
| TextureAddressModeU | TextureAddressMode | read/write | Gets or sets the texture addressing mode (wrap, mirror, clamp, border...) along the U axis. inferred |
| TextureAddressModeV | TextureAddressMode | read/write | Gets or sets the texture addressing mode (wrap, mirror, clamp, border...) along the V axis. inferred |
| AlphaBlendMode | AlphaBlendingMode | read/write | Gets or sets how this shader stage's alpha is combined with the previous stage. inferred |
| AlphaMixValue | Double | read/write | Gets or sets the mix value used when blending this shader stage's alpha with the previous stage. inferred |
| ColorSaturate | Boolean | read/write | Gets or sets whether the color result of this shader stage is saturated (clamped). inferred |
| AlphaSaturate | Boolean | read/write | Gets or sets whether the alpha result of this shader stage is saturated (clamped). inferred |
| ColorPreviousStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to the previous stage's color input. inferred |
| ColorCurrentStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to this stage's color input. inferred |
| AlphaPreviousStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to the previous stage's alpha input. inferred |
| AlphaCurrentStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to this stage's alpha input. inferred |
| FreeRunning | Boolean | read/write | Get/Set the freerunning property |
| AutoStart | Boolean | read/write | Get/Set the auto start property |
| Unshaped | Boolean | read/write | Get/Set the unshaped property |
| FieldMode | VideoFieldMode | read/write | Get/Set the Field Mode of the video shader |
| TakeSceneOfflineAtEnd | Boolean | read/write | Gets or sets whether the scene is taken offline automatically when the video finishes playing. inferred |
| LoopInFrame | Integer | read/write | Gets or sets the frame where the loop section of the video starts. inferred |
| LoopOutFrame | Integer | read/write | Gets or sets the frame where the loop section of the video ends. inferred |
| LoopCount | Integer | read/write | Gets or sets how many times the scene group, video or director event loops. inferred |
| SyncToClock | Boolean | read/write | Gets or sets whether video playback is synchronized to the clock. inferred |
| AdjustSceneDirectorLength | Boolean | read/write | Gets or sets whether the scene director length is adjusted to match the video's length. inferred |
| PreviewFrame | Integer | read/write | Gets or sets the frame used for the preview/thumbnail. inferred |
| InPoint | Integer | read-only | Returns the in-point (first frame played) of the video clip. inferred |
| OutPoint | Integer | read-only | Returns the out-point (last frame played) of the video clip. inferred |
| MasterAudioLevel | Double | read/write | Get/Set the master audio level for the video shader. Remarks The master audio level is represented as a linear scalar value by which the audio samples are multiplied. To convert between this value and a decibal value requires a logarithmic formula of db=20*Log10(AudioLevel) or AudioLevel=10^(dB/20). |
Set a new video file that the video shader will use as it's source
Force the file to be reloaded from disk
not applicable to Video Shader types
Set the volume level for a given channel(s)
Channels ValueDescriptionGet the volume level for a given channel
Channel [in] channel number (1 to 16)An animation controller holding keyframes for objects in a scene, which can also be played stand-alone. Get it with Scene.GetAnimControllerByName, Scene.GetAnimController or Scene.CreateAnimController; key members are Play, Stop, PlayRange, Position, Speed, the SetKeyFrame* methods, GetKeyFrame and the OnStateChange event.
| Name | Type | Description | |
|---|---|---|---|
| Position | Double | read/write | Gets or sets the current playback position (of the animation controller or of the material's playable shaders). inferred |
| PlayDirection | PlayDirection | read/write | Gets or sets the playback direction (forward/reverse) of the animation controller. inferred |
| Speed | Double | read/write | Gets or sets the playback speed. inferred |
| PlayState | PlayState | read-only | Returns the current playing state of the animation controller (e.g. playing, paused, stopped). inferred |
| PlayMode | PlayMode | read/write | Gets or sets the play mode (once, loop or ping-pong). inferred |
| Name | String | read/write | Gets or sets the name of this item. inferred |
| AutoStop | Boolean | read/write | Per default an Animation controller sets its PlayState to ps_Paused so it will retain ownership of the objects it is controlling. When AutoStop is set to True the animation controller will change its PlayState to ps_Stopped instead of ps_Paused when the end of the timeline has been reached. |
| CurrentDirection | PlayDirection | read-only | Get the current direction (forward/reverse) of the Animation controller |
| OwnerScene | xpScene | read-only | Returns the scene that owns this animation controller. inferred |
| RangeStart | Integer | read/write | Gets or sets the start frame of the animation controller's play range. inferred |
| RangeEnd | Integer | read/write | Gets or sets the end frame of the animation controller's play range. inferred |
| Duration | Integer | read/write | Gets or sets the duration of this item. inferred |
| ObjectCount | Integer | read-only | Get the total number of keyframed objects contained within the animation controller |
Sets a TCB-spline keyframe with a single value for the given KeyType (e.g. "Position.X") of TargetObject at Time, using the given tension, continuity and bias; returns True on success. inferred
Get an object from the animation controller
Get a keyframe for a given object within the animation controller
TargetObject [in] The object for which to retrieve a keyframeKeyType [in] The keyframe type to get (e.g. "Position.X", "Scale.Z", etc..)Time [in] Starting time from which to begin looking for a keyframeaKeyFrame [out] Returns an xpKeyFrame object which contains the keyframe parameters.Get the "Keyframe Type" for an object within the animation controller
Get the count of how many different keyframe types an object within the animation controller has
Get the first keyframe for a given object within the animation controller
Get the last keyframe for a given object within the animation controller
Deletes the keyframe of the given KeyType for TargetObject at Time; returns True on success. inferred
Starts playing the animation controller; if WaitFor is True it blocks until playback ends or TimeOut expires. Returns True on success. inferred
Stops playback. inferred
Pauses playback of the animation controller. inferred
Plays the animation controller from RangeStart to RangeEnd, optionally blocking until finished (WaitFor); returns True on success. inferred
Removes all keyframes from the animation controller. inferred
Deletes the keyframes within the time range RangeStart to RangeEnd. inferred
Blocks script execution until playback finishes or the optional TimeOut expires; returns True on success. inferred
Blocks script execution until playback reaches the given Position or the optional TimeOut expires; returns True on success. inferred
Makes playback stop when it reaches the given position; returns True on success. inferred
Sets a keyframe with an x/y/z vector value for the given KeyType of TargetObject at Time, with optional interpolation and axis filter; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a keyframe with a single value for the given KeyType (e.g. "Position.X") of TargetObject at Time, with optional interpolation; returns True on success. inferred
Interpolation ValueDescriptionSets a position keyframe (x, y, z) for TargetObject at Time, with optional interpolation and axis filter; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a rotation keyframe (x, y, z) for TargetObject at Time, with optional interpolation and axis filter; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a scale keyframe (x, y, z) for TargetObject at Time, with optional interpolation and axis filter; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets a pivot keyframe (x, y, z) for TargetObject at Time, with optional interpolation and axis filter; returns True on success. inferred
Interpolation ValueDescriptionAxis ValueDescriptionSets an alpha (transparency) keyframe for TargetObject at Time, with optional interpolation; returns True on success. inferred
Interpolation ValueDescriptionSets a TCB-spline keyframe with an x/y/z vector value for the given KeyType of TargetObject at Time, using the given tension, continuity and bias; returns True on success. inferred
Axis ValueDescriptionCOM events (for WithEvents/AddHandler in Global Methods; for normal scripting use the script events in section 2).
This event will notify the user of any state change that occurs when the animation controller is used as a stand-alone instance (ie: not triggered/played by a scene director)
Base class for scene director events (actions fired by event clips), exposing Name, Flags and the play directions in which the event executes (AddExecuteDirection, RemoveExecuteDirection, ContainsExecuteDirection). Obtained with xpSceneDirectorClip.GetEvent and cast to xpDirectorEvent for the full settings.
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Flags | UInteger | read/write | Internal/advanced: gets or sets the raw bit flags of the director event. inferred |
Returns the index of the event within its director clip. inferred
Makes the event execute when the director plays in the given direction (forward or backward); returns True on success. inferred
ExecuteDirection ValueDescriptionStops the event from executing when the director plays in the given direction; returns True on success. inferred
ExecuteDirection ValueDescriptionReturns True if the event executes when the director plays in the given direction. inferred
ExecuteDirection ValueDescriptionA continuous (procedural) animation that drives one channel of an object with a waveform. Created with CreateContinuousAnim or read with GetContinuousAnim on a scene object; configure WaveForm, Channel, Amplitude, Cycle, PhaseOffset, SyncMode and Enabled/Pause.
| Name | Type | Description | |
|---|---|---|---|
| WaveForm | WaveForm | read/write | Gets or sets the waveform shape that drives the animation (sine, cosine, triangle, square or sawtooth). inferred |
| WaveFormMode | WaveFormMode | read/write | Gets or sets whether the waveform oscillates symmetrically or asymmetrically. inferred |
| Channel | AnimChannel | read/write | Gets or sets which object channel is animated (position, rotation, scale or pivot axis, alpha, or texture position). inferred |
| Amplitude | Double | read/write | Gets or sets the amplitude (peak strength) of the waveform applied to the channel. inferred |
| AmplitudeOffset | Double | read/write | Gets or sets an offset added to the waveform's amplitude, shifting the center value of the oscillation. inferred |
| PhaseOffset | Integer | read/write | Gets or sets the phase offset of the waveform, i.e. where in the cycle the animation starts. inferred |
| Cycle | Integer | read/write | Gets or sets the length (period) of one waveform cycle. inferred |
| SyncMode | SyncMode | read/write | Gets or sets how the animation is synchronized: restarting from the beginning (reset) or following the clock. inferred |
| Enabled | Boolean | read/write | Gets or sets whether this item is enabled. inferred |
| Pause | Integer | read/write | Gets or sets a pause value for the continuous animation (likely a hold time between cycles); exact semantics are not documented. inferred |
A scene director event that controls director playback when reached, such as pausing, jumping to a frame, looping a range or changing speed. Created with xpSceneDirector.CreateDirectorEvent or read via xpSceneDirectorClip.GetEvent; configure ExecuteAction, JumpToFrame, PlayRangeStart/PlayRangeEnd, LoopCount, Speed and AutoResume.
Also includes members of: xpBaseDirectorEvent
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Flags | UInteger | read/write | Internal/advanced: gets or sets the raw bit flags of the director event. inferred |
| ExecuteAction | ExecuteAction | read/write | Gets or sets the action the event performs: jump to a frame, play a range or take the scene offline. inferred |
| JumpToFrame | Integer | read/write | Gets or sets the target frame for a jump-to-frame event. inferred |
| JumpToRelative | Boolean | read/write | Gets or sets whether JumpToFrame is an offset relative to the event's position instead of an absolute frame. inferred |
| PlayRangeStart | Integer | read/write | Gets or sets the start frame of the play range. inferred |
| PlayRangeEnd | Integer | read/write | Gets or sets the last frame of the range played by a play-range event. inferred |
| LoopCount | Integer | read/write | Gets or sets how many times the scene group, video or director event loops. inferred |
| IgnoreContinue | Boolean | read/write | Gets or sets whether the event ignores Continue commands (for example from the sequencer) instead of reacting to them. inferred |
| Speed | Single | read/write | Gets or sets the playback speed the director uses after the event. inferred |
| PlayState | PlayState | read/write | Gets or sets the play state the director enters when the event fires (for example paused or playing). inferred |
| AutoResume | Boolean | read/write | Gets or sets whether playback resumes automatically after the event pauses the director. inferred |
| AutoResumeFrames | Integer | read/write | Gets or sets how many frames to wait before playback resumes automatically. inferred |
| ReverseDirection | Boolean | read/write | Gets or sets whether the event reverses the director's play direction. inferred |
| UseOutTransition | Boolean | read/write | Gets or sets whether the take-offline action uses the scene's out transition. inferred |
Returns the index of the event within its director clip. inferred
Makes the event execute when the director plays in the given direction (forward or backward); returns True on success. inferred
ExecuteDirection ValueDescriptionStops the event from executing when the director plays in the given direction; returns True on success. inferred
ExecuteDirection ValueDescriptionReturns True if the event executes when the director plays in the given direction. inferred
ExecuteDirection ValueDescriptionA single keyframe with its Time and Value plus interpolation settings (Interpolation, Tension, Continuity, Bias). Returned by animation controller and scene director clip methods such as GetKeyFrame, GetFirstKeyFrame and GetNextKeyFrame.
| Name | Type | Description | |
|---|---|---|---|
| Time | Integer | read-only | Holds the Time position at which this keyframe is within the Animation Controller |
| Value | Double | read-only | This represents that actual value of the keyframe. |
| Interpolation | KeyInterpolation | read-only | Returns the interpolation type of the keyframe (for example TCB spline, Hermite, Bezier, linear or hold). inferred |
| Tension | Double | read-only | Returns the TCB tension value of the keyframe. inferred |
| Continuity | Double | read-only | Returns the TCB continuity value of the keyframe. inferred |
| Bias | Double | read-only | Returns the TCB bias value of the keyframe. inferred |
The scene director (timeline) that sequences animation, material, audio and event clips across tracks. Use Scene.SceneDirector, Scene.GetSceneDirectorByName or Scene.GetDefaultSceneDirector; key members are Play, Stop, Pause, Continue, PlayRange, Position, Speed, GetTrackByName and the OnSceneDirectorState event.
| Name | Type | Description | |
|---|---|---|---|
| Position | Double | read/write | Get/Set the current position within the scene director |
| PlayDirection | PlayDirection | read/write | Get/Set the play direction of the scene director |
| Speed | Double | read/write | Change the playback speed of the scene director Remarks 1.0 is normal speed |
| PlayState | PlayState | read-only | Get the current playing state of the scene director |
| PlayMode | PlayMode | read/write | Gets or sets the play mode (once, loop or ping-pong). inferred |
| AutoStop | Boolean | read/write | Automatically go into the stopped state when the end of the scene director is reached |
| Duration | Integer | read-only | Get the duration of the scene director |
| Length | Integer | read/write | Gets or sets the length of the scene director timeline. inferred |
| TrackCount | Integer | read-only | Get the total of all tracks Remarks This is the sum of video, audio, and object tracks |
| Name | String | read-only | Get the scene director name |
| IsDefault | Boolean | read-only | Is this the default scene director |
| DefaultFrameMarker | Integer | read-only | Returns the frame of the scene director's default frame marker. inferred |
Play the scene director
Stop the scene director
Pause the scene director playback
Play a specified range of the scene director
Blocks script execution until playback finishes or the optional TimeOut expires; returns True on success. inferred
Retrieve a track from the scene director by index
Retrieve a track from the scene director by name
Resume the scene director if it is currently paused
Set the name of the scene director
Set this scene director to be the default scene director
Check if a track exists in the scene director by name
Remove the default frame marker from the scene director
Assign a default frame marker to this scene director at the given frame
Set this scene director as the one used for previews
Set this scene director as the one used by the NLE plugin
Adds a new track of the given type (object or audio) to the scene director; the new track comes back in Track. inferred
TrackType ValueDescriptionRemoves the given track from the scene director; returns True on success. inferred
Creates and returns a new xpDirectorEvent object. inferred
COM events (for WithEvents/AddHandler in Global Methods; for normal scripting use the script events in section 2).
A clip placed on a scene director track (animation, material, audio or event) with Position, Duration and trims. Obtained from xpSceneDirectorTrack.GetClip/GetClipByName or the Create*Clip methods; edit it with SetTrims and AddKeyFrame/SetKeyFrame, and get an event clip's action with GetEvent.
| Name | Type | Description | |
|---|---|---|---|
| Position | Integer | read/write | Set/Get the position of a clip on the scene director |
| Duration | Integer | read/write | Set/Get the duration of a clip |
| DefaultKeyValue | Double | read-only | Returns the default key value for this clip type that will be used if the clip does not have any keyframes set on it. |
| ClipType | SceneDirectorClipType | read-only | Returns the kind of clip (none, animation controller, material, audio, event or audio material) as a SceneDirectorClipType value. inferred |
| ClipTypeStr | String | read-only | Returns the clip type as a readable string (text form of ClipType). inferred |
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Direction | ClipDirection | read/write | Gets or sets the playback direction of the clip (forward or reverse). inferred |
| TrimStart | Integer | read/write | Set/Get the number of frames trimed at the start of a clip on the scene director |
| TrimEnd | Integer | read/write | Set/Get the number of frames trimed at the end of a clip on the scene director |
Adds a new keyframe at the given position.
Position Position within the Clip at which to add a new keyframe.Set the value of a keyframe within a clip
Position Position within the Clip at which to set a keyframe.Value Value to set for the new keyframeDelete a keyframe from the clip
Position Position within the Clip at which to delete an existing keyframeGet the first keyframe within a clip
Position [out] Reference to a variable which will hold the position value of the first keyframeValue [out] Reference to a variable which will hold the value of the first keyframeGet the next keyframe within a clip
Position [in] Reference to a variable which holds the position value of where to begin searching for the next keyframeValue [out] Reference to a variable which will hold the value of the next keyframeGet the previous keyframe within a clip
Position [in] Reference to a variable which holds the position value of where to begin searching for the prev keyframeValue [out] Reference to a variable which will hold the value of the prev keyframeSet the trim values within a clip
TrimStart The number of frames to trim at the start of the clipTrimEnd The number of frames to trim at the end of the clipRetrieves the director event associated with this event clip; the event comes back in the ByRef Event parameter and the function returns True on success. inferred
A track in a scene director that contains clips. Obtained with xpSceneDirector.GetTrack/GetTrackByName or AddTrack; iterate clips with GetFirstClip/GetNextClip and create them with CreateAnimClip, CreateMaterialClip, CreateAudioClip and CreateEventClip.
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| ClipCount | Integer | read-only | Returns the number of clips on the scene director track. inferred |
| Enabled | Boolean | read/write | Gets or sets whether this item is enabled. inferred |
Gets the first clip on the track; it is returned in the ByRef Clip parameter and the function returns True on success. inferred
Gets the clip following the given one on the track; it is returned in the ByRef NextClip parameter and the function returns True on success. inferred
Gets the last clip on the track; it is returned in the ByRef Clip parameter and the function returns True on success. inferred
Create a new audio clip on the scene director track
Position [in] The scene director position at which to place the new clipAudioFile [in] The xpAudioFile to assign to the newly created clipAudioClip [out] Pointer to the newly created xpSceneDirectorClipScene.SetOnline 0); in an XPression script write Scene.SetOnline(0).Dim newscene As xpScene
Dim track As xpSceneDirectorTrack
Dim audiofile As xpAudioFile
Dim AudioClip As xpSceneDirectorClip
engine.CreateScene(False, newscene)
engine.GetAudioFileByName("AudioFile1", audiofile)
newscene.SceneDirector.GetTrackByName("Audio1", track)
' Create a new audio clip using AudioFile1 and place it a 5 frames onto the Audio1 Track
track.CreateAudioClip(5, audiofile, AudioClip)
newscene.SetOnline(0, 99)
newscene.SceneDirector.Play()Create a new material clip on the scene director track
Position [in] The scene director position at which to place the new clipMaterial [in] The xpMaterial to assign to the newly created clipMaterialClip [out] Pointer to the newly created xpSceneDirectorClipScene.SetOnline 0); in an XPression script write Scene.SetOnline(0).Dim newscene As xpSceneDim track As xpSceneDirectorTrackDim quad As xpQuadObjectDim material As xpMaterialDim shader As xpBaseShaderDim MaterialClip As xpSceneDirectorClip engine.CreateScene(True, newscene)material = engine.CreateMaterial()material.AddShader("Video", 0, shader)shader.SetFileName("Test.avi") newscene.CreateObject("Quad", quad)quad.SetMaterial(0, material) newscene.SceneDirector.GetTrackByName("Track1", track) ' Create a new material clip using material and place it a 5 frames onto the Track1 Tracktrack.CreateMaterialClip(5, material, MaterialClip) newscene.SetOnline(0, 99)newscene.SceneDirector.Play()Gets a clip on the track by its name; it is returned in the ByRef Clip parameter and the function returns True on success. inferred
Gets the clip at the given index on the track; it is returned in the ByRef Clip parameter and the function returns True on success. inferred
Deletes the given clip from the scene director track; returns True on success. inferred
Create a new animation clip on the scene director track
Position [in] The scene director position at which to place the new clipController [in] The xpAnimController to assign to the newly created clipAnimClip [out] Pointer to the newly created xpSceneDirectorClipCreates a new event clip at the given Position on the scene director track that fires the given xpDirectorEvent; the new clip comes back in EventClip and the function returns True on success. inferred
Base class of sequencer entries (take items and groups) with ID, Name, FrameBufferIndex, Layer, IsOnline and UserData. Returned by sequencer lookups such as GetTakeItemByID; use Execute, Cue, SetOffline and SetFocus, and cast to xpTakeItem or xpTakeItemGroup according to IsGroup.
| Name | Type | Description | |
|---|---|---|---|
| FrameBufferIndex | Integer | read/write | The current framebuffer this take item is assigned to |
| ID | Integer | read/write | The take ID of this take item |
| UserData | String | read/write | Get/Set a user string into the take item |
| IsOnline | Boolean | read-only | Return the current online/offline state of this take item Returns returns true if the take item is currently online |
| Name | String | read/write | The name of the take item |
| Layer | Integer | read/write | The current layer this take item is assigned to |
| Index | Integer | read-only | Returns the position of this take item or group within the sequencer. inferred |
| IsGroup | Boolean | read-only | Returns whether this scene or take item is a group (scene group or take item group). inferred |
Set the take item online
Take the take item offline
Set the sequencer focus to this item
Puts the take item or group into the cued state; returns True on success. inferred
An object published from a template scene so that its properties can be filled per take item. Obtained with xpTakeItem.GetPublishedObject/GetPublishedObjectByName; set values with SetPropertyString, SetPropertyMaterial, SetPropertyColor and SetPropertyBool, and reach the linked object with GetObjectFromScene or its DataLinq with GetDatalinq.
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read-only | Returns the name of this item (element, attribute, published object, project, property, or project-server show/style/category). inferred |
| PropertyCount | Integer | read-only | Returns the number of published properties of the published object. inferred |
| ShowInTemplateData | Boolean | read/write | Gets or sets whether the object is shown in the sequencer's Template Data tab; it only has an effect when the object is published. inferred |
Gets the name and type of the property at the given index; they are returned in the ByRef PropName and PropType parameters and the function returns True on success. inferred
PropType ValueDescriptionAssigns x, y, z values to the vector property at the given index; returns True on success. inferred
Assign a string value to a property that can accept string values
Gets the x, y, z values of the vector property at the given index; they are returned in the ByRef parameters and the function returns True on success. inferred
Gets the string value of the property at the given index; it is returned in the ByRef Value parameter and the function returns True on success. inferred
Assign an existing XPression material to a published material property
Assign a solid color to a published material property
Index If the property contains multiple colors, this represents the index of the color to setColor 32 bit value representing the color.Assigns a Boolean value to the property at the given index; returns True on success. inferred
Gets the Boolean value of the property at the given index; it is returned in the ByRef Value parameter and the function returns True on success. inferred
Gets the number of components of the vector property at the given index; it is returned in the ByRef Size parameter and the function returns True on success. inferred
Gets where the property at the given index takes its value from (static, DataLinq or widget); it is returned in the ByRef SourceType parameter and the function returns True on success. inferred
SourceType ValueDescriptionSets where the property at the given index takes its value from (static, DataLinq or widget); returns True on success. inferred
SourceType ValueDescriptionAssigns the widget that supplies the value of the property at the given index; returns True on success. inferred
Gets the DataLinq configuration for the given index (property or face, depending on the class); it is returned in the ByRef Datalinq parameter and the function returns True on success. inferred
Retrieve the current datalinq value for a property that has datalinq enabled
Sets the dynamic material path for the given face of the material property at the given index; returns True on success. inferred
Return the number of faces for this published object
Get the xpBaseObject that a published object is linked to
BaseObject Reference to an xpBaseObject to hold the returned objectFromSceneCopy If false, this will retrieve the object from the layout scene that this take item is based upon. If true, it will retrieve it from the scene copy that is created when this scene goes on-air. If the scene is not currently on-air there is no scene copy in existance and it will return a failure.Returns the dynamic material path for the given face of the material property at the given index. inferred
Writes a set of take items to an XML file that can later be imported. Created with Sequencer.CreateExporter; queue items with AddItem, write them with SaveToXML and empty the queue with Clear.
Add a take item into the queue of items to be written to the XML
Save the queue of Added items to an XML file on disk
Clear the queue of items to be written to the XML
The XPression Sequencer (playlist) of take items and groups. Obtained with Engine.Sequencer; key members are GetTakeItemByID, GetFocusedTakeItem, CreateTakeItem, CreateGroup/GetGroupByName, SwapChannel and the OnFocusItemChanged event.
| Name | Type | Description | |
|---|---|---|---|
| GroupCount | Integer | read-only | Returns the number of take item groups in the sequencer. inferred |
| ItemCount | Integer | read-only | Returns the number of take items in the sequencer or group. inferred |
Retrieve an xpBaseTakeItem by its Take ID
ID [in] the take ID of the take item to retrieveTakeItem [out] Pointer to an xpBaseTakeItem variable which will receive the take item when successful.Scene.SetOnline 0); in an XPression script write Scene.SetOnline(0).private void button1_Click(object sender, EventArgs e)
{
xpBaseTakeItem baseTakeItem;
// Retrieve take item #1000
if (engine.Sequencer.GetTakeItemByID(1000, out baseTakeItem))
{
if (baseTakeItem is xpTakeItem)
{
xpTakeItem takeItem = (xpTakeItem)baseTakeItem;
xpPublishedObject publishedObject;
if (takeItem.GetPublishedObjectByName("Text1", out publishedObject))
{
publishedObject.SetPropertyString(0, "New Value");
}
}
}
}Create a new take item and add it to the sequencer
TemplateScene [in] pointer to the xpScene that the new take item should useGroup [in] pointer to the xpTakeItemGroup to which the new take item should be addedTakeItem [out] pointer to a variable that will hold the newly created xpTakeItemRetrieve a take item group by index
Index [in] index of the group to retrieve (Range: 0 to GroupCount-1)Group [out] pointer to a variable that will hold the retrieved group objectRetrieve a take item group by name
Name [in] name of the group to retrieveGroup [out] pointer to a variable that will hold the retrieved group objectCreate a new group in the sequencer
Delete a take item by ID
ID [in] ID of the take item to be deletedInsert a take item into the sequencer
Finds a take item by its UserData string; it is returned in the ByRef TakeItem parameter and the function returns True on success. inferred
Retrieve an xpBaseTakeItem by its index
Index [in] the index of the take item to retreive (Range: 0 to ItemCount-1)TakeItem [out] Pointer to an xpBaseTakeItem variable which will receive the take item when successful.Expand all groups in the Sequencer
Get the currently focused take item from the sequencer
TakeItem [out] an object which will be filled with the currently focused take itemScene.SetOnline 0); in an XPression script write Scene.SetOnline(0).private void button1_Click(object sender, EventArgs e)
{
xpBaseTakeItem baseTakeItem;
if (engine.Sequencer.GetFocusedTakeItem(out baseTakeItem))
{
if (baseTakeItem is xpTakeItem)
{
xpTakeItem takeItem = (xpTakeItem)baseTakeItem;
xpPublishedObject publishedObject;
if (takeItem.GetPublishedObjectByName("Text1", out publishedObject))
{
publishedObject.SetPropertyString(0, "HOME");
}
}
}
}Retrieve a take item using it's Unique MOS ID
UniqueID Unique MOS IDTakeItem Reference to an object which will contain the retrieved take itemRegenerate the preview of the currently focused item in the sequencer
Import a number of take items from an XML file on disk
Creates a sequence exporter for writing take items to an XML file; it is returned in the ByRef Exporter parameter and the function returns True on success. inferred
Put all cued items on the specified framebuffer/channel (0 based index) into the online state.
ChannelIndex Framebuffer / Channel (0 = channel 1)Put all cued items on all framebuffer/channels into the online state.
Get the current published object that is selected in the XPression Sequencer
PublishedObject [out] Returns an xpPublishedObject representing the current focused objectMoves the take item to the given index in the sequencer; returns True on success. inferred
Moves the take item next to TargetItem (after it, or before it when BeforeTarget is True); returns True on success. inferred
Gets the take item preceding the given one; it is returned in the ByRef PrevTakeItem parameter and the function returns True on success. inferred
Gets the take item following the given one; it is returned in the ByRef NextTakeItem parameter and the function returns True on success. inferred
Moves the group to the given index in the sequencer; returns True on success. inferred
Moves the group next to TargetGroup (after it, or before it when BeforeTarget is True); returns True on success. inferred
COM events (for WithEvents/AddHandler in Global Methods; for normal scripting use the script events in section 2).
A take item: an instance of a template scene in the sequencer with its own published-object values, output, layer and transitions. Get it with Sequencer.GetTakeItemByID or CreateTakeItem; key members are GetPublishedObjectByName, Execute, SetOffline, Cue, GetTemplateScene, GetSceneCopy and the OnOnlineState event.
Also includes members of: xpBaseTakeItem
| Name | Type | Description | |
|---|---|---|---|
| FrameBufferIndex | Integer | read/write | Get/set the framebuffer for a take item |
| ID | Integer | read/write | Get/Set the Take ID |
| UserData | String | read/write | Get/Set a user data value into the take item Remarks User data can be any string data that should be stored in a specific take item |
| IsOnline | Boolean | read-only | Get the current online state of the take item |
| Name | String | read/write | Get/Set the name of the take item |
| Layer | Integer | read/write | Get/set the layer for a take item |
| Index | Integer | read-only | Returns the position of this take item or group within the sequencer. inferred |
| IsGroup | Boolean | read-only | Returns whether this scene or take item is a group (scene group or take item group). inferred |
| PublishedObjectCount | Integer | read-only | Returns a count of how many published objects are in the take item |
| Description | String | read/write | Get/Set a description for this take item |
| TransitionDesc | String | read-only | Get a string describing the in/out transitions |
| TransInDuration | Integer | read/write | Get/Set the duration of the In transition |
| TransOutDuration | Integer | read/write | Get/Set the duration of the Out transition |
| TransInFactory | Integer | read-only | Get the Factory ID of the In transition |
| TransOutFactory | Integer | read-only | Get the Factory ID of the Out transition |
| TransInMode | Integer | read-only | Get the Mode ID of the In transition Remarks The mode represents a specific transition from the transition factory. |
| TransOutMode | Integer | read-only | Get the Mode ID of the Out transition |
| PlayRange | Boolean | read/write | Gets or sets whether only the range between PlayRangeStart and PlayRangeStop is played. inferred |
| PlayRangeStart | Integer | read/write | Gets or sets the start frame of the play range. inferred |
| PlayRangeStop | Integer | read/write | Gets or sets the end frame of the play range. inferred |
| ThumbnailHash | String | read-only | Check the hash of the thumbnail Remarks If the thumbnail is empty or invalid, a blank string will be returned |
| Project | xpProject | read-only | Get a handle to the project this take item is from |
| State | OnlineState | read-only | Get the current online state of this take item |
| TimeCodeAutomation | Boolean | read/write | Get/Set whether or not the take item should automatically go online at a specified timecode Remarks Requires a valid timecode to be fed into XPression for this to operate |
| Disabled | Boolean | read/write | Get/Set whether this take item is currently enabled/disabled Remarks Disabled items will be skipped in Timed Sequence Groups, Rolls, Crawls, etc. |
| IsTessera | Boolean | read-only | Is this item currently assigned to a tessera source? Returns Returns true if this item is currently assigned to a tessera source |
| TesseraSourceGUID | Guid | read-only | Retieve the GUID of the tessera source this item is configured for |
| PreviewFrame | Integer | read/write | Gets or sets the frame used for the preview/thumbnail. inferred |
Get the Thumbnail of the take item (not available in BlueBox editions)
Force the take item thumbnail to be updated. (not available in bluebox editions)
Render a preview frame representing the take item
Position [in] The scenedirector position to renderWidth [in] Desired render widthHeight [in] Desired render heightImage [out] xpImage object that will contain the rendered imagePremultiplied [in] Should the alpha be premultiplied with the fill?Oversample When oversampled, the render will be slightly slower but the quality may be higher.Get the xpTakeItemGroup that contains this take item
Group [out] reference to the xpTakeItemGroup that contains this take itemGets the list of DataLinq keys of the scene or take item; it comes back in the ByRef DatalinqKeys parameter and the function returns True on success. inferred
Set the timecode that the take item should automatically go online at (if it is configured to do so)
Get the timecode that the take item should automatically go online at (if it is configured to do so)
Gets the start timecode of the take item; hours, minutes, seconds and frames are returned in the ByRef parameters and the function returns True on success. inferred
Gets the end timecode of the take item; hours, minutes, seconds and frames are returned in the ByRef parameters and the function returns True on success. inferred
Gets the duration of the take item as a timecode; hours, minutes, seconds and frames are returned in the ByRef parameters and the function returns True on success. inferred
Replace the scene that a take item is based on
NewScene The new scene to be assigned to the sequencer item (must not be a scene copy)Gets a copy of the take item's scene, optionally at a preview position; it is returned in the ByRef Scene parameter and the function returns True on success. inferred
Trigger the take item to go online
Set the take item offline
Set focus in the sequencer to this specific take item
Put this take item into the Cued state
Get a published object from the take item
Index [in] index of the published object to retrieve (0 to PublishedObjectCount-1)PublishedObject [out] reference to the xpPublishedObject retreivedGets a published object of the take item by its name; it is returned in the ByRef PublishedObject parameter and the function returns True on success. inferred
Scene.SetOnline 0); in an XPression script write Scene.SetOnline(0).private void button1_Click(object sender, EventArgs e)
{
xpBaseTakeItem baseTakeItem;
if (engine.Sequencer.GetTakeItemByID(1000, out baseTakeItem))
{
if (baseTakeItem is xpTakeItem)
{
xpTakeItem takeItem = (xpTakeItem)baseTakeItem;
xpPublishedObject publishedObject;
if (takeItem.GetPublishedObjectByName("Text1", out publishedObject))
{
publishedObject.SetPropertyString(0, "New Value");
}
}
}
}Get the original scene which the take item uses
Scene [out] returns a reference to the original scene which the take item usesAsCopy [in,optional] When the application specifies FALSE for this parameter the actual scene's template is returned and changes to the scene will affect the loaded project. Per default this parameter is TRUE and a copy of the scene is returned.COM events (for WithEvents/AddHandler in Global Methods; for normal scripting use the script events in section 2).
This event will be triggered anytime an item in the sequencer changes state (goes online, offline, paused, etc.)
A group of take items in the sequencer that can play its items as a sequence (for example a crawl/roll or a timed carousel). Obtained with Sequencer.GetGroup/GetGroupByName or CreateGroup; iterate with GetFirstTakeItem/GetNextTakeItem, control it with Execute, Pause, Resume and Advance, and configure Mode, Effect, ItemTiming and RepeatMode.
Also includes members of: xpBaseTakeItem
| Name | Type | Description | |
|---|---|---|---|
| FrameBufferIndex | Integer | read/write | Gets or sets the framebuffer (output channel) the group is assigned to. inferred |
| ID | Integer | read/write | Gets or sets the take ID of the group. inferred |
| UserData | String | read/write | Gets or sets a user-defined string stored in the group. inferred |
| IsOnline | Boolean | read-only | Returns whether the scene group or take item group is currently online. inferred |
| Name | String | read/write | Gets or sets the name of this item. inferred |
| Layer | Integer | read/write | Gets or sets the framebuffer layer the group is assigned to. inferred |
| Index | Integer | read-only | Returns the position of this take item or group within the sequencer. inferred |
| IsGroup | Boolean | read-only | Returns whether this scene or take item is a group (scene group or take item group). inferred |
| Mode | TakeItemGroupMode | read/write | Gets or sets the group's playback mode (manual, timed, roll/crawl, data pages or take all). inferred |
| ItemTiming | ItemTiming | read/write | Gets or sets how the duration of items in the group is determined (per item, per group, fixed per item, scene director or manual). inferred |
| Duration | Integer | read/write | Gets or sets the duration of this item. inferred |
| RepeatMode | RepeatMode | read/write | Gets or sets when the group repeats (never, every, when done, after). inferred |
| RepeatUnit | RepeatUnit | read/write | Gets or sets the time unit (seconds, minutes, hours) used by RepeatTime. inferred |
| RepeatTime | Integer | read/write | Gets or sets the repeat interval, expressed in RepeatUnit. inferred |
| Expanded | Boolean | read/write | Gets or sets whether the group is shown expanded in the sequencer. inferred |
| ItemCount | Integer | read-only | Returns the number of take items in the sequencer or group. inferred |
| Effect | TakeItemGroupEffect | read/write | Gets or sets the roll/crawl effect of the group (roll or crawl). inferred |
| Direction | TakeItemGroupDirection | read/write | Gets or sets the playback direction of the group (normal or reverse). inferred |
| Speed | Double | read/write | Gets or sets the playback speed. inferred |
| GlobalMarginTop | Double | read/write | Gets or sets the group-wide top margin of the scene group or take item group (roll/crawl layout). inferred |
| GlobalMarginBottom | Double | read/write | Gets or sets the group-wide bottom margin of the scene group or take item group (roll/crawl layout). inferred |
| GlobalMarginLeft | Double | read/write | Gets or sets the group-wide left margin of the scene group or take item group (roll/crawl layout). inferred |
| GlobalMarginRight | Double | read/write | Gets or sets the group-wide right margin of the scene group or take item group (roll/crawl layout). inferred |
| Loop | Boolean | read/write | Gets or sets whether playback loops back to the start when it reaches the end. inferred |
| LoopShowsPerScene | Integer | read/write | Internal/advanced: gets or sets a loop-related count of shows per scene for the group; exact semantics are not documented. inferred |
| BlankPageOnStart | Boolean | read/write | Gets or sets whether a blank page is inserted at the start of the roll/crawl. inferred |
| BlankPageOnEnd | Boolean | read/write | Gets or sets whether a blank page is inserted at the end of the roll/crawl. inferred |
| LastPageAsFull | Boolean | read/write | Gets or sets whether the last page of the roll/crawl is treated as a full page. inferred |
| SoftStart | Boolean | read/write | Gets or sets whether the group's motion ramps in smoothly when it starts (duration set by SoftStartFrames). inferred |
| SoftStartFrames | Integer | read/write | Gets or sets the number of frames of the soft start ramp. inferred |
| SoftStop | Boolean | read/write | Gets or sets whether the group's motion ramps out smoothly when it stops (duration set by SoftStopFrames). inferred |
| SoftStopFrames | Integer | read/write | Gets or sets the number of frames of the soft stop ramp. inferred |
| PerSceneLighting | Boolean | read/write | Gets or sets whether each scene in the group uses its own lighting. inferred |
| WaitForKey | Boolean | read/write | Gets or sets whether the group waits for a take/key command before advancing. inferred |
| Seconds | Double | read/write | Gets or sets the group's duration expressed in seconds; see also Frames. inferred |
| Frames | Integer | read/write | Gets or sets the group's duration expressed in frames; see also Seconds. inferred |
| TimeCodeAutomation | Boolean | read/write | Gets or sets whether the group automatically goes online at a specified timecode. inferred |
| TimeCodeSource | Integer | read/write | Gets or sets the index of the timecode source used for timecode automation. inferred |
| StartAt | StartAtMode | read/write | Gets or sets whether the group starts immediately or at StartTime. inferred |
| WhenFinished | WhenFinished | read/write | Gets or sets what happens when the group finishes (keep online or take offline). inferred |
| StartTime | Integer | read/write | Gets or sets the start time used when StartAt is set to a time. inferred |
Pauses playback; returns True on success. inferred
Resumes playback of the paused group; returns True on success. inferred
Advances the group to its next item/page; returns True on success. inferred
Gets the last take item in the group; it is returned in the ByRef TakeItem parameter and the function returns True on success. inferred
Gets the take item preceding Current in the group; it is returned in the ByRef Prev parameter and the function returns True on success. inferred
Takes the group online (executes it); returns True on success. inferred
Takes the group offline; returns True on success. inferred
Sets the sequencer focus to this group. inferred
Puts the take item or group into the cued state; returns True on success. inferred
Returns the first take item that is a member of this take item group
TakeItem [out] Object reference in which the method will return the xpBaseTakeItemReturns the next take item in the take item group following Current
Current [in] the take item for which you want to find the 'next' take itemNext [out] returns a reference to the next take item following the 'current' take itemBase class for project widgets (clock/timers, counters, text lists) with Name and TypeName. Get one with Engine.GetWidgetByName or Project.GetWidgetByName and cast it to the specific widget type.
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Get/Set the widget name |
| TypeName | String | read-only | Return a string representing the type of the widget |
A clock/timer widget used for on-air clocks and countdowns. Obtained with Engine.GetWidgetByName and cast; key members are Start, Stop, Reset, Mode, Direction, StartAt, StopAt, Format, Value and the OnChange event (enabled with SetEventMode).
Also includes members of: xpBaseWidget
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Sets/Gets the name of the widget |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| Mode | ClockTimerMode | read/write | Set the mode of the widget to either Clock or Timer Remarks Each mode of the widget has it's own format property. The mode should be set before changing the format value. |
| Format | String | read/write | Sets the format string to control the display output format Remarks Each mode of the widget (Clock or Timer) has its own Format value. Before setting the Format value, you should ensure the widget is in the correct mode. |
| Direction | ClockTimerDirection | read/write | Set the direction of the counting |
| StartAt | String | read/write | Sets/Gets the starting value of the widget |
| StopAt | String | read/write | Sets/Gets the StopAt value of the widget |
| Value | String | read-only | Retrieves the current value that the widget would display onscreen as a string |
| TimerValue | Integer | read/write | Sets/Gets the current value of the widget in timer mode Remarks This accesses the current timer value in Timer mode. You should ensure the widget is in the correct mode. The value is in millseconds. |
| IsActive | Boolean | read-only | Returns True while the clock/timer is running. inferred |
Start the widget counting
Stop the widget from counting
Reset the value of the widget
Set the clock timer widget to generate events
Mode ValueDescriptionScene.SetOnline 0); in an XPression script write Scene.SetOnline(0).Public Class Form1
Dim engine As New xpEngine
Dim WithEvents Widget As xpClockTimerWidget
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
engine.GetWidgetByName("ClockTimer1", Widget)
Widget.SetEventMode(ClockTimerWidgetEventMode.temSeconds)
Widget.Mode = ClockTimerMode.ctm_Timer
Widget.StartAt = "00:02:00.0"
Widget.Reset()
Widget.Start()
End Sub
Private Sub OnChange(ByVal Hours As Integer, ByVal Minutes As Integer, ByVal Seconds As Integer, ByVal Milli As Integer) Handles Widget.OnChange
' Called when the seconds value changes
' Do something here
End Sub
End ClassGet the offset values for the widget in clock mode
Hours [out] Number of hours to offsetMinutes [out] Number of minutes to offsetSeconds [out] Number of seconds to offsetMilliseconds [out] Number of milliseconds to offsetSet the offset values for the widget in clock mode
Hours Number of hours to offset: [-23 to +23]Minutes Number of minutes to offset: [-59 to +59]Seconds Number of seconds to offset: [-59 to +59]Milliseconds Number of milliseconds to offset: [-999 to +999]COM events (for WithEvents/AddHandler in Global Methods; for normal scripting use the script events in section 2).
Callback function that will be called when the value of the ClockTimerWidget has changed
A numeric counter widget. Obtained with Engine.GetWidgetByName and cast; use Up, Down, Reset, Value, IncrementValue and ResetValue.
Also includes members of: xpBaseWidget
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Gets or sets the name of this item. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| Value | Integer | read/write | Gets or sets the current value of the counter. inferred |
| IncrementValue | Integer | read/write | Gets or sets the step added or subtracted by Up and Down. inferred |
| ResetValue | Integer | read/write | Gets or sets the value the counter returns to when Reset is called. inferred |
Increments the counter by IncrementValue; returns True on success. inferred
Decrements the counter by IncrementValue; returns True on success. inferred
Sets the counter back to ResetValue; returns True on success. inferred
A widget holding a list of strings that can be stepped through. Obtained with Engine.GetWidgetByName and cast; use AddString, ClearStrings, Next, Prev, Reset, ItemIndex and Value.
| Name | Type | Description | |
|---|---|---|---|
| ItemIndex | Integer | read/write | Get/Set the text list widget to a particular string item Remarks ItemIndex should be in the range of 0 to Count-1 |
| Value | String | read-only | Returns a string containing the value of the currently selected text item in the widget |
| Count | Integer | read-only | Returns a count of how many items are in the text list |
Advance the text list to the next item
Move the text list to the previous item
Reset the text list to the first item
Remove all string items from the text list
Add a new string item to the text list
Str [in] the new string to add to the text list widgetAn audio file from the project audio library. Obtained with Engine.GetAudioFileByName or Project.GetAudioFileByName; it exposes Name, FileName and SetFileName (Play is not implemented).
| Name | Type | Description | |
|---|---|---|---|
| FileName | String | read-only | Returns the filename associated with xpAudioFile object |
| Name | String | read/write | Returns the name of the xpAudioFile object |
Assign a new file to the xpAudioFile object
FileName [in] the new file to associate to the xpAudioFile objectNot yet implemented
A rendered image (frame) returned by methods such as Scene.GetRenderedFrame, Scene.GetThumbnail or xpOutputFrameBuffer.GetCurrentFrame. It exposes Size and Adapter for passing the image on to .NET code.
| Name | Type | Description | |
|---|---|---|---|
| Adapter | Object | read-only | Advanced: returns an adapter object that exposes the image data for use by .NET code. inferred |
| Size | Integer | read-only | Returns the size of the image data. inferred |
A video input on the installed hardware. Obtained with Engine.GetInputFrameBuffer; it reports Brand, BoardType, Active and FrameWidth/FrameHeight and can grab a frame with CaptureFrame.
| Name | Type | Description | |
|---|---|---|---|
| Brand | String | read-only | Returns the brand (manufacturer) of the video board behind this framebuffer. inferred |
| BoardType | String | read-only | Returns the type/model of the video board behind this framebuffer. inferred |
| BoardID | Integer | read-only | Returns the ID of the hardware board. inferred |
| Active | Boolean | read-only | Returns whether this item is currently active. inferred |
| FrameHeight | Integer | read-only | Returns the framebuffer's frame height in pixels. inferred |
| FrameWidth | Integer | read-only | Returns the framebuffer's frame width in pixels. inferred |
Grabs a frame from the video input at the given width and height; the image comes back in the ByRef Image parameter and the function returns True on success. inferred
Width Desired width of the captured imageHeight Desired height of the captured imageImage Reference to an xpImage object to hold the captured imageAn output channel (framebuffer) with layers on which scenes are taken to air. Get it with Engine.GetOutputFrameBuffer (or Engine.GetPreviewFrameBuffer for preview); key members are GetSceneOnLayer, GetTakeItemOnLayer, SetLayerVisible, MoveLayer, GetTallyState, GetCurrentFrame and the OnSceneState/OnClear events.
| Name | Type | Description | |
|---|---|---|---|
| Brand | String | read-only | Returns the brand (manufacturer) of the video board behind this framebuffer. inferred |
| BoardType | String | read-only | Returns the type/model of the video board behind this framebuffer. inferred |
| BoardID | Integer | read-only | Returns the ID of the hardware board. inferred |
| UsedLayerCount | Integer | read-only | Returns the number of layers currently in use on this output framebuffer. inferred |
| Active | Boolean | read-only | Returns whether this item is currently active. inferred |
| FrameWidth | Integer | read-only | Returns the framebuffer's frame width in pixels. inferred |
| FrameHeight | Integer | read-only | Returns the framebuffer's frame height in pixels. inferred |
| KeyingMode | KeyingMode | read-only | Returns the framebuffer's keying mode (off, internal or external). inferred |
| FieldCounter | Integer | read-only | Returns the output framebuffer's running field counter. inferred |
Render the current output of this framebuffer to an xpImage object
Sets the framebuffer's keying mode (off, internal or external); returns True on success. inferred
Mode ValueDescriptionGet a reference to an xpScene that is currently on the framebuffer output
Move a scene from one layer on the output framebuffer to another
SourceIndex [in] the source layerTargetIndex [in] the target layerGet the sequencer take item that is currently online on a specific layer of this output
Layer [in] layer from which the take item is requestedTakeItem [out] a pointer to an xpBaseTakeItem which represents the take item currently onlineSet a window handle to which XPression will render the output framebuffers data
WindowHandle Window Handle to which XPression should draw intoWidth Width of the windowHeight Height of the WindowGet the global camera which can be used by any scene on this output
Set's the visibility state of a layer on an output
Layer Layer indexVisible Should it be visible or notReturns if the specified layer is visible or not
Layer Layer indexVisible Returns the visibility state of the specified layerGet the current state of a layer on an output
State ValueDescriptionGets the scene at the given index (online on this framebuffer, or within this scene group); it comes back in Scene and the function returns True on success. inferred
Gets the take item at the given index on this output framebuffer; it comes back in TakeItem and the function returns True on success. inferred
Return the current Tally State of an output framebuffer
COM events (for WithEvents/AddHandler in Global Methods; for normal scripting use the script events in section 2).
A clip server channel controlled by XPression. Obtained with Engine.GetServerChannel or Engine.GetServerChannelByChannel; transport control via Play, Pause, FastForward, Rewind, Eject, TakePreview, EjectPreview and Loop.
| Name | Type | Description | |
|---|---|---|---|
| Loop | Boolean | read/write | Gets or sets whether playback loops back to the start when it reaches the end. inferred |
Play the channel
Pause the channel
Sends a fast-forward command to the clip server channel; returns True on success. inferred
Recue to the beginning of the clip
Eject the clip currently on program
Transfer what is cued on preview onto the server channels program output
Eject the clip currently on preview
Access to the XPression Tessera multi-engine configuration. Obtained via Engine.Tessera; it reports IsMaster/IsSlave, IsSingleEngine, SourceCount and node IDs, and offers GetSceneOnLayer, GetTakeItemOnLayer, SetLayerVisible and GetSourceInfo.
| Name | Type | Description | |
|---|---|---|---|
| IsMaster | Boolean | read-only | Returns True if this engine is the Tessera master. inferred |
| IsSlave | Boolean | read-only | Returns True if this engine is a Tessera slave node. inferred |
| SlaveNodeID | Integer | read-only | Returns this engine's node ID when it runs as a Tessera slave. inferred |
| IsSingleEngine | Boolean | read-only | Returns True if Tessera runs on a single engine (no master/slave cluster). inferred |
| SourceCount | Integer | read-only | Returns the number of Tessera sources available (see GetSourceInfo). inferred |
| RenderingNodeID | Integer | read-only | Returns the ID of the node doing the rendering. inferred |
Gets the take item on the given layer; it comes back in the ByRef TakeItem parameter and the function returns True on success. inferred
Gets the scene on the given layer; it comes back in the ByRef Scene parameter and the function returns True on success. inferred
Shows or hides the given layer; returns True on success. inferred
Gets whether the given layer is visible; the result comes back in the ByRef Visible parameter and the function returns True on success. inferred
Gets the name and GUID of the Tessera source at the given index through the ByRef parameters; returns True on success. inferred
Looks up a Tessera source by GUID; its name comes back in the ByRef Name parameter and the function returns True on success. inferred
Renders take items to video files on disk. Obtained through Engine.VideoExport; call LoadProfile and RenderTakeItem, monitor progress with Active and the OnProgress/OnFinished events, and cancel with Abort.
| Name | Type | Description | |
|---|---|---|---|
| Active | Boolean | read-only | Returns whether this item is currently active. inferred |
| FileFormat | String | read-only | Returns the file format of the video export, as set by the loaded profile. inferred |
| ForceDuration | Integer | read/write | Gets or sets the fixed duration used for the export when ForceDurationEnabled is True. inferred |
| ForceDurationEnabled | Boolean | read/write | Gets or sets whether the export uses the fixed ForceDuration instead of the take item's own length. inferred |
| RenderOutTransition | Boolean | read/write | Get/Set whether this render should include transition logic's out transition |
| Alpha | Boolean | read/write | Gets or sets whether an alpha channel is included in the exported video. inferred |
| Premultiplied | Boolean | read/write | Gets or sets whether the exported alpha is premultiplied. inferred |
Render a specified take item to a video on disk.
Abort the export of an item
Load a saved profile configuration (codec, settings, bitrates, etc) from disk
COM events (for WithEvents/AddHandler in Global Methods; for normal scripting use the script events in section 2).
An XML attribute of a metadata element. Obtained with GetAttrib/GetAttribByName on xpMetadata or xpElement; access its value with AsString/AsInteger/AsFloat/AsBool and the matching Set methods.
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read-only | Returns the name of this item (element, attribute, published object, project, property, or project-server show/style/category). inferred |
Returns the value as a String, or Default if it is not available. inferred
Returns the value converted to an Integer, or Default if it is missing or cannot be converted. inferred
Returns the value converted to a Double, or Default if it is missing or cannot be converted. inferred
Returns the value converted to a Boolean, or Default if it is missing or cannot be converted. inferred
Sets the value from a String; returns True on success. inferred
Sets the value from an Integer; returns True on success. inferred
Sets the value from a Double; returns True on success. inferred
Sets the value from a Boolean; returns True on success. inferred
The DataLinq binding of an object or property, which pulls values from an external data source. Obtained from the Datalinq property of text, quad, torus, sphere and background objects or with GetDatalinq on objects and published objects; key members are Value, LinkName, Table, Row, Column, Enabled and LiveUpdate.
| Name | Type | Description | |
|---|---|---|---|
| Value | String | read-only | Returns the current value retrieved by the DataLinq. inferred |
| LinkName | String | read/write | Gets or sets the name of the DataLinq source the binding reads from. inferred |
| Column | String | read/write | Gets or sets the column of the data source to read. inferred |
| Row | String | read/write | Gets or sets the row of the data source to read. inferred |
| Table | String | read/write | Gets or sets the table of the data source to read. inferred |
| Enabled | Boolean | read/write | Gets or sets whether this item is enabled. inferred |
| LiveUpdate | Boolean | read/write | Gets or sets whether the value updates live while the graphic is on air. inferred |
| EntityDecoding | Boolean | read/write | Gets or sets whether entities (such as HTML/XML entities) in the retrieved value are decoded. inferred |
| EmptyOnFailure | Boolean | read/write | Gets or sets whether the value is cleared when retrieving the data fails. inferred |
| DisableFontTags | Boolean | read/write | Gets or sets whether font tags in the retrieved text are ignored. inferred |
| NIncrement | Integer | read/write | Gets or sets the increment applied to the 'N' index used by the DataLinq row/field reference. inferred |
| PrependData | String | read/write | Gets or sets text added before the retrieved value. inferred |
| AppendData | String | read/write | Gets or sets text added after the retrieved value. inferred |
| RefreshLinqsOnChange | Boolean | read/write | Gets or sets whether other DataLinqs are refreshed when this value changes. inferred |
| ApplyPrependAppendOnEmpty | Boolean | read/write | Gets or sets whether PrependData/AppendData are still applied when the retrieved value is empty. inferred |
A single DataLinq key with Name, an AsString value and a Publish flag. Obtained from xpDatalinqKeys.GetKey/GetKeyByName or CreateKey.
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read-only | Returns the name of the datalinq key |
| AsString | String | read/write | Get/Set the value of the datalinq key Remarks If the scene is online, you may need to call xpScene.RefreshDatalinqs to update the datalinq data in the scene to reflect the new value of the key |
| Publish | Boolean | read/write | Gets or sets whether the DataLinq key is published. inferred |
The collection of DataLinq keys of a scene or take item, used to parameterize data lookups. Obtained with Scene.GetDatalinqKeys or xpTakeItem.GetDatalinqKeys; use GetKeyByName, KeyExistsByName and CreateKey, then Scene.RefreshDatalinqs to apply the changes.
| Name | Type | Description | |
|---|---|---|---|
| Count | Integer | read-only | Returns the count of datalinq keys |
Gets the DataLinq key at the given index; the key comes back in the ByRef DatalinqKey parameter and the function returns True on success. inferred
Gets a DataLinq key by name; the key comes back in the ByRef DatalinqKey parameter and the function returns True on success. inferred
Returns True if a DataLinq key with the given name exists. inferred
Create a new datalinq key
Name Key nameValue Initial value of the keyDatalinqKey Reference to the newly created datalinq keyAn XML element inside an xpMetadata tree, with child elements and attributes. Obtained from xpMetadata.CurrentElement, GetElement/GetElementByName or CreateElement; read and write its value with AsString/AsInteger/AsFloat/AsBool and SetString/SetInteger/SetFloat/SetBool.
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read-only | Returns the name of this item (element, attribute, published object, project, property, or project-server show/style/category). inferred |
| ElementCount | Integer | read-only | Number of child elements under the current element. |
| AttribCount | Integer | read-only | Numer of attributes the current element holds. |
| Parent | xpElement | read-only | Returns the parent XML element. |
Returns the value as a String, or Default if it is not available. inferred
Returns the value converted to an Integer, or Default if it is missing or cannot be converted. inferred
Returns the value converted to a Double, or Default if it is missing or cannot be converted. inferred
Returns the value converted to a Boolean, or Default if it is missing or cannot be converted. inferred
Sets the value from a String; returns True on success. inferred
Sets the value from an Integer; returns True on success. inferred
Sets the value from a Double; returns True on success. inferred
Sets the value from a Boolean; returns True on success. inferred
Retrieves a child element under the element by its name.
Name [in] The name of the requested element. This parameter is case-sensitive.Retrieves a child element under the element by its index.
Retrieves an attribute from the element by its name.
Name [in] The name of the requested attribute. This parameter is case-sensitive.Retrieves an attribute from the element by its index.
Creates and returns a new xpElement object.
Name [in] The name of the element. This parameter is case-sensitive.Add an attribute for the current element.
Name [in] The name of the attribute. This parameter is case-sensitive.Value [in] The value of the attribute. This parameter is case-sensitive.Deletes an element from the current element.
Element [in] the element to be deletedDeletes an attribute from the current element.
Attribute [in] the attribute to be deletedAn XML metadata store attached to a scene or object, navigated through a current-element cursor. Obtained with GetMetadata or CreateMetadata on a scene or object; use SetRoot, MoveToElement, CreateElement, AddAttribute, GetElementByName and SaveToString.
| Name | Type | Description | |
|---|---|---|---|
| ElementCount | Integer | read-only | Number of child elements under the current element. |
| AttribCount | Integer | read-only | Numer of attributes the current element holds. |
| CurrentElement | xpElement | read-only | Returns the current XML element. |
Sets the current element to the root of the internal XML structure.
Retrieves a child element under the current element by its name.
Name [in] The name of the requested element. This parameter is case-sensitive.Retrieves a child element under the current element by its index.
Retrieves an attribute from the current element by its name.
Name [in] The name of the requested attribute. This parameter is case-sensitive.Retrieves an attribute from the current element by its index.
Moves the current element to the next sibling element with the given name.
Name [in] The name of the requested element. This parameter is case-sensitive.Sets the current element to the element below the current by the name given.
Name [in] The name of the requested element. This parameter is case-sensitive.Recursive [in,optional] When TRUE the search will recusively traverse all nodes below the current and will return the first match found.Creates and returns a new xpElement object.
Name [in] The name of the element. This parameter is case-sensitive.Closes the current metadata element, making its parent the current element again; returns True on success. inferred
Sets the current element to the element above the current by the level given.
Deletes an element from the current element.
Element [in] the element to be deletedDeletes an attribute from the current element.
Attribute [in] the attribute to be deletedClears all saved bookmarks (stored current-element positions) in the metadata navigator. inferred
Saves the current element position onto the bookmark stack so it can be restored later with PopBookMark. inferred
Restores the current element to the position most recently saved with PushBookMark and removes it from the stack. inferred
Add an attribute for the current element.
Name [in] The name of the attribute. This parameter is case-sensitive.Value [in] The value of the attribute. This parameter is case-sensitive.Save the xml metadata to a string.
Value [out] The string to save the xml metadata.A collection of xpProperty items, such as the parameters of an effect. Obtained from xpEffect.Properties; use Count, GetByName, GetByIndex and ExistsByName.
| Name | Type | Description | |
|---|---|---|---|
| Count | Integer | read-only | Returns the number of items in the list or collection. inferred |
Retrieves a property by name; it comes back in the ByRef aProperty parameter and the function returns True on success. inferred
Returns True if the collection contains a property with the given name. inferred
Retrieves a property by index; it comes back in the ByRef aProperty parameter and the function returns True on success. inferred
A single named parameter with typed accessors. Obtained from xpProperties.GetByName/GetByIndex; read or write it via AsString, AsFloat, AsInt, AsBool or SetARGB/GetARGB, with Name, FullName, TypeName and Units describing it.
| Name | Type | Description | |
|---|---|---|---|
| AsString | String | read/write | Gets or sets the property value as a string. inferred |
| AsFloat | Double | read/write | Gets or sets the property value as a floating-point number. inferred |
| AsInt | Integer | read/write | Gets or sets the property value as an integer. inferred |
| AsBool | Boolean | read/write | Gets or sets the property value as a Boolean. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| Name | String | read-only | Returns the name of this item (element, attribute, published object, project, property, or project-server show/style/category). inferred |
| FullName | String | read-only | Returns the full (qualified) name of the property. inferred |
| Units | String | read-only | Returns the unit label of the property value, if any. inferred |
Sets a color property from alpha, red, green and blue components; returns True on success. inferred
Reads a color property; the alpha, red, green and blue components come back in the ByRef parameters and the function returns True on success. inferred
The collection of categories assigned to a Project Server show, returned by xpProjectServerShow.GetCategories. Use Count, GetCategory and GetCategoryByName.
| Name | Type | Description | |
|---|---|---|---|
| Count | Integer | read-only | Returns the number of items in the list or collection. inferred |
Returns the Project Server category at the given index. inferred
Gets a Project Server category by name; the category comes back in the ByRef Category parameter and the function returns True on success. inferred
A category of a Project Server show, with Name, ID and Description. Obtained from xpProjectServerCategories.GetCategory/GetCategoryByName.
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read-only | Returns the name of this item (element, attribute, published object, project, property, or project-server show/style/category). inferred |
| ID | Integer | read-only | Returns the numeric ID of the scene or of the Project Server show, style or category. inferred |
| Description | String | read-only | Returns the description text of the show, revision or category. inferred |
Client connection to an XPression Project Server for browsing and deploying shows. Obtained with Engine.GetProjectServerClient; call Connect, GetShowsByKeyword, GetShowRevisions and DeployRevision, and check Connected and LastError.
| Name | Type | Description | |
|---|---|---|---|
| AutoReconnect | Boolean | read/write | Gets or sets whether the client automatically reconnects to the Project Server when the connection is lost. inferred |
| Connected | Boolean | read-only | Returns True while the client is connected to the Project Server. inferred |
| LastError | String | read-only | Returns the message of the last error reported by the Project Server client. inferred |
Connects to the Project Server at Host with the given credentials (and optional port); returns True on success. inferred
Searches the server for shows matching the keywords (up to MaxResult); the result collection comes back in the ByRef Shows parameter and the function returns True on success. inferred
Gets the revisions of a show, optionally limited by MaxResult and filtered by category and style; the collection comes back in the ByRef Revisions parameter and the function returns True on success. inferred
Downloads (deploys) the given project revision into TargetFolder, optionally ignoring locked files; returns True on success. inferred
A single revision of a show on the Project Server, with author, notes, dates, project name and size. Obtained from xpProjectServerRevisions.GetRevision or xpProjectServerShow.LastRevision/GetLocalRevision, and passed to DeployRevision.
| Name | Type | Description | |
|---|---|---|---|
| Revision | Integer | read-only | Returns the revision number. inferred |
| Author | String | read-only | Returns the name of the user who created the revision. inferred |
| Description | String | read-only | Returns the description text of the show, revision or category. inferred |
| Note | String | read-only | Returns the note attached to the show or revision. inferred |
| AirDate | Date | read-only | Returns the air date of the show or revision. inferred |
| CreationDate | Date | read-only | Returns the date the show or revision was created. inferred |
| FileName | String | read-only | Returns the file name of the revision's project. inferred |
| ProjectGUID | String | read-only | Returns the GUID of the project this revision belongs to. inferred |
| ProjectName | String | read-only | Returns the name of the project (the current project on xpEngine; the revision's project on xpProjectServerRevision). inferred |
| TotalSizeInMB | Integer | read-only | Returns the total size of the revision's files in megabytes. inferred |
| TotalSizeInKB | Integer | read-only | Returns the total size of the revision's files in kilobytes. inferred |
| TotalFiles | Integer | read-only | Returns the number of files contained in the revision. inferred |
A collection of show revisions returned by xpProjectServerClient.GetShowRevisions. Use Count and GetRevision.
| Name | Type | Description | |
|---|---|---|---|
| Count | Integer | read-only | Returns the number of items in the list or collection. inferred |
Gets the revision at the given index of the collection; it comes back in the ByRef Revision parameter and the function returns True on success. inferred
A show stored on the Project Server with descriptive fields (Name, Season, Client, AirDate, GUID) and revision information. Obtained with xpProjectServerShows.GetShow; key members are RevisionCount, LastRevision, GetCategories, GetStyles, UpdateLocalRevisions and GetLocalRevision.
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read-only | Returns the name of this item (element, attribute, published object, project, property, or project-server show/style/category). inferred |
| Season | String | read-only | Returns the season the show belongs to. inferred |
| Client | String | read-only | Returns the client (customer) associated with the show. inferred |
| Description | String | read-only | Returns the description text of the show, revision or category. inferred |
| Note | String | read-only | Returns the note attached to the show or revision. inferred |
| AirDate | Date | read-only | Returns the air date of the show or revision. inferred |
| CreationDate | Date | read-only | Returns the date the show or revision was created. inferred |
| GUID | String | read-only | Returns the globally unique identifier of the show. inferred |
| RevisionCount | Integer | read-only | Returns the number of revisions the show has on the server. inferred |
| LastRevision | Date | read-only | Returns the date of the show's most recent revision. inferred |
| GetCategories | xpProjectServerCategories | read-only | Returns the collection of categories defined for the show. inferred |
| GetStyles | xpProjectServerStyles | read-only | Returns the collection of styles defined for the show. inferred |
| LocalRevisionCount | Integer | read-only | Returns the number of revisions in the show's local revision list (filled by UpdateLocalRevisions). inferred |
| ID | Integer | read-only | Returns the numeric ID of the scene or of the Project Server show, style or category. inferred |
| StartDate | Date | read-only | Returns the start date of the show. inferred |
Refreshes the show's local revision list for the given category and style IDs; returns True on success. inferred
Gets a revision from the show's local revision list by index; the revision comes back in the ByRef Revision parameter and the function returns True on success. inferred
A collection of shows returned by a Project Server query such as xpProjectServerClient.GetShowsByKeyword. Use Count and GetShow.
| Name | Type | Description | |
|---|---|---|---|
| Count | Integer | read-only | Returns the number of items in the list or collection. inferred |
Gets the show at the given index of the collection; the show comes back in the ByRef Show parameter and the function returns True on success. inferred
A style tag of a Project Server show, with Name and ID. Obtained from xpProjectServerStyles.GetStyle/GetStyleByName.
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read-only | Returns the name of this item (element, attribute, published object, project, property, or project-server show/style/category). inferred |
| ID | Integer | read-only | Returns the numeric ID of the scene or of the Project Server show, style or category. inferred |
The collection of styles assigned to a Project Server show, returned by xpProjectServerShow.GetStyles. Use Count, GetStyle and GetStyleByName.
| Name | Type | Description | |
|---|---|---|---|
| Count | Integer | read-only | Returns the number of items in the list or collection. inferred |
Returns the Project Server style at the given index. inferred
Gets a Project Server style by name; the style comes back in the ByRef Style parameter and the function returns True on success. inferred
A shader whose texture is drawn by script with a GDI+-style API (lines, rectangles, ellipses, polygons, curves and images). Obtained with Material.GetShaderByName and cast; wrap drawing in BeginUpdate/EndUpdate and use SetTextureSize, Clear, DrawLine, FillRect, DrawPolygon, SetImage and SetBlendMode together with xpPen and brush objects.
Also includes members of: xpBaseShader
| Name | Type | Description | |
|---|---|---|---|
| UID | Integer | read-only | Returns the shader's unique identifier. inferred |
| Name | String | read/write | Gets or sets the name of this item. inferred |
| TypeName | String | read-only | Returns the type of this object, widget, shader, property or effect as a string. inferred |
| FileName | String | read/write | Gets or sets the file name/path associated with the object (the media file loaded by a shader, or the output file of a record line). inferred |
| Width | Integer | read-only | Returns the width of the scene, or of the shader's source/texture. inferred |
| Height | Integer | read-only | Returns the height of the scene, or of the shader's source/texture. inferred |
| ColorMixValue | Double | read/write | Gets or sets the mix value used when blending this shader stage's color with the previous stage. inferred |
| ColorBlendMode | ColorBlendMode | read/write | Gets or sets how this shader stage's color is combined with the previous stage (multiply, add, subtract, mix, etc.). inferred |
| Enabled | Boolean | read/write | Gets or sets whether this item is enabled. inferred |
| TexturePosX | Double | read/write | Gets or sets the texture's X position (offset). inferred |
| TexturePosY | Double | read/write | Gets or sets the texture's Y position (offset). inferred |
| TextureRot | Double | read/write | Gets or sets the texture's rotation. inferred |
| TextureScaleX | Double | read/write | Gets or sets the texture's X scale. inferred |
| TextureScaleY | Double | read/write | Gets or sets the texture's Y scale. inferred |
| TexturePivotX | Double | read/write | Gets or sets the X coordinate of the texture's pivot point. inferred |
| TexturePivotY | Double | read/write | Gets or sets the Y coordinate of the texture's pivot point. inferred |
| TextureAddressModeU | TextureAddressMode | read/write | Gets or sets the texture addressing mode (wrap, mirror, clamp, border...) along the U axis. inferred |
| TextureAddressModeV | TextureAddressMode | read/write | Gets or sets the texture addressing mode (wrap, mirror, clamp, border...) along the V axis. inferred |
| AlphaBlendMode | AlphaBlendingMode | read/write | Gets or sets how this shader stage's alpha is combined with the previous stage. inferred |
| AlphaMixValue | Double | read/write | Gets or sets the mix value used when blending this shader stage's alpha with the previous stage. inferred |
| ColorSaturate | Boolean | read/write | Gets or sets whether the color result of this shader stage is saturated (clamped). inferred |
| AlphaSaturate | Boolean | read/write | Gets or sets whether the alpha result of this shader stage is saturated (clamped). inferred |
| ColorPreviousStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to the previous stage's color input. inferred |
| ColorCurrentStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to this stage's color input. inferred |
| AlphaPreviousStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to the previous stage's alpha input. inferred |
| AlphaCurrentStage | StageModifier | read/write | Gets or sets the modifier (invert, x2, bias, negate...) applied to this stage's alpha input. inferred |
Draws the outline of a closed polygon through the points in PointList using the given pen; returns True on success. inferred
Draws a cubic Bézier curve from (x1,y1) to (x4,y4) with control points (x2,y2) and (x3,y3) using the given pen; returns True on success. inferred
Draws a series of connected Bézier curves defined by the points in PointList using the given pen; returns True on success. inferred
Fills the polygon defined by the points in PointList with the given brush; returns True on success. inferred
Replaces the texture contents with raw pixel data (ARGB by default); returns True on success. inferred
DataType ValueDescriptionSets the texture contents from an xpImage object; returns True on success. inferred
Sets how subsequent drawing affects existing pixels: normal drawing or erase; returns True on success. inferred
Mode ValueDescriptionFills the closed smooth curve passing through the points in PointList with the given brush; returns True on success. inferred
Starts a batch of changes, deferring internal updates until EndUpdate is called, for faster modification. inferred
Ends a batch of changes started with BeginUpdate and applies them. inferred
Draws the outline of a rectangle at (x,y) with the given width and height using the pen; returns True on success. inferred
Draws a straight line from (x1,y1) to (x2,y2) using the given pen; returns True on success. inferred
Draws the outline of the ellipse bounded by the rectangle at (x,y) with the given width and height; returns True on success. inferred
Moves the current drawing position to (x,y) without drawing (used with LineTo). inferred
Draws a line from the current drawing position to (x,y) with the given pen, making (x,y) the new current position; returns True on success. inferred
Sets the size in pixels of the drawable texture. inferred
Clears the object's contents (for example its text lines, points or stored data, depending on the class). inferred
Draws the outline of a pie slice of the ellipse bounded by (x,y,Width,Height), starting at StartAngle and spanning SweepAngle; returns True on success. inferred
Draws an arc of the ellipse bounded by (x,y,Width,Height), starting at StartAngle and spanning SweepAngle, using the given pen. inferred
Fills a rectangle at (x,y) with the given width and height using the brush. inferred
Fills the ellipse bounded by the rectangle at (x,y) with the given width and height using the brush. inferred
Fills a pie slice of the ellipse bounded by (x,y,Width,Height), starting at StartAngle and spanning SweepAngle, using the brush. inferred
Draws a series of connected straight line segments through the points in PointList; returns True on success. inferred
Draws an open smooth curve passing through the points in PointList using the given pen; returns True on success. inferred
Clears the entire texture to the given RGBA color. inferred
Draws the outline of a closed smooth curve passing through the points in PointList; returns True on success. inferred
Sets the file the shader loads its content from; returns True on success. inferred
Reloads the shader's current file from disk; returns True on success. inferred
Assigns an xpScene to the shader (e.g. as the scene it uses as its source); returns True on success. inferred
Internal/advanced: passes a native handle value to the shader; meaning depends on the shader type (not applicable to video shaders). Returns True on success. inferred
Sets the audio volume level for the given channel(s) (a single channel or all); returns True on success. inferred
Channels ValueDescriptionGets the audio volume level of the given channel; it comes back in Level and the function returns True on success. inferred
Base type for the fill brushes used by the API texture shader. Created with Engine.CreateBrush and cast to xpSolidBrush or xpGradientBrush according to the BrushType requested.
A color value with integer (R, G, B, A) and floating-point (RF, GF, BF, AF) channels, a packed ARGB value and HSL helpers. Used by material, light, pen and brush members; change it with Update/UpdateF or SetHSL/SetHSLF.
| Name | Type | Description | |
|---|---|---|---|
| R | Integer | read/write | Gets and sets the red value as an integer Remarks Range [0 - 255] |
| G | Integer | read/write | Gets and sets the green value as an integer Remarks Range [0 - 255] |
| B | Integer | read/write | Gets and sets the blue value as an integer Remarks Range [0 - 255] |
| RF | Double | read/write | Gets and sets the red value as a floating point Remarks Range [0 - 1.0] |
| GF | Double | read/write | Gets and sets the green value as a floating point Remarks Range [0 - 1.0] |
| BF | Double | read/write | Gets and sets the blue value as a floating point Remarks Range [0 - 1.0] |
| A | Integer | read/write | Gets and sets the alpha value as an integer Remarks Range [0 - 255] |
| AF | Double | read/write | Gets and sets the alpha value as a floating point Remarks Range [0 - 1.0] |
| ARGB | Integer | read/write | Gets or sets the color as a single packed ARGB integer (alpha, red, green, blue). inferred |
Update the color using integer values
R [in] Red. Range [0 - 255]G [in] Green. Range [0 - 255]B [in] Blue. Range [0 - 255]A [in] Alpha. Range [0 - 255]Update the color using floating point values
R [in] Red. Range [0 - 1.0]G [in] Green. Range [0 - 1.0]B [in] Blue. Range [0 - 1.0]A [in] Alpha. Range [0 - 1.0]Set the color using floating point HSL values
H [in] Hue. Range [0 - 360.0]S [in] Saturation. Range [0 - 1.0]L [in] Luminance. Range [0 - 1.0]Get the color in floating point HSL values
H [out] Hue. Range [0 - 360.0]S [out] Saturation. Range [0 - 1.0]L [out] Luminance. Range [0 - 1.0]Get the color in integer HSL values
H [out] Hue. Range [0 - 360]S [out] Saturation. Range [0 - 100]L [out] Luminance. Range [0 - 100]Set the color using integer HSL values
H [in] Hue. Range [0 - 360]S [in] Saturation. Range [0 - 100]L [in] Luminance. Range [0 - 100]A gradient fill brush. Created with Engine.CreateBrush (gradient type); configure it with SetColors, SetGradientRect, GradientMode, WrapMode and RotationAngle.
Also includes members of: xpBaseBrush
| Name | Type | Description | |
|---|---|---|---|
| GradientMode | GradientBrushMode | read/write | Gets or sets the gradient direction (horizontal, vertical, forward diagonal or backward diagonal). inferred |
| WrapMode | GradientBrushWrapMode | read/write | Gets or sets how the gradient repeats outside its rectangle (tile, or tile flipped in X, Y or both). inferred |
| RotationAngle | Double | read/write | Gets or sets the rotation angle of the gradient. inferred |
Sets the gradient's start color (R1,G1,B1,A1) and end color (R2,G2,B2,A2). inferred
Retrieves the gradient's start and end RGBA colors; the components come back in the ByRef parameters. inferred
Sets the rectangle over which the gradient runs from start color to end color. inferred
Retrieves the gradient rectangle; its position and size come back in the ByRef parameters. inferred
A pen defining line color and style for xpAPITextureShader drawing. Created with Engine.CreatePen; set Size, SetColor, DashStyle, DashCap, LineStartCap/LineEndCap, LineJoin and MiterLimit.
| Name | Type | Description | |
|---|---|---|---|
| Size | Double | read/write | Gets or sets the pen width (line thickness). inferred |
| LineStartCap | LineCap | read/write | Gets or sets the cap style drawn at the start of lines (flat, square, round or triangle). inferred |
| LineEndCap | LineCap | read/write | Gets or sets the cap style drawn at the end of lines (flat, square, round or triangle). inferred |
| LineJoin | LineJoinMode | read/write | Gets or sets how connected line segments are joined (miter, bevel, round or clipped miter). inferred |
| MiterLimit | Double | read/write | Gets or sets the limit on the length of miter joins before they are clipped or beveled. inferred |
| DashStyle | DashStyle | read/write | Gets or sets the dash pattern of the pen (solid, dash, dot, dash-dot or dash-dot-dot). inferred |
| DashCap | DashCap | read/write | Gets or sets the cap style used at the ends of each dash (flat, round or triangle). inferred |
Sets the brush or pen color from RGBA components. inferred
Retrieves the brush or pen color; the RGBA components come back in the ByRef parameters. inferred
A list of points used for polygons, curves and multi-segment lines. Created with Engine.CreatePointList; use AddPoint, GetPoint, Count, Clear, TranslatePoints and ScalePoints.
| Name | Type | Description | |
|---|---|---|---|
| Count | Integer | read-only | Returns the number of items in the list or collection. inferred |
Appends the point (x,y) to the end of the list. inferred
Clears the object's contents (for example its text lines, points or stored data, depending on the class). inferred
Retrieves the point at the given index; its coordinates come back in the ByRef x and y parameters and the function returns True on success. inferred
Offsets every point in the list by (x,y). inferred
Scales the coordinates of every point in the list by the factors x and y. inferred
A single-color fill brush. Created with Engine.CreateBrush (solid type); set its color with SetColor/GetColor and pass it to the xpAPITextureShader Fill* methods.
Also includes members of: xpBaseBrush
Sets the brush or pen color from RGBA components. inferred
Retrieves the brush or pen color; the RGBA components come back in the ByRef parameters. inferred
A GPI board configured in XPression for sending and receiving general-purpose interface signals. Obtained with Engine.GetGPIBoard; use GetInputPinState, SetOutputPinState, TriggerAction and SendMessage (for example RossTalk) or SendBinaryMessage.
| Name | Type | Description | |
|---|---|---|---|
| Brand | String | read-only | Returns the brand of the GPI board |
| BoardType | String | read-only | Returns the board type of the GPI Board |
| BoardID | Integer | read-only | Returns the ID of the hardware board. inferred Remarks Not yet implemented for GPI Boards |
| Name | String | read-only | Returns the name of the GPI Board |
| InputCount | Integer | read-only | Gets the total number of GPI inputs on this board |
| OutputCount | Integer | read-only | Gets the total number of GPI outputs on this board |
Get the state of all GPI inputs on the board
Get the state of all GPI Outputs on the board
Set a GPI output pin to a state
PinID Pin number.State The state to set the GPI output to.Scene.SetOnline 0); in an XPression script write Scene.SetOnline(0).Dim gpi As xpGPIBoard
If engine.GPIBoardCount > 0 Then
engine.GetGPIBoard(0, gpi)
gpi.SetOutputPinState(0, True)
End IfGet the state of a single output pin
PinID Pin number.Get the state of a single input pin
PinID Pin number.Trigger a user defined GPI action
PinID Value between 0 and the (Number of Inputs-1)Scene.SetOnline 0); in an XPression script write Scene.SetOnline(0).Public Class Form1
Dim engine As New xpEngine
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim board As xpGPIBoard
engine.GetGPIBoard(0, board)
board.TriggerAction(PinID.Value)
End Sub
End ClassSend an ASCII message (e.g. Rosstalk) to a host that the GPI board may be connected to.
Msg The ASCII (rosstalk) message to be sent.Send raw binary data to a GPI Board's connected host
Msg The ascii data to be sentEntry point for recording video to files. Obtained via Engine.RecordEngine; create recorders with CreateRecordLine and read the number of ActiveRecordings.
| Name | Type | Description | |
|---|---|---|---|
| ActiveRecordings | Integer | read-only | Returns the number of recordings currently in progress. inferred |
Creates a new record line; it comes back in the ByRef RecordLine parameter and the function returns True on success. inferred
A single recording line that captures an input to a file. Created with xpRecordEngine.CreateRecordLine; set it up with Init and SetInputByIndex, control it with Start, Stop and SplitRecording, and monitor FramesRecorded, FramesDropped and Status.
| Name | Type | Description | |
|---|---|---|---|
| FileName | String | read/write | Gets or sets the file name/path associated with the object (the media file loaded by a shader, or the output file of a record line). inferred |
| FramesRecorded | Integer | read-only | Returns the number of frames recorded so far. inferred |
| FramesDropped | Integer | read-only | Returns the number of frames dropped during recording. inferred |
| AudioChannels | Integer | read/write | Gets or sets the number of audio channels to record. inferred |
| BufferedFrames | Integer | read-only | Returns the number of frames currently waiting in the record buffer. inferred |
| TotalBuffers | Integer | read-only | Returns the total number of buffers available to the record line. inferred |
| EncodeTime | Double | read-only | Returns the encoding time measured by the record line (performance indicator). inferred |
| Active | Boolean | read-only | Returns whether this item is currently active. inferred |
| Status | RecordStatus | read-only | Returns the current state of the record line (inactive, input active, ready, recording or flushing). inferred |
| RecordTimeLimit | Integer | read/write | Gets or sets the maximum duration of the recording. inferred |
Initializes the record line before recording; returns True on success. inferred
Starts the scene group playing, or starts recording on a record line; returns True on success. inferred
Stops the scene group, or stops recording on a record line; returns True on success. inferred
Selects the video input to record by index; returns True on success. inferred
Returns the index of the video input selected for recording. inferred
Continues the ongoing recording into a new file with the given name; returns True on success. inferred
A timecode source configured in XPression. Obtained with Engine.GetTimeCodeSource; read CurrentTimeCode, FrameCount and FrameRate, register alerts with NotifyOnTimeCode, and handle the OnTimeCodeChange and TimeCodeNotification events.
| Name | Type | Description | |
|---|---|---|---|
| Brand | String | read-only | Returns the brand name of the time code source |
| BoardType | String | read-only | Returns the board type of the time code source |
| BoardID | Integer | read-only | Returns the board ID of the time code source |
| Name | String | read-only | Returns the name of the time code source |
| CurrentTimeCode | String | read-only | Retrieves the current time code as a formatted string |
| FrameCount | Integer | read-only | Returns the current time code as frames |
| FrameRate | Integer | read-only | Returns the current frame rate |
| State | Integer | read-only | Returns the current time code source state |
| TimeCodePresent | Boolean | read-only | Returns True if a timecode source is present on the timecode input |
Register to be notified when a specific time code value is reached
Hours [in] Hours value 0-23Minutes [in] Minutes value 0-59Seconds [in] Seconds value 0-59Frames [in] Frames value 0-29UserData A user data integer value that will be passed back to the callback when the desired timecode has been reached. This can be used for any purpose desired by the calling function.Get the current time code
Hours [out] Current hours valueMinutes [out] Current minutes valueSeconds [out] Current seconds valueFrames [out] Current frames valueReset the time code source
Clear any pending time code notifications
COM events (for WithEvents/AddHandler in Global Methods; for normal scripting use the script events in section 2).
Event that gets called once per second when the time code changes
Event that gets called when a specific time code value is reached
The Visual Logic container of a scene, holding its visual logic tabs. Obtained via Scene.VisualLogic; use TabCount, GetTabByName/GetTabByIndex, TabExistsByName, LoadXVLFile, DeleteTabByName and Clear.
| Name | Type | Description | |
|---|---|---|---|
| TabCount | Integer | read-only | Returns the number of visual logic tabs that exist |
Clear the visual logic scripts
Load an XVL file from disk into a new visual logic tab.
FileName Filename of the .XVL file on disk.VisualLogicTab Returns a reference to the newly created visual logic tab.Get a reference to a visual logic tab by its index
Get a reference to a visual logic tab with a specified name
VisualLogicTab Returns a reference to the tab with the given nameCheck if a tab with a specified name exists
Delete a visual logic tab by its name
Name Name of the Visual Logic Tab to deleteDelete a visual logic tab using its index
Index 0 based index of the tab to deleteA single Visual Logic tab (graph). Obtained with xpVisualLogic.GetTabByName/GetTabByIndex; toggle it with Enabled, rename it via Name and export it with SaveToXVL.
| Name | Type | Description | |
|---|---|---|---|
| Name | String | read/write | Get/Set the name of a visual logic tab |
| Enabled | Boolean | read/write | Get/Set the Enabled state of a visual logic tab |
Save the visual logic tab to an XVL file on disk.
Blending mode used by API texture shader drawing operations.
APITextureBlendMode.atbm_Normal0APITextureBlendMode.atbm_Erase1How a shader alpha is combined with the previous stage.
AlphaBlendMode.abm_Auto0AlphaBlendMode.abm_On1AlphaBlendMode.abm_Off2Alpha blending mode applied to a material layer.
AlphaBlendingMode.abm_Multiply0AlphaBlendingMode.abm_Addition1AlphaBlendingMode.abm_Mix2AlphaBlendingMode.abm_Subtract3AlphaBlendingMode.abm_Previous4AlphaBlendingMode.abm_PreviousFill5AlphaBlendingMode.abm_Current6Object channel driven by a continuous animation.
AnimChannel.ac_PositionX0AnimChannel.ac_PositionY1AnimChannel.ac_PositionZ2AnimChannel.ac_RotationX3AnimChannel.ac_RotationY4AnimChannel.ac_RotationZ5AnimChannel.ac_ScaleX6AnimChannel.ac_ScaleY7AnimChannel.ac_ScaleZ8AnimChannel.ac_PivotX9AnimChannel.ac_PivotY10AnimChannel.ac_PivotZ11AnimChannel.ac_Alpha12AnimChannel.ac_TexturePositionX13AnimChannel.ac_TexturePositionY14How a quad keeps its aspect ratio relative to its material.
AspectMode.am_Fit0AspectMode.am_Width1AspectMode.am_Height2AspectMode.am_Crop3AspectMode.am_FitCrop4Audio channel selection for the volume level methods of shaders.
AudioChannel.ac_All0AudioChannel.ac_Channel11AudioChannel.ac_Channel22AudioChannel.ac_Channel34AudioChannel.ac_Channel48AudioChannel.ac_Channel516AudioChannel.ac_Channel632AudioChannel.ac_Channel764AudioChannel.ac_Channel8128AudioChannel.ac_Channel9256AudioChannel.ac_Channel10512AudioChannel.ac_Channel111024AudioChannel.ac_Channel122048AudioChannel.ac_Channel134096AudioChannel.ac_Channel148192AudioChannel.ac_Channel1516384AudioChannel.ac_Channel1632768AudioChannel.ac_StereoPair13AudioChannel.ac_StereoPair212AudioChannel.ac_StereoPair348AudioChannel.ac_StereoPair4192AudioChannel.ac_StereoPair5768AudioChannel.ac_StereoPair63072AudioChannel.ac_StereoPair712288AudioChannel.ac_StereoPair849152How a text object automatically scales its text to fit.
AutoScaleMode.ascm_WidthAndHeight0AutoScaleMode.ascm_Width1AutoScaleMode.ascm_Height2Target dimension used by text auto-scaling.
AutoScaleTarget.ast_FirstChild0AutoScaleTarget.ast_Children1How a text object squeezes its text to fit AutoSqueezeWidth.
AutoSqueezeMode.asm_Width0AutoSqueezeMode.asm_WidthHeight1Selects a coordinate axis (X, Y or Z).
Axis.Axis_X1Axis.Axis_Y2Axis.Axis_Z4Axis.Axis_All7Source or destination blend factor of a material layer.
BlendFactor.bf_Zero1BlendFactor.bf_One2BlendFactor.bf_SrcColor3BlendFactor.bf_InvSrcColor4BlendFactor.bf_SrcAlpha5BlendFactor.bf_InvSrcAlpha6BlendFactor.bf_DestAlpha7BlendFactor.bf_InvDestAlpha8BlendFactor.bf_DestColor9BlendFactor.bf_InvDestColor10Operation used to combine source and destination colors in a material layer.
BlendOperation.bo_Add1BlendOperation.bo_Subtract2BlendOperation.bo_RevSubstract3BlendOperation.bo_Min4BlendOperation.bo_Max5Kind of brush created by Engine.CreateBrush (solid or gradient).
BrushType.bt_Solid0BrushType.bt_Gradient1Operating mode of a camera object.
CameraMode.cm_Direction0CameraMode.cm_Position1CameraMode.cm_Object2Playback direction in which a scene director clip or event is active.
ClipDirection.cd_Forward0ClipDirection.cd_Reverse1Counting direction (up or down) of a clock/timer widget.
ClockTimerDirection.ctd_Up0ClockTimerDirection.ctd_Down1Whether a clock/timer widget works as a clock or as a timer.
ClockTimerMode.ctm_Clock0ClockTimerMode.ctm_Timer1When a clock/timer widget raises its OnChange event.
ClockTimerWidgetEventMode.temNone0ClockTimerWidgetEventMode.temSeconds1ClockTimerWidgetEventMode.temMinutes2ClockTimerWidgetEventMode.temHours3How a shader color is combined with the previous stage.
ColorBlendMode.cbm_Multiply0ColorBlendMode.cbm_Add1ColorBlendMode.cbm_Subtract2ColorBlendMode.cbm_Mix3ColorBlendMode.cbm_Dot34ColorBlendMode.cbm_Alpha5ColorBlendMode.cbm_Previous6ColorBlendMode.cbm_Current7Face culling mode of an object (which faces are not drawn).
CullMode.cm_CounterClockwise3CullMode.cm_Clockwise2CullMode.cm_None1Cap style applied to the ends of dashes in a dashed pen line.
DashCap.dc_Flat0DashCap.dc_Round2DashCap.dc_Triangle3Dash pattern of a pen (solid, dashed, dotted and so on).
DashStyle.ds_Solid0DashStyle.ds_Dash1DashStyle.ds_Dot2DashStyle.ds_DashDot3DashStyle.ds_DashDotDot4Depth-buffer write mode of an object.
DepthWritesMode.DWM_Automatic0DepthWritesMode.DWM_Enabled1DepthWritesMode.DWM_Disabled2How the duration of a scene group is defined.
DurationMode.dm_Speed0DurationMode.dm_Seconds1DurationMode.dm_Frames2State of the engine, as reported by the Engine OnState event.
EngineState.es_ProjectLoaded0EngineState.es_ProjectUnloaded1How the engine raises its render events (Engine.RenderEventMode).
EventMode.em_Disabled0EventMode.em_OnField1EventMode.em_OnFrame2EventMode.em_OnFieldIgnoreTimeOut3EventMode.em_OnFrameIgnoreTimeOut4Action a director event performs when reached (such as pause, jump or loop).
ExecuteAction.ea_JumpToFrame0ExecuteAction.ea_PlayRange1ExecuteAction.ea_TakeOffline2Whether a camera field of view is measured horizontally or vertically.
FOVOrientation.fovo_Vertical0FOVOrientation.fovo_Horizontal1Gradient type of a gradient brush.
GradientBrushMode.gbm_Horizontal0GradientBrushMode.gbm_Vertical1GradientBrushMode.gbm_ForwardDiagonal2GradientBrushMode.gbm_BackwardDiagonal3How a gradient brush repeats outside its gradient rectangle.
GradientBrushWrapMode.gbwm_Tile0GradientBrushWrapMode.gbwm_TileFlipX1GradientBrushWrapMode.gbwm_TileFlipY2GradientBrushWrapMode.gbwm_TileFlipXY3Pixel format of raw image data passed to the API texture shader.
ImageDataType.idt_ARGB0How the timing of items in a take item group is determined.
ItemTiming.it_PerItem0ItemTiming.it_PerGroup1ItemTiming.it_FixedPerItem2ItemTiming.it_UseSceneDir3ItemTiming.it_Manual4Keyframe channels (position, rotation, scale and so on) targeted when setting or deleting keyframes.
KeyChannels.kc_Position7KeyChannels.kc_PositionX1KeyChannels.kc_PositionY2KeyChannels.kc_PositionZ4KeyChannels.kc_Rotation56KeyChannels.kc_RotationX8KeyChannels.kc_RotationY16KeyChannels.kc_RotationZ32KeyChannels.kc_Scale448KeyChannels.kc_ScaleX64KeyChannels.kc_ScaleY128KeyChannels.kc_ScaleZ256KeyChannels.kc_All-1Interpolation type used between keyframes.
KeyInterpolation.ki_TCBSpline1KeyInterpolation.ki_Hermite2KeyInterpolation.ki_Bezier3KeyInterpolation.ki_Linear4KeyInterpolation.ki_Hold5Keying mode of an output framebuffer.
KeyingMode.km_Internal1KeyingMode.km_External2KeyingMode.km_Off0Cap style drawn at the start or end of a pen line.
LineCap.lc_Flat0LineCap.lc_Square1LineCap.lc_Round2LineCap.lc_Triangle3Join style between connected line segments drawn with a pen.
LineJoinMode.ljm_Miter0LineJoinMode.ljm_Bevel1LineJoinMode.ljm_Round2LineJoinMode.ljm_MiterClipped3File format used by xpLinesObject LoadFromFile and SaveToFile.
LinesFileType.lft_Binary0LinesFileType.lft_XML1How a lines object renders its point lists.
ListMode.lm2D0ListMode.lm3D1Playback state of a material, as reported by OnMaterialState.
MaterialState.ms_PositionEnd0MaterialState.ms_PositionEndPreroll1Type or severity of a message written to the log or debug monitor.
MessageType.mt_Notify0MessageType.mt_Warning1MessageType.mt_Error2Positioning mode used by move operations such as moving scenes or sequencer items.
MoveMode.mmIgnore0MoveMode.mmInsertBefore1MoveMode.mmInsertAfter2MoveMode.mmAddChildFirst3MoveMode.mmAddChildLast4Online state of a scene or take item (such as online, offline or cued).
OnlineState.osNone0OnlineState.osPreparing1OnlineState.osTransitionIn2OnlineState.osTransitionOut3OnlineState.osPaused4OnlineState.osOnline5OnlineState.osDownloading6OnlineState.osDataApplied7OnlineState.osDataCued8OnlineState.osDataPartial9OnlineState.osCued10Playback direction (forward or reverse) of animation controllers and scene directors.
PlayDirection.pd_Forward0PlayDirection.pd_Backward1Playback mode, such as play once or loop.
PlayMode.pm_Once0PlayMode.pm_Loop1PlayMode.pm_PingPong2PlayMode.pm_Stopped-1Playback state (such as playing, paused or stopped) of animation controllers and scene directors.
PlayState.ps_Stopped0PlayState.ps_Paused1PlayState.ps_Playing2PlayState.ps_Active3PlayState.ps_Inactive4Source of a published property value (for example a static value, a widget or DataLinq).
PropertySourceType.pst_Static0PropertySourceType.pst_DataLinq1PropertySourceType.pst_Widget2Data type of an object property, as described by GetPropertyInfo.
PropertyType.pt_String0PropertyType.pt_Vector1PropertyType.pt_Material2PropertyType.pt_Boolean3Status of a record line.
RecordStatus.rs_Inactive0RecordStatus.rs_InputActive1RecordStatus.rs_Ready2RecordStatus.rs_Recording3RecordStatus.rs_Flushing4Render order priority of a text object relative to other objects.
RenderOrderPriority.rop_Normal0RenderOrderPriority.rop_TextOnTop1Type of rendering reported in engine render information.
RenderType.rt_Online0RenderType.rt_Preview1RenderType.rt_NLE2Repeat behavior of a take item group.
RepeatMode.rm_Never0RepeatMode.rm_Every1RepeatMode.rm_WhenDone2RepeatMode.rm_After3Time unit of a take item group repeat interval.
RepeatUnit.ru_Seconds0RepeatUnit.ru_Minutes1RepeatUnit.ru_Hours2How an object rotation is interpreted.
RotationMode.rm_World0RotationMode.rm_Local1Order in which X, Y and Z rotations are applied to an object.
RotationOrder.ro_Default0RotationOrder.ro_XYZ1RotationOrder.ro_YZX2RotationOrder.ro_ZXY3RotationOrder.ro_XZY4RotationOrder.ro_YXZ5RotationOrder.ro_ZYX6Type of a scene director clip (animation, material, audio, event and so on).
SceneDirectorClipType.ct_AnimController1SceneDirectorClipType.ct_Material2SceneDirectorClipType.ct_Audio3SceneDirectorClipType.ct_Event4SceneDirectorClipType.ct_AudioMaterial5SceneDirectorClipType.ct_None0State of a scene director, as reported by OnSceneDirectorState.
SceneDirectorState.sd_PositionStart0SceneDirectorState.sd_PositionEnd1SceneDirectorState.sd_StateChange2Direction in which a scene group moves its scenes.
SceneGroupDirection.sgd_Normal0SceneGroupDirection.sgd_Reverse1Playback mode of a scene group.
SceneGroupMode.sgm_Roll0SceneGroupMode.sgm_Crawl1State of a scene on an output, as reported by the OnSceneState events.
SceneState.ss_Showing0SceneState.ss_Finished1Shadow style of a font.
ShadowStyle.ss_Soft1ShadowStyle.ss_Drop2Modifier applied to the previous or current stage in shader color and alpha blending.
StageModifier.sm_None0StageModifier.sm_Invert1StageModifier.sm_x22StageModifier.sm_x2_Negate3StageModifier.Bias4StageModifier.Bias_Negate5StageModifier.Bias_x26StageModifier.Bias_x2_Negate7How the start time of a take item group is defined.
StartAtMode.sa_Immediate0StartAtMode.sa_Time1Synchronization mode of a continuous animation.
SyncMode.sm_Reset0SyncMode.sm_Clock1Alignment of a tab stop in a text object.
TabAlignment.ta_Left0TabAlignment.ta_Right1TabAlignment.ta_Center2Direction of movement in a take item group sequence.
TakeItemGroupDirection.gd_Normal0TakeItemGroupDirection.gd_Reverse1Visual effect used by a take item group sequence.
TakeItemGroupEffect.ge_Roll0TakeItemGroupEffect.ge_Crawl1Playback mode of a take item group.
TakeItemGroupMode.gm_Manual0TakeItemGroupMode.gm_Timed1TakeItemGroupMode.gm_RollCrawl2TakeItemGroupMode.gm_DataPages3TakeItemGroupMode.gm_TakeAll4Tally state of an output framebuffer.
TallyState.ts_Off0TallyState.ts_Red1TallyState.ts_Green2TallyState.ts_Amber3Color tag shown for an object in the Template Data view.
TemplateDataColors.tdc_Default0TemplateDataColors.tdc_Yellow1TemplateDataColors.tdc_Red2TemplateDataColors.tdc_Blue3TemplateDataColors.tdc_Orange4TemplateDataColors.tdc_Green5TemplateDataColors.tdc_Purple6TemplateDataColors.tdc_Turquoise7TemplateDataColors.tdc_Emerald8TemplateDataColors.tdc_Sunflower9TemplateDataColors.tdc_Coral10TemplateDataColors.tdc_Amethyst11TemplateDataColors.tdc_Slate12TemplateDataColors.tdc_Peach13TemplateDataColors.tdc_Brown14How texture coordinates outside the texture are handled (for example wrap, clamp or mirror).
TextureAddressMode.tam_Wrap1TextureAddressMode.tam_Mirror2TextureAddressMode.tam_Clamp3TextureAddressMode.tam_Border4TextureAddressMode.tam_MirrorOnce5Frame rate of a timecode source.
TimeCodeFrameRate.Rate_240TimeCodeFrameRate.Rate_251TimeCodeFrameRate.Rate_302TimeCodeFrameRate.Rate_Unknown3Type of a scene director track.
TrackType.tt_Track0TrackType.tt_Audio1Field handling mode of a video shader.
VideoFieldMode.vfm_AutoDetect0VideoFieldMode.vfm_Progressive1VideoFieldMode.vfm_UpperFieldFirst2VideoFieldMode.vfm_LowerFieldFirst3Waveform shape used by a continuous animation.
WaveForm.wf_Sine0WaveForm.wf_Cosine1WaveForm.wf_Triangle2WaveForm.wf_Square3WaveForm.wf_SawTooth4How the waveform of a continuous animation is applied to its channel.
WaveFormMode.wfm_Symmetric0WaveFormMode.wfm_Asymmetric1What a take item group does when its sequence finishes.
WhenFinished.wf_KeepOnline0WhenFinished.wf_TakeOffline1How this guide was produced:
net\xpression.net.dll. Descriptions come from Help\XPressionSDK.chm (© Ross Video), and the Portuguese text is a translation of them.Microsoft.VisualBasic 8.0.0.0.xpcplr.dll in a .NET 2.0 host, with the same mode, references and wrapper.Unofficial guide, not affiliated with Ross Video.