AssetEntry Class Reference

#include <c4d_baselist.h>

Public Member Functions

 AssetEntry (const Filename &filename, const maxon::String &assetname, Int32 channelId, Bool netRequestOnDemand)
 
 AssetEntry (const Filename &filename, const maxon::String &assetname, Int32 channelId, Bool netRequestOnDemand, BaseList2D *owner, Bool exists, Int32 paramId, const maxon::CString &nodePath, const maxon::Id &nodeSpace, BaseOverride *parentOverride)
 
Bool IsEqual (const AssetEntry &e) const
 

Public Attributes

Filename _filename
 
String _assetname
 
Int32 _channelId
 
Bool _netRequestOnDemand
 
BaseList2D_owner
 
Bool _exists
 
Int32 _paramId
 
maxon::CString _nodePath
 
maxon::Id _nodeSpace
 
BaseOverride_override
 

Constructor & Destructor Documentation

◆ AssetEntry() [1/2]

AssetEntry ( const Filename filename,
const maxon::String assetname,
Int32  channelId,
Bool  netRequestOnDemand 
)

Constructor.

Parameters
[in]filenameThe asset filename.
[in]assetnameThe asset name.
[in]channelIdThe asset channel ID.
[in]netRequestOnDemandNET request on demand.
See also
AssetData::Add()

◆ AssetEntry() [2/2]

AssetEntry ( const Filename filename,
const maxon::String assetname,
Int32  channelId,
Bool  netRequestOnDemand,
BaseList2D owner,
Bool  exists,
Int32  paramId,
const maxon::CString nodePath,
const maxon::Id nodeSpace,
BaseOverride parentOverride 
)

Member Function Documentation

◆ IsEqual()

Bool IsEqual ( const AssetEntry e) const

Member Data Documentation

◆ _filename

Filename _filename

The asset filename.

◆ _assetname

String _assetname

The asset name.

◆ _channelId

Int32 _channelId

The asset channel ID.

◆ _netRequestOnDemand

Bool _netRequestOnDemand

NET request on demand.

See also
AssetData::Add()

◆ _owner

BaseList2D* _owner

The owner object.

◆ _exists

Bool _exists

If the asset could be found.

◆ _paramId

Int32 _paramId

The parameter ID.

◆ _nodePath

maxon::CString _nodePath

The node path of the port the asset is assigned to in case of a nimbus material.

◆ _nodeSpace

maxon::Id _nodeSpace

The node space id in case of a nimbus material.

◆ _override

BaseOverride* _override

The override containing the owner of the asset if it's not in the current take.