Search Results for

    Show / Hide Table of Contents

    Class MaterialSlot

    The material slot descriptor that specifies how to render geometry using it.

    Inheritance
    System.Object
    Object
    MaterialSlot
    Inherited Members
    Object.__unmanagedPtr
    Object.__internalId
    Object.Finalize()
    Object.As<T>()
    Object.NewValue(Type)
    Object.New(String)
    Object.Find<T>(Guid, Boolean)
    Object.Find(Guid, Type, Boolean)
    Object.TryFind<T>(Guid)
    Object.TryFind(Guid, Type)
    Object.Destroy(Object, Single)
    Object.DestroyNow(Object)
    Object.Destroy<T>(T, Single)
    Object.Equals(Object)
    Object.GetUnmanagedPtr(Object)
    Object.GetUnmanagedInterface(Object, Type)
    Object.FromUnmanagedPtr(IntPtr)
    Object.MapObjectID(Guid)
    Object.RemapObjectID(Guid)
    Object.GetHashCode()
    Object.ID
    Object.TypeName
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [Unmanaged]
    public class MaterialSlot : Object

    Constructors

    MaterialSlot()

    Initializes a new instance of the MaterialSlot.

    Declaration
    public MaterialSlot()

    Properties

    Material

    The material to use for rendering.

    Declaration
    [Unmanaged]
    public MaterialBase Material { get; set; }
    Property Value
    MaterialBase

    Name

    The slot name.

    Declaration
    [Unmanaged]
    public string Name { get; set; }
    Property Value
    System.String

    ShadowsMode

    The shadows casting mode by this visual element.

    Declaration
    [Unmanaged]
    public ShadowsCastingMode ShadowsMode { get; set; }
    Property Value
    ShadowsCastingMode

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.DeepClone<T>(T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat