API Referenceglobal
AttributeAccessclass
object→AttributeAccess
Methods25
Showing 25 methods
public void Clear()
Returns:
void—public Sandbox.RenderTarget GetRenderTarget(string name)
Get the actual render target by name. Useful for externals that need to access the render target directly.
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
public Sandbox.Rendering.RenderTargetHandle GrabDepthTexture(string token = DepthTexture)
Takes a copy of the current viewport's depth texture and stores it in targetName on renderAttributes.
| Parameter | Type | Description |
|---|---|---|
| token = DepthTexture | string | — |
public void SetData(Sandbox.StringToken token, T data)
| Parameter | Type | Description |
|---|---|---|
| token | StringToken | — |
| data | T | — |
Returns:
void—public void SetValue(Sandbox.StringToken token, Sandbox.Rendering.RenderValue value)
Set a special value
| Parameter | Type | Description |
|---|---|---|
| token | StringToken | — |
| value | RenderValue | — |
Returns:
void—No results match this filter.