Show / Hide Table of Contents

Class Material

Class representing a texture or shader

Inheritance
Object
Material
Shader
Texture
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Client.Dx
Assembly: SlipeClient.dll
Syntax
public abstract class Material

Fields

| Improve this Doc View Source

materialElement

Declaration
protected MtaElement materialElement
Field Value
Type Description
Slipe.MtaDefinitions.MtaElement

Properties

| Improve this Doc View Source

MaterialElement

Get the material element associated

Declaration
public MtaElement MaterialElement { get; }
Property Value
Type Description
Slipe.MtaDefinitions.MtaElement
| Improve this Doc View Source

MaterialSize

This gets the dimensions of this material element.

Declaration
public Vector2 MaterialSize { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

VolumeSize

This gets the dimensions of this material if it is a volume

Declaration
public Vector3 VolumeSize { get; }
Property Value
Type Description
Vector3

Methods

| Improve this Doc View Source

Destroy()

Destroys the material element

Declaration
public void Destroy()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX