C# Class GroundTexture, tf_client

Datei anzeigen 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_oe property

The type of the ground
public GroundTextureType groundTextureType
return GroundTextureType

name public_oe property

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

texture public_oe property

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

tileOffset public_oe property

The texture's offset
public Vector2 tileOffset
return Vector2

tileSize public_oe property

The texture's tiling size
public Vector2 tileSize
return Vector2