API Referenceglobal
FlagsAccessorclass
object→FlagsAccessor
Constructors1
Showing 1 constructors
public FlagsAccessor(Sandbox.Material material)
| Parameter | Type | Description |
|---|---|---|
| material | Material | — |
No results match this filter.
Methods2
Showing 2 methods
public float GetFloat(string name, float defaultValue = 0)
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
| defaultValue = 0 | float | — |
Returns:
float—public int GetInt(string name, int defaultValue = 0)
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
| defaultValue = 0 | int | — |
Returns:
int—No results match this filter.
Properties4
Showing 4 properties
public bool Sandbox.Material.FlagsAccessor.IsAlphaTest { get; set; }
Returns:
bool—public bool Sandbox.Material.FlagsAccessor.IsDecal { get; set; }
Obsolete: Decal materials are obsolete
Returns:
bool—public bool Sandbox.Material.FlagsAccessor.IsSky { get; set; }
Returns:
bool—public bool Sandbox.Material.FlagsAccessor.IsTranslucent { get; set; }
Returns:
bool—No results match this filter.