API Referenceglobal
public sealed struct Sandbox.Material.FlagsAccessor
Constructors
Showing 1 constructors
public FlagsAccessor(Sandbox.Material material)
No results match this filter.
Methods
Showing 2 methods
public float GetFloat(string name, float defaultValue = 0)
Parameters
defaultValue: Default: 0
public int GetInt(string name, int defaultValue = 0)
Parameters
defaultValue: Default: 0
No results match this filter.
Properties
Showing 4 properties
public bool Sandbox.Material.FlagsAccessor.IsAlphaTest { get; set; }
public bool Sandbox.Material.FlagsAccessor.IsDecal { get; set; }Obsolete
Obsolete: Decal materials are obsolete
public bool Sandbox.Material.FlagsAccessor.IsSky { get; set; }
public bool Sandbox.Material.FlagsAccessor.IsTranslucent { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Material.FlagsAccessor |