TriLib
Search Results for

    Show / Hide Table of Contents

    Interface ILight

    Represents a TriLib Light.

    Inherited Members
    IModel.Pivot
    IModel.LocalPosition
    IModel.LocalRotation
    IModel.LocalScale
    IModel.Visibility
    IModel.Parent
    IModel.Children
    IModel.Bones
    IModel.IsBone
    IModel.GeometryGroup
    IModel.BindPoses
    IModel.MaterialIndices
    IModel.UserProperties
    IModel.HasCustomPivot
    IModel.OriginalGlobalMatrix
    IObject.Name
    IObject.Used
    Namespace: TriLibCore.Interfaces
    Assembly: TriLibCore.dll
    Syntax
    public interface ILight : IModel, IObject

    Properties

    CastShadows

    Defines whether the light cast shadows or not.

    Declaration
    bool CastShadows { get; set; }
    Property Value
    Type Description
    bool

    Color

    The light color.

    Declaration
    Color Color { get; set; }
    Property Value
    Type Description
    Color

    Height

    The area light height.

    Declaration
    float Height { get; set; }
    Property Value
    Type Description
    float

    InnerSpotAngle

    The light inner spot angle in degrees.

    Declaration
    float InnerSpotAngle { get; set; }
    Property Value
    Type Description
    float

    Intensity

    The light intensity.

    Declaration
    float Intensity { get; set; }
    Property Value
    Type Description
    float

    LightType

    The light type.

    Declaration
    LightType LightType { get; set; }
    Property Value
    Type Description
    LightType

    OuterSpotAngle

    The light out spot angle in degrees.

    Declaration
    float OuterSpotAngle { get; set; }
    Property Value
    Type Description
    float

    Range

    The light range.

    Declaration
    float Range { get; set; }
    Property Value
    Type Description
    float

    Width

    The area light width.

    Declaration
    float Width { get; set; }
    Property Value
    Type Description
    float

    Extension Methods

    IObjectExtensions.TryToDispose<T>(object)
    ModelExtensions.CalculateBounds(IModel)
    ModelExtensions.CountChild(IModel)
    ModelExtensions.GetBones(IModel, AssetLoaderContext, List<Transform>)
    ModelExtensions.GetGlobalMatrix(IModel)
    ModelExtensions.GetGlobalMatrixNoScale(IModel)
    ModelExtensions.GetGlobalParentMatrix(IModel)
    ModelExtensions.GetLocalMatrix(IModel)
    ModelExtensions.GetLocalMatrixNoScale(IModel)
    ModelExtensions.MovePivot(IModel, AssetLoaderContext)
    ModelExtensions.SortByName(IModel)
    In this article
    Back to top Generated by DocFX