Class SdfLayer
Namespace: pxr
Syntax
public class SdfLayer : IDisposable
Methods
AddToMutedLayers(String)
Declaration
public static void AddToMutedLayers(string mutedPath)
Parameters
Type |
Name |
Description |
String |
mutedPath |
|
Apply(SdfBatchNamespaceEdit)
Declaration
public bool Apply(SdfBatchNamespaceEdit arg0)
Parameters
Returns
ApplyRootPrimOrder(TfTokenVector)
Declaration
public void ApplyRootPrimOrder(TfTokenVector vec)
Parameters
CanApply(SdfBatchNamespaceEdit)
Declaration
public SdfNamespaceEditDetail.Result CanApply(SdfBatchNamespaceEdit arg0)
Parameters
Returns
CanApply(SdfBatchNamespaceEdit, SdfNamespaceEditDetailVector)
Declaration
public SdfNamespaceEditDetail.Result CanApply(SdfBatchNamespaceEdit arg0, SdfNamespaceEditDetailVector details)
Parameters
Returns
Clear()
Declaration
ClearColorConfiguration()
Declaration
public void ClearColorConfiguration()
ClearColorManagementSystem()
Declaration
public void ClearColorManagementSystem()
ClearCustomLayerData()
Declaration
public void ClearCustomLayerData()
ClearDefaultPrim()
Declaration
public void ClearDefaultPrim()
ClearEndTimeCode()
Declaration
public void ClearEndTimeCode()
ClearFramePrecision()
Declaration
public void ClearFramePrecision()
ClearFramesPerSecond()
Declaration
public void ClearFramesPerSecond()
ClearOwner()
Declaration
ClearSessionOwner()
Declaration
public void ClearSessionOwner()
ClearStartTimeCode()
Declaration
public void ClearStartTimeCode()
ClearTimeCodesPerSecond()
Declaration
public void ClearTimeCodesPerSecond()
ComputeAbsolutePath(String)
Declaration
public string ComputeAbsolutePath(string relativePath)
Parameters
Type |
Name |
Description |
String |
relativePath |
|
Returns
ComputeRealPath(String)
Declaration
public static string ComputeRealPath(string layerPath)
Parameters
Type |
Name |
Description |
String |
layerPath |
|
Returns
CreateAnonymous()
Declaration
public static SdfLayer CreateAnonymous()
Returns
CreateAnonymous(String)
Declaration
public static SdfLayer CreateAnonymous(string tag)
Parameters
Type |
Name |
Description |
String |
tag |
|
Returns
CreateAnonymous(String, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t)
Declaration
public static SdfLayer CreateAnonymous(string tag, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t args)
Parameters
Returns
Declaration
public static SdfLayer CreateAnonymous(string tag, SWIGTYPE_p_TfDeclarePtrsT_SdfFileFormat_t__ConstPtr format)
Parameters
Returns
Declaration
public static SdfLayer CreateAnonymous(string tag, SWIGTYPE_p_TfDeclarePtrsT_SdfFileFormat_t__ConstPtr format, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t args)
Parameters
Returns
CreateIdentifier(String, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t)
Declaration
public static string CreateIdentifier(string layerPath, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t arguments)
Parameters
Returns
Declaration
public static SdfLayer CreateNew(SWIGTYPE_p_TfDeclarePtrsT_SdfFileFormat_t__ConstPtr fileFormat, string identifier)
Parameters
Returns
Declaration
public static SdfLayer CreateNew(SWIGTYPE_p_TfDeclarePtrsT_SdfFileFormat_t__ConstPtr fileFormat, string identifier, string realPath)
Parameters
Returns
Declaration
public static SdfLayer CreateNew(SWIGTYPE_p_TfDeclarePtrsT_SdfFileFormat_t__ConstPtr fileFormat, string identifier, string realPath, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t args)
Parameters
Returns
CreateNew(String)
Declaration
public static SdfLayer CreateNew(string identifier)
Parameters
Type |
Name |
Description |
String |
identifier |
|
Returns
CreateNew(String, String)
Declaration
public static SdfLayer CreateNew(string identifier, string realPath)
Parameters
Returns
CreateNew(String, String, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t)
Declaration
public static SdfLayer CreateNew(string identifier, string realPath, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t args)
Parameters
Returns
Dispose()
Declaration
public virtual void Dispose()
Implements
DumpLayerInfo()
Declaration
public static void DumpLayerInfo()
EraseField(SdfPath, TfToken)
Declaration
public void EraseField(SdfPath path, TfToken fieldName)
Parameters
EraseFieldDictValueByKey(SdfPath, TfToken, TfToken)
Declaration
public void EraseFieldDictValueByKey(SdfPath path, TfToken fieldName, TfToken keyPath)
Parameters
EraseTimeSample(SdfPath, Double)
Declaration
public void EraseTimeSample(SdfPath path, double time)
Parameters
Export(String)
Declaration
public bool Export(string filename)
Parameters
Type |
Name |
Description |
String |
filename |
|
Returns
Export(String, String)
Declaration
public bool Export(string filename, string comment)
Parameters
Returns
Export(String, String, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t)
Declaration
public bool Export(string filename, string comment, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t args)
Parameters
Returns
ExportToString()
Declaration
public string ExportToString()
Returns
Finalize()
Declaration
protected void Finalize()
Find(String)
Declaration
public static SdfLayerHandle Find(string identifier)
Parameters
Type |
Name |
Description |
String |
identifier |
|
Returns
Find(String, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t)
Declaration
public static SdfLayerHandle Find(string identifier, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t args)
Parameters
Returns
FindOrOpen(String)
Declaration
public static SdfLayer FindOrOpen(string identifier)
Parameters
Type |
Name |
Description |
String |
identifier |
|
Returns
FindOrOpen(String, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t)
Declaration
public static SdfLayer FindOrOpen(string identifier, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t args)
Parameters
Returns
FindRelativeToLayer(SdfLayerHandle, String)
Declaration
public static SdfLayerHandle FindRelativeToLayer(SdfLayerHandle anchor, string layerPath)
Parameters
Returns
FindRelativeToLayer(SdfLayerHandle, String, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t)
Declaration
public static SdfLayerHandle FindRelativeToLayer(SdfLayerHandle anchor, string layerPath, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t args)
Parameters
Returns
GetAssetInfo()
Declaration
public VtValue GetAssetInfo()
Returns
GetAssetName()
Declaration
public string GetAssetName()
Returns
GetAttributeAtPath(SdfPath)
Declaration
public SdfAttributeSpecHandle GetAttributeAtPath(SdfPath path)
Parameters
Returns
GetBracketingTimeSamples(Double, ref Double, ref Double)
Declaration
public bool GetBracketingTimeSamples(double time, ref double tLower, ref double tUpper)
Parameters
Returns
GetBracketingTimeSamplesForPath(SdfPath, Double, ref Double, ref Double)
Declaration
public bool GetBracketingTimeSamplesForPath(SdfPath path, double time, ref double tLower, ref double tUpper)
Parameters
Returns
GetColorConfiguration()
Declaration
public SdfAssetPath GetColorConfiguration()
Returns
GetColorManagementSystem()
Declaration
public TfToken GetColorManagementSystem()
Returns
Declaration
public string GetComment()
Returns
GetCustomLayerData()
Declaration
public VtDictionary GetCustomLayerData()
Returns
GetDefaultPrim()
Declaration
public TfToken GetDefaultPrim()
Returns
GetDisplayName()
Declaration
public string GetDisplayName()
Returns
GetDisplayNameFromIdentifier(String)
Declaration
public static string GetDisplayNameFromIdentifier(string identifier)
Parameters
Type |
Name |
Description |
String |
identifier |
|
Returns
GetDocumentation()
Declaration
public string GetDocumentation()
Returns
GetEndTimeCode()
Declaration
public double GetEndTimeCode()
Returns
GetExternalReferences()
Declaration
public SWIGTYPE_p_std__setT_std__string_t GetExternalReferences()
Returns
GetField(SdfPath, TfToken)
Declaration
public VtValue GetField(SdfPath path, TfToken fieldName)
Parameters
Returns
GetFieldDictValueByKey(SdfPath, TfToken, TfToken)
Declaration
public VtValue GetFieldDictValueByKey(SdfPath path, TfToken fieldName, TfToken keyPath)
Parameters
Returns
GetFieldTypeid(SdfPath, TfToken)
Declaration
public SWIGTYPE_p_std__type_info GetFieldTypeid(SdfPath path, TfToken name)
Parameters
Returns
GetFileExtension()
Declaration
public string GetFileExtension()
Returns
Declaration
public SWIGTYPE_p_TfDeclarePtrsT_SdfFileFormat_t__ConstPtr GetFileFormat()
Returns
Declaration
public SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t GetFileFormatArguments()
Returns
GetFramePrecision()
Declaration
public int GetFramePrecision()
Returns
GetFramesPerSecond()
Declaration
public double GetFramesPerSecond()
Returns
GetHasOwnedSubLayers()
Declaration
public bool GetHasOwnedSubLayers()
Returns
GetIdentifier()
Declaration
public string GetIdentifier()
Returns
GetLoadedLayers()
Declaration
public static SWIGTYPE_p_SdfLayerHandleSet GetLoadedLayers()
Returns
GetMutedLayers()
Declaration
public static SWIGTYPE_p_std__setT_std__string_t GetMutedLayers()
Returns
GetNumSubLayerPaths()
Declaration
public uint GetNumSubLayerPaths()
Returns
GetNumTimeSamplesForPath(SdfPath)
Declaration
public uint GetNumTimeSamplesForPath(SdfPath path)
Parameters
Returns
GetObjectAtPath(SdfPath)
Declaration
public SdfSpecHandle GetObjectAtPath(SdfPath path)
Parameters
Returns
GetOwner()
Declaration
Returns
GetPrimAtPath(SdfPath)
Declaration
public SdfPrimSpecHandle GetPrimAtPath(SdfPath path)
Parameters
Returns
GetPropertyAtPath(SdfPath)
Declaration
public SdfPropertySpecHandle GetPropertyAtPath(SdfPath path)
Parameters
Returns
GetPseudoRoot()
Declaration
public SdfPrimSpecHandle GetPseudoRoot()
Returns
GetRealPath()
Declaration
public string GetRealPath()
Returns
GetRelationshipAtPath(SdfPath)
Declaration
public SdfRelationshipSpecHandle GetRelationshipAtPath(SdfPath path)
Parameters
Returns
GetRepositoryPath()
Declaration
public string GetRepositoryPath()
Returns
GetRootPrims()
Declaration
public SWIGTYPE_p_SdfPrimSpecView GetRootPrims()
Returns
GetSchema()
Declaration
public SWIGTYPE_p_SdfSchemaBase GetSchema()
Returns
GetSessionOwner()
Declaration
public string GetSessionOwner()
Returns
GetSpecType(SdfPath)
Declaration
public SdfSpecType GetSpecType(SdfPath path)
Parameters
Returns
GetStartTimeCode()
Declaration
public double GetStartTimeCode()
Returns
GetStateDelegate()
Declaration
public SWIGTYPE_p_TfDeclarePtrsT_SdfLayerStateDelegateBase_t__Ptr GetStateDelegate()
Returns
GetSubLayerOffset(Int32)
Declaration
public SdfLayerOffset GetSubLayerOffset(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
GetSubLayerOffsets()
Declaration
public SdfLayerOffsetVector GetSubLayerOffsets()
Returns
GetSubLayerPaths()
Declaration
public SdfSubLayerProxy GetSubLayerPaths()
Returns
GetTimeCodesPerSecond()
Declaration
public double GetTimeCodesPerSecond()
Returns
GetVersion()
Declaration
public string GetVersion()
Returns
HasColorConfiguration()
Declaration
public bool HasColorConfiguration()
Returns
HasColorManagementSystem()
Declaration
public bool HasColorManagementSystem()
Returns
HasCustomLayerData()
Declaration
public bool HasCustomLayerData()
Returns
HasDefaultPrim()
Declaration
public bool HasDefaultPrim()
Returns
HasEndTimeCode()
Declaration
public bool HasEndTimeCode()
Returns
HasField(SdfPath, TfToken)
Declaration
public bool HasField(SdfPath path, TfToken fieldName)
Parameters
Returns
HasField(SdfPath, TfToken, SWIGTYPE_p_SdfAbstractDataValue)
Declaration
public bool HasField(SdfPath path, TfToken fieldName, SWIGTYPE_p_SdfAbstractDataValue value)
Parameters
Returns
HasField(SdfPath, TfToken, VtValue)
Declaration
public bool HasField(SdfPath path, TfToken fieldName, VtValue value)
Parameters
Returns
HasFieldDictKey(SdfPath, TfToken, TfToken)
Declaration
public bool HasFieldDictKey(SdfPath path, TfToken fieldName, TfToken keyPath)
Parameters
Returns
HasFieldDictKey(SdfPath, TfToken, TfToken, SWIGTYPE_p_SdfAbstractDataValue)
Declaration
public bool HasFieldDictKey(SdfPath path, TfToken fieldName, TfToken keyPath, SWIGTYPE_p_SdfAbstractDataValue value)
Parameters
Returns
HasFieldDictKey(SdfPath, TfToken, TfToken, VtValue)
Declaration
public bool HasFieldDictKey(SdfPath path, TfToken fieldName, TfToken keyPath, VtValue value)
Parameters
Returns
HasFramePrecision()
Declaration
public bool HasFramePrecision()
Returns
HasFramesPerSecond()
Declaration
public bool HasFramesPerSecond()
Returns
HasOwner()
Declaration
Returns
HasSessionOwner()
Declaration
public bool HasSessionOwner()
Returns
HasSpec(SdfPath)
Declaration
public bool HasSpec(SdfPath path)
Parameters
Returns
HasStartTimeCode()
Declaration
public bool HasStartTimeCode()
Returns
HasTimeCodesPerSecond()
Declaration
public bool HasTimeCodesPerSecond()
Returns
Import(String)
Declaration
public bool Import(string layerPath)
Parameters
Type |
Name |
Description |
String |
layerPath |
|
Returns
ImportFromString(String)
Declaration
public bool ImportFromString(string arg0)
Parameters
Type |
Name |
Description |
String |
arg0 |
|
Returns
InsertInRootPrimOrder(TfToken)
Declaration
public void InsertInRootPrimOrder(TfToken name)
Parameters
InsertInRootPrimOrder(TfToken, Int32)
Declaration
public void InsertInRootPrimOrder(TfToken name, int index)
Parameters
InsertRootPrim(SdfPrimSpecHandle)
Declaration
public bool InsertRootPrim(SdfPrimSpecHandle prim)
Parameters
Returns
InsertRootPrim(SdfPrimSpecHandle, Int32)
Declaration
public bool InsertRootPrim(SdfPrimSpecHandle prim, int index)
Parameters
Returns
InsertSubLayerPath(String)
Declaration
public void InsertSubLayerPath(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
InsertSubLayerPath(String, Int32)
Declaration
public void InsertSubLayerPath(string path, int index)
Parameters
IsAnonymous()
Declaration
public bool IsAnonymous()
Returns
IsAnonymousLayerIdentifier(String)
Declaration
public static bool IsAnonymousLayerIdentifier(string identifier)
Parameters
Type |
Name |
Description |
String |
identifier |
|
Returns
IsDirty()
Declaration
Returns
IsEmpty()
Declaration
Returns
IsMuted()
Declaration
Returns
IsMuted(String)
Declaration
public static bool IsMuted(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
ListAllTimeSamples()
Declaration
public SWIGTYPE_p_std__setT_double_t ListAllTimeSamples()
Returns
ListFields(SdfPath)
Declaration
public TfTokenVector ListFields(SdfPath path)
Parameters
Returns
ListTimeSamplesForPath(SdfPath)
Declaration
public SWIGTYPE_p_std__setT_double_t ListTimeSamplesForPath(SdfPath path)
Parameters
Returns
Declaration
public static SdfLayer New(SWIGTYPE_p_TfDeclarePtrsT_SdfFileFormat_t__ConstPtr fileFormat, string identifier)
Parameters
Returns
Declaration
public static SdfLayer New(SWIGTYPE_p_TfDeclarePtrsT_SdfFileFormat_t__ConstPtr fileFormat, string identifier, string realPath)
Parameters
Returns
Declaration
public static SdfLayer New(SWIGTYPE_p_TfDeclarePtrsT_SdfFileFormat_t__ConstPtr fileFormat, string identifier, string realPath, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t args)
Parameters
Returns
OpenAsAnonymous(String)
Declaration
public static SdfLayer OpenAsAnonymous(string layerPath)
Parameters
Type |
Name |
Description |
String |
layerPath |
|
Returns
OpenAsAnonymous(String, Boolean)
Declaration
public static SdfLayer OpenAsAnonymous(string layerPath, bool metadataOnly)
Parameters
Returns
OpenAsAnonymous(String, Boolean, String)
Declaration
public static SdfLayer OpenAsAnonymous(string layerPath, bool metadataOnly, string tag)
Parameters
Returns
PermissionToEdit()
Declaration
public bool PermissionToEdit()
Returns
PermissionToSave()
Declaration
public bool PermissionToSave()
Returns
QueryTimeSample(SdfPath, Double)
Declaration
public bool QueryTimeSample(SdfPath path, double time)
Parameters
Returns
QueryTimeSample(SdfPath, Double, SWIGTYPE_p_SdfAbstractDataValue)
Declaration
public bool QueryTimeSample(SdfPath path, double time, SWIGTYPE_p_SdfAbstractDataValue value)
Parameters
Returns
QueryTimeSample(SdfPath, Double, VtValue)
Declaration
public bool QueryTimeSample(SdfPath path, double time, VtValue value)
Parameters
Returns
Reload()
Declaration
Returns
Reload(Boolean)
Declaration
public bool Reload(bool force)
Parameters
Type |
Name |
Description |
Boolean |
force |
|
Returns
ReloadLayers(SWIGTYPE_p_std__setT_SdfLayerHandle_t)
Declaration
public static bool ReloadLayers(SWIGTYPE_p_std__setT_SdfLayerHandle_t layers)
Parameters
Returns
ReloadLayers(SWIGTYPE_p_std__setT_SdfLayerHandle_t, Boolean)
Declaration
public static bool ReloadLayers(SWIGTYPE_p_std__setT_SdfLayerHandle_t layers, bool force)
Parameters
Returns
RemoveFromMutedLayers(String)
Declaration
public static void RemoveFromMutedLayers(string mutedPath)
Parameters
Type |
Name |
Description |
String |
mutedPath |
|
RemoveFromRootPrimOrder(TfToken)
Declaration
public void RemoveFromRootPrimOrder(TfToken name)
Parameters
RemoveFromRootPrimOrderByIndex(Int32)
Declaration
public void RemoveFromRootPrimOrderByIndex(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
RemoveInertSceneDescription()
Declaration
public void RemoveInertSceneDescription()
RemovePrimIfInert(SdfPrimSpecHandle)
Declaration
public void RemovePrimIfInert(SdfPrimSpecHandle prim)
Parameters
RemovePropertyIfHasOnlyRequiredFields(SdfPropertySpecHandle)
Declaration
public void RemovePropertyIfHasOnlyRequiredFields(SdfPropertySpecHandle prop)
Parameters
RemoveRootPrim(SdfPrimSpecHandle)
Declaration
public void RemoveRootPrim(SdfPrimSpecHandle prim)
Parameters
RemoveSubLayerPath(Int32)
Declaration
public void RemoveSubLayerPath(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Save()
Declaration
Returns
Save(Boolean)
Declaration
public bool Save(bool force)
Parameters
Type |
Name |
Description |
Boolean |
force |
|
Returns
ScheduleRemoveIfInert(SdfSpec)
Declaration
public void ScheduleRemoveIfInert(SdfSpec spec)
Parameters
SetColorConfiguration(SdfAssetPath)
Declaration
public void SetColorConfiguration(SdfAssetPath colorConfiguration)
Parameters
SetColorManagementSystem(TfToken)
Declaration
public void SetColorManagementSystem(TfToken cms)
Parameters
Declaration
public void SetComment(string comment)
Parameters
Type |
Name |
Description |
String |
comment |
|
SetCustomLayerData(VtDictionary)
Declaration
public void SetCustomLayerData(VtDictionary value)
Parameters
SetDefaultPrim(TfToken)
Declaration
public void SetDefaultPrim(TfToken name)
Parameters
SetDocumentation(String)
Declaration
public void SetDocumentation(string documentation)
Parameters
Type |
Name |
Description |
String |
documentation |
|
SetEndTimeCode(Double)
Declaration
public void SetEndTimeCode(double endTimeCode)
Parameters
Type |
Name |
Description |
Double |
endTimeCode |
|
SetField(SdfPath, TfToken, SWIGTYPE_p_SdfAbstractDataConstValue)
Declaration
public void SetField(SdfPath path, TfToken fieldName, SWIGTYPE_p_SdfAbstractDataConstValue value)
Parameters
SetField(SdfPath, TfToken, VtValue)
Declaration
public void SetField(SdfPath path, TfToken fieldName, VtValue value)
Parameters
SetFieldDictValueByKey(SdfPath, TfToken, TfToken, SWIGTYPE_p_SdfAbstractDataConstValue)
Declaration
public void SetFieldDictValueByKey(SdfPath path, TfToken fieldName, TfToken keyPath, SWIGTYPE_p_SdfAbstractDataConstValue value)
Parameters
SetFieldDictValueByKey(SdfPath, TfToken, TfToken, VtValue)
Declaration
public void SetFieldDictValueByKey(SdfPath path, TfToken fieldName, TfToken keyPath, VtValue value)
Parameters
SetFramePrecision(Int32)
Declaration
public void SetFramePrecision(int framePrecision)
Parameters
Type |
Name |
Description |
Int32 |
framePrecision |
|
SetFramesPerSecond(Double)
Declaration
public void SetFramesPerSecond(double framesPerSecond)
Parameters
Type |
Name |
Description |
Double |
framesPerSecond |
|
SetHasOwnedSubLayers(Boolean)
Declaration
public void SetHasOwnedSubLayers(bool arg0)
Parameters
SetIdentifier(String)
Declaration
public void SetIdentifier(string identifier)
Parameters
Type |
Name |
Description |
String |
identifier |
|
SetMuted(Boolean)
Declaration
public void SetMuted(bool muted)
Parameters
Type |
Name |
Description |
Boolean |
muted |
|
SetOwner(String)
Declaration
public void SetOwner(string owner)
Parameters
Type |
Name |
Description |
String |
owner |
|
SetPermissionToEdit(Boolean)
Declaration
public void SetPermissionToEdit(bool allow)
Parameters
Type |
Name |
Description |
Boolean |
allow |
|
SetPermissionToSave(Boolean)
Declaration
public void SetPermissionToSave(bool allow)
Parameters
Type |
Name |
Description |
Boolean |
allow |
|
SetRootPrimOrder(TfTokenVector)
Declaration
public void SetRootPrimOrder(TfTokenVector names)
Parameters
SetRootPrims(SdfPrimSpecHandleVector)
Declaration
public void SetRootPrims(SdfPrimSpecHandleVector rootPrims)
Parameters
SetSessionOwner(String)
Declaration
public void SetSessionOwner(string owner)
Parameters
Type |
Name |
Description |
String |
owner |
|
SetStartTimeCode(Double)
Declaration
public void SetStartTimeCode(double startTimecode)
Parameters
Type |
Name |
Description |
Double |
startTimecode |
|
SetStateDelegate(SWIGTYPE_p_TfDeclarePtrsT_SdfLayerStateDelegateBase_t__RefPtr)
Declaration
public void SetStateDelegate(SWIGTYPE_p_TfDeclarePtrsT_SdfLayerStateDelegateBase_t__RefPtr arg0)
Parameters
SetSubLayerOffset(SdfLayerOffset, Int32)
Declaration
public void SetSubLayerOffset(SdfLayerOffset offset, int index)
Parameters
SetSubLayerPaths(StdStringVector)
Declaration
public void SetSubLayerPaths(StdStringVector newPaths)
Parameters
SetTimeCodesPerSecond(Double)
Declaration
public void SetTimeCodesPerSecond(double timeCodesPerSecond)
Parameters
Type |
Name |
Description |
Double |
timeCodesPerSecond |
|
SetTimeSample(SdfPath, Double, SWIGTYPE_p_SdfAbstractDataConstValue)
Declaration
public void SetTimeSample(SdfPath path, double time, SWIGTYPE_p_SdfAbstractDataConstValue value)
Parameters
SetTimeSample(SdfPath, Double, VtValue)
Declaration
public void SetTimeSample(SdfPath path, double time, VtValue value)
Parameters
SplitIdentifier(String, SWIGTYPE_p_std__string, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t)
Declaration
public static bool SplitIdentifier(string identifier, SWIGTYPE_p_std__string layerPath, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t arguments)
Parameters
Returns
TransferContent(SdfLayerHandle)
Declaration
public void TransferContent(SdfLayerHandle layer)
Parameters
UpdateAssetInfo()
Declaration
public void UpdateAssetInfo()
UpdateAssetInfo(String)
Declaration
public void UpdateAssetInfo(string fileVersion)
Parameters
Type |
Name |
Description |
String |
fileVersion |
|
UpdateExternalReference(String)
Declaration
public bool UpdateExternalReference(string oldAssetPath)
Parameters
Type |
Name |
Description |
String |
oldAssetPath |
|
Returns
UpdateExternalReference(String, String)
Declaration
public bool UpdateExternalReference(string oldAssetPath, string newAssetPath)
Parameters
Type |
Name |
Description |
String |
oldAssetPath |
|
String |
newAssetPath |
|
Returns
WriteDataFile(String)
Declaration
public bool WriteDataFile(string filename)
Parameters
Type |
Name |
Description |
String |
filename |
|
Returns