Class RectangleLineDataProvider
Defines a line in the shape of a rectangle.
Inheritance
RectangleLineDataProvider
Assembly: cs.temp.dll.dll
public class RectangleLineDataProvider : BaseMixedRealityLineDataProvider, MonoBehaviour
Properties
Declaration
public float Height { get; set; }
Property Value
Declaration
public float Height { get; set; }
Property Value
Declaration
public override bool Loops { get; }
Property Value
Overrides
Declaration
public override bool Loops { get; }
Property Value
Overrides
Declaration
public override int PointCount { get; }
Property Value
Overrides
Declaration
public override int PointCount { get; }
Property Value
Overrides
Declaration
public float Width { get; set; }
Property Value
Declaration
public float Width { get; set; }
Property Value
Declaration
public float ZOffset { get; set; }
Property Value
Declaration
public float ZOffset { get; set; }
Property Value
Methods
Declaration
protected override void DrawUnselectedGizmosPreview()
Overrides
Declaration
protected override void DrawUnselectedGizmosPreview()
Overrides
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
When we get interpolated points we subdivide the square so our sampling has more to work with
Declaration
protected override Vector3 GetPointInternal(float normalizedDistance)
Parameters
Type |
Name |
Description |
Single |
normalizedDistance |
|
Returns
Overrides
When we get interpolated points we subdivide the square so our sampling has more to work with
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 Vector3 GetUpVectorInternal(float normalizedLength)
Parameters
Type |
Name |
Description |
Single |
normalizedLength |
|
Returns
Overrides
Declaration
protected override Vector3 GetUpVectorInternal(float normalizedLength)
Parameters
Type |
Name |
Description |
Single |
normalizedLength |
|
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