MaterialMetaDataclass

Metadata extracted from a material package version.

objectAssetMetaDataMaterialMetaData
Namespace
global
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.Package.MaterialMetaData : Sandbox.Package.AssetMetaData

Constructors1

Showing 1 constructors

Properties16

Showing 16 properties

public bool Sandbox.Package.MaterialMetaData.HasTrimSheet { get; set; }PUBLICGETSET

True if the package ships a trim/hotspot sheet (a .rect file).

Returns:bool

public string Sandbox.Package.MaterialMetaData.PhysicsSurface { get; set; }PUBLICGETSET

Physics surface property name, if set.

Returns:string

public int Sandbox.Package.MaterialMetaData.RepresentativeWidth { get; set; }PUBLICGETSET

Resolution of the material's representative (main) texture, 0 if none.

Returns:int

public float Sandbox.Package.MaterialMetaData.WorldMappingWidth { get; set; }PUBLICGETSET

World-aligned mapping size, if the shader defines it (0 otherwise).

Returns:float

On this page