Class EllipseLineDataProvider
Creates an elliptical line shape.
Inheritance
EllipseLineDataProvider
Assembly: cs.temp.dll.dll
public class EllipseLineDataProvider : BaseMixedRealityLineDataProvider, MonoBehaviour
Properties
Declaration
public override int PointCount { get; }
Property Value
Overrides
Declaration
public override int PointCount { get; }
Property Value
Overrides
Radius of ellipsis defined by Vector2 where x is half-width and y is half-height
Declaration
public Vector2 Radius { get; set; }
Property Value
Radius of ellipsis defined by Vector2 where x is half-width and y is half-height
Declaration
public Vector2 Radius { get; set; }
Property Value
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
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
Methods
Declaration
protected override Vector3 GetPointInternal(int pointIndex)
Parameters
Type |
Name |
Description |
Int32 |
pointIndex |
|
Returns
Overrides
Declaration
protected override Vector3 GetPointInternal(int pointIndex)
Parameters
Type |
Name |
Description |
Int32 |
pointIndex |
|
Returns
Overrides
Declaration
protected override Vector3 GetPointInternal(float normalizedDistance)
Parameters
Type |
Name |
Description |
Single |
normalizedDistance |
|
Returns
Overrides
Declaration
protected override Vector3 GetPointInternal(float normalizedDistance)
Parameters
Type |
Name |
Description |
Single |
normalizedDistance |
|
Returns
Overrides
Declaration
protected override float GetUnClampedWorldLengthInternal()
Returns
Overrides
Declaration
protected override float GetUnClampedWorldLengthInternal()
Returns
Overrides
Declaration
protected override void SetPointInternal(int pointIndex, Vector3 point)
Parameters
Type |
Name |
Description |
Int32 |
pointIndex |
|
Vector3 |
point |
|
Overrides
Declaration
protected override void SetPointInternal(int pointIndex, Vector3 point)
Parameters
Type |
Name |
Description |
Int32 |
pointIndex |
|
Vector3 |
point |
|
Overrides
Implements
MonoBehaviour