The TextureResource class represents a texture from the inventory, such as a color LUT. See ScenePrivate.SetColorLut.
public class TextureResource : Sansar.Script.InstanceInterfaceRemarks
Set as a script property, the texture is chosen from the inventory in the scene editor. The server never loads the texture data; only the clients that apply it do.
Members at a glance
| Kind | Members |
|---|---|
| Properties | ResourceId New in 47.10.0 |
| Methods | ToString New in 47.10.0 |
Properties
ResourceId
New in 47.10.0
public string ResourceId { get; }Returns the resource Id of this TextureResource.
Methods
ToString
New in 47.10.0
public override string ToString()A string representation of this object.
Returns: string — A string representation of this object.
Remarks
The format of this string may change between releases.
Used in examples
ColorLutExample.cs
Generated from the Sansar 47.10.0 client ScriptApi snapshot.