C# Class GroundTexture, tf_client

Show file Open project: wids-eria/tf_client Class Usage Examples

Public Properties

Property Type Description
groundTextureType GroundTextureType
name string
texture UnityEngine.Texture2D
tileOffset Vector2
tileSize Vector2

Public Methods

Method Description
ToSplat ( ) : SplatPrototype

Convert to SplatPrototype

Method Details

ToSplat() public method

Convert to SplatPrototype
public ToSplat ( ) : SplatPrototype
return UnityEngine.SplatPrototype

Property Details

groundTextureType public property

The type of the ground
public GroundTextureType groundTextureType
return GroundTextureType

name public property

The name of the ground texture (to e.g. appear in inspector array)
public string name
return string

texture public property

The texture for the ground type
public Texture2D,UnityEngine texture
return UnityEngine.Texture2D

tileOffset public property

The texture's offset
public Vector2 tileOffset
return Vector2

tileSize public property

The texture's tiling size
public Vector2 tileSize
return Vector2