SBAsset#
See also
SAMSON SDK: SBDAsset
- class samson.SBAsset(*args, **kwargs)#
Bases:
SBNodeThis class describes an asset.
SAMSON API: SBDAsset
Overloaded function.
__init__(self: samson.SBAsset) -> None
Constructs an empty asset.
__init__(self: samson.SBAsset, assetName: str, assetFileName: str, thumbnailFileName: str) -> None
Constructs an asset with the given assetName, assetFileName, and thumbnailFileName.
- getNextAsset(self: samson.SBAsset) samson.SBAsset#
Returns the next asset.
- getPreviousAsset(self: samson.SBAsset) samson.SBAsset#
Returns the previous asset.
- initializeAsset(self: samson.SBAsset) bool#
Prepares the asset file and returns whether the operation succeeded.
- initializeThumbnail(self: samson.SBAsset) bool#
Prepares the asset thumbnail and returns whether the operation succeeded.
- property assetFileName#
The name of the file associated to the asset.
- property isLocked#
Returns whether the asset is locked. A read-only property.
- property thumbnailFileName#
The name of the file associated to the asset thumbnail.