ContentSource
Properties
arrow : int
Arrow selection - index of the connected arrow
isExplicitEffectMode : int
When enabled, the background is used as the source texture.
UserName: from background
texture : DxTexture
Source selection - either Arrow source or a Texture. It is useful to select a PreCompTexture here.
UserName: texture
Constructors
__init__(self)
__init__(self, arrow: int)
__init__(self, other: ContentSource)
Copy constructor for ContentSource
__init__(self, arrow: int, tex: DxTexture)
Static Methods
isArrowSource(sequence: FieldSequence) -> bool
Checks if the given FieldSequence represents an arrow input source.
Parameters:
- sequence The FieldSequence object to verify.
Returns True if the FieldSequence is a float sequence and its name complies with the arrow naming convention.
isContentSource(sequence: FieldSequence) -> bool
Checks if the given FieldSequence represents a ContentSource object.
A ContentSource can be either an arrow input index or a selected texture.
Parameters:
- sequence The FieldSequence object to verify.
Returns True if the sequence represents either an arrow or a texture source; false otherwise.
isTextureSource(sequence: FieldSequence) -> bool
Checks if the given FieldSequence represents a texture source.
Parameters:
- sequence The FieldSequence object to verify.
Returns True if the FieldSequence is a resource sequence and its name complies with the texture naming convention.