Struct OrientedBBox | High Definition RP | 6.5.3-preview
docs.unity.cn
    Show / Hide Table of Contents

    Struct OrientedBBox

    Namespace: UnityEngine.Experimental.Rendering
    Syntax
    [GenerateHLSL(PackingRules.Exact, true, false, false, 1, false, false)]
    public struct OrientedBBox

    Constructors

    OrientedBBox(Matrix4x4)

    Declaration
    public OrientedBBox(Matrix4x4 trs)
    Parameters
    Type Name Description
    Matrix4x4 trs

    Fields

    center

    Declaration
    public Vector3 center
    Field Value
    Type Description
    Vector3

    extentX

    Declaration
    public float extentX
    Field Value
    Type Description
    Single

    extentY

    Declaration
    public float extentY
    Field Value
    Type Description
    Single

    extentZ

    Declaration
    public float extentZ
    Field Value
    Type Description
    Single

    right

    Declaration
    public Vector3 right
    Field Value
    Type Description
    Vector3

    up

    Declaration
    public Vector3 up
    Field Value
    Type Description
    Vector3

    Properties

    forward

    Declaration
    public Vector3 forward { get; }
    Property Value
    Type Description
    Vector3
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX