Class GeneratedParallaxTextureSource
Inheritance
System.Object
GeneratedParallaxTextureSource
Implements
Namespace: Content.Client.Parallax.Data
Assembly: Content.Client.dll
Syntax
public sealed class GeneratedParallaxTextureSource : object, IParallaxTextureSource
Properties
| Improve this Doc View SourceIdentifier
ID for debugging, caching, and so forth. The empty string here is reserved for the original parallax. It is advisible to provide a roughly unique ID for any unique config contents.
Declaration
public string Identifier { get; }
Property Value
Type | Description |
---|---|
System.String |
ParallaxConfigPath
Parallax config path (the TOML file). In client resources.
Declaration
public ResPath ParallaxConfigPath { get; }
Property Value
Type | Description |
---|---|
Robust.Shared.Utility.ResPath |
Explicit Interface Implementations
| Improve this Doc View SourceIParallaxTextureSource.GenerateTexture(CancellationToken)
Declaration
Task<Texture> IParallaxTextureSource.GenerateTexture(CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancel |
Returns
Type | Description |
---|---|
Task<Robust.Client.Graphics.Texture> |