TextureArrayBuilderclass

objectTextureArrayBuilder
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed struct Sandbox.TextureArrayBuilder

Constructors1

Showing 1 constructors

Methods23

Showing 23 methods

public Sandbox.Texture Finish()PUBLIC

Build and create the actual texture

Returns:Texture

public Sandbox.TextureArrayBuilder WithAnonymous(bool isAnonymous)PUBLIC

Set whether the texture is an anonymous texture or not

ParameterTypeDescription
isAnonymousboolSet if it's anonymous or not

public Sandbox.TextureArrayBuilder WithSize(int width = 1, int height = 1)PUBLIC

Create texture with a predefined size

ParameterTypeDescription
width = 1intWidth in pixel
height = 1intHeight in pixels

On this page