Struct Slate
Represents a slate. A slate stores information about the shot.
Namespace: Unity.LiveCapture
Assembly: Unity.LiveCapture.dll
Syntax
[Serializable]
public struct Slate
Properties
Description
The description of the shot stored in the slate.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
SceneNumber
The number associated with the scene to record.
Declaration
public int SceneNumber { get; set; }
Property Value
Type | Description |
---|---|
int |
ShotName
The name of the shot stored in the slate.
Declaration
public string ShotName { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
The recorded takes automatically inherit from this name.
TakeNumber
The number associated with the take to record.
Declaration
public int TakeNumber { get; set; }
Property Value
Type | Description |
---|---|
int |
Remarks
The number increments after recording a take.
Methods
Equals(object)
Determines whether the specified object is equal to the current Slate.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current Slate. |
Returns
Type | Description |
---|---|
bool | true if the specified object is equal to the current Slate; otherwise, false. |
Overrides
Equals(Slate)
Declaration
public bool Equals(Slate other)
Parameters
Type | Name | Description |
---|---|---|
Slate | other |
Returns
Type | Description |
---|---|
bool |
GetHashCode()
Gets the hash code for the Slate.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | The hash value generated for this Slate. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |
Overrides
Operators
operator ==(Slate, Slate)
Determines whether the two specified Slates are equal.
Declaration
public static bool operator ==(Slate a, Slate b)
Parameters
Returns
Type | Description |
---|---|
bool | true if the specified Slates are equal; otherwise, false. |
operator !=(Slate, Slate)
Determines whether the two specified Slates are different.
Declaration
public static bool operator !=(Slate a, Slate b)
Parameters
Returns
Type | Description |
---|---|
bool | true if the specified Slates are different; otherwise, false. |