日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Class EllipseLineDataProvider

    Creates an elliptical line shape.

    Inheritance
    Object
    BaseMixedRealityLineDataProvider
    EllipseLineDataProvider
    Inherited Members
    BaseMixedRealityLineDataProvider.LineStartClamp
    BaseMixedRealityLineDataProvider.LineEndClamp
    BaseMixedRealityLineDataProvider.LineTransform
    BaseMixedRealityLineDataProvider.Loops
    BaseMixedRealityLineDataProvider.TransformMode
    BaseMixedRealityLineDataProvider.RotationMode
    BaseMixedRealityLineDataProvider.FlipUpVector
    BaseMixedRealityLineDataProvider.OriginOffset
    BaseMixedRealityLineDataProvider.ManualUpVectorBlend
    BaseMixedRealityLineDataProvider.ManualUpVectors
    BaseMixedRealityLineDataProvider.VelocitySearchRange
    BaseMixedRealityLineDataProvider.Distorters
    BaseMixedRealityLineDataProvider.DistortionEnabled
    BaseMixedRealityLineDataProvider.DistortionMode
    BaseMixedRealityLineDataProvider.DistortionStrength
    BaseMixedRealityLineDataProvider.UniformDistortionStrength
    BaseMixedRealityLineDataProvider.FirstPoint
    BaseMixedRealityLineDataProvider.LastPoint
    BaseMixedRealityLineDataProvider.UnClampedWorldLength
    BaseMixedRealityLineDataProvider.GetUpVectorInternal(Single)
    BaseMixedRealityLineDataProvider.UnclampedWorldLengthSearchSteps
    BaseMixedRealityLineDataProvider.OnEnable()
    BaseMixedRealityLineDataProvider.LateUpdate()
    BaseMixedRealityLineDataProvider.GetNormalizedLengthFromWorldLength(Single, Int32)
    BaseMixedRealityLineDataProvider.GetVelocity(Single)
    BaseMixedRealityLineDataProvider.GetRotation(Single, LineRotationMode)
    BaseMixedRealityLineDataProvider.GetRotation(Int32, LineRotationMode)
    BaseMixedRealityLineDataProvider.GetPoint(Single)
    BaseMixedRealityLineDataProvider.GetUnClampedPoint(Single)
    BaseMixedRealityLineDataProvider.GetPoint(Int32)
    BaseMixedRealityLineDataProvider.SetPoint(Int32, Vector3)
    BaseMixedRealityLineDataProvider.GetClosestPoint(Vector3, Int32, Int32)
    BaseMixedRealityLineDataProvider.GetNormalizedLengthFromWorldPos(Vector3, Int32, Int32)
    BaseMixedRealityLineDataProvider.UpdateMatrix()
    BaseMixedRealityLineDataProvider.DrawUnselectedGizmosPreview()
    Namespace: Microsoft.MixedReality.Toolkit.Utilities
    Assembly: cs.temp.dll.dll
    Syntax
    public class EllipseLineDataProvider : BaseMixedRealityLineDataProvider
    Remarks

    This line loops.

    Properties

    PointCount

    The number of points this line has.

    Declaration
    public override int PointCount { get; }
    Property Value
    Type Description
    Int32
    Overrides
    BaseMixedRealityLineDataProvider.PointCount

    Radius

    Radius of ellipsis defined by Vector2 where x is half-width and y is half-height

    Declaration
    public Vector2 Radius { get; set; }
    Property Value
    Type Description
    Vector2

    Resolution

    Resolution is the number of points used to define positions for points on the line. Equivalent to PointCount. Clamped at 2048 max

    Declaration
    public int Resolution { get; set; }
    Property Value
    Type Description
    Int32

    Methods

    GetPointInternal(Int32)

    Get a point based on point index Point index will be pre-clamped

    Declaration
    protected override Vector3 GetPointInternal(int pointIndex)
    Parameters
    Type Name Description
    Int32 pointIndex
    Returns
    Type Description
    Vector3
    Overrides
    BaseMixedRealityLineDataProvider.GetPointInternal(Int32)

    GetPointInternal(Single)

    Get a point based on normalized distance along line Normalized distance will be pre-clamped

    Declaration
    protected override Vector3 GetPointInternal(float normalizedDistance)
    Parameters
    Type Name Description
    Single normalizedDistance
    Returns
    Type Description
    Vector3
    Overrides
    BaseMixedRealityLineDataProvider.GetPointInternal(Single)

    GetUnClampedWorldLengthInternal()

    Get the UnClamped world length of the line

    Declaration
    protected override float GetUnClampedWorldLengthInternal()
    Returns
    Type Description
    Single
    Overrides
    BaseMixedRealityLineDataProvider.GetUnClampedWorldLengthInternal()

    SetPointInternal(Int32, Vector3)

    Sets the point at index.

    Declaration
    protected override void SetPointInternal(int pointIndex, Vector3 point)
    Parameters
    Type Name Description
    Int32 pointIndex
    Vector3 point
    Overrides
    BaseMixedRealityLineDataProvider.SetPointInternal(Int32, Vector3)
    Back to top Generated by DocFX