SBAsset#

See also

SAMSON SDK: SBDAsset

class samson.SBAsset(*args, **kwargs)#

Bases: SBNode

This class describes an asset.

Overloaded function.

  1. __init__(self: samson.SBAsset) -> None

Constructs an asset.

  1. __init__(self: samson.SBAsset, assetName: str, assetFileName: str, thumbnailFileName: str) -> None

Constructs an asset with the given name, file name, and thumbnail name.

getNextAsset(self: samson.SBAsset) samson.SBAsset#

Returns the next asset.

getPreviousAsset(self: samson.SBAsset) samson.SBAsset#

Returns the previous asset.

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.