You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
517 B
21 lines
517 B
//========= Copyright 2016-2018, HTC Corporation. All rights reserved. =========== |
|
|
|
using System; |
|
using UnityEngine; |
|
|
|
namespace HTC.UnityPlugin.Pointer3D |
|
{ |
|
[Obsolete] |
|
public class DefaultGenerator : BaseRaySegmentGenerator |
|
{ |
|
public override void ResetSegments() { } |
|
|
|
public override bool NextSegment(out Vector3 direction, out float distance) |
|
{ |
|
direction = transform.forward; |
|
distance = float.PositiveInfinity; |
|
|
|
return true; |
|
} |
|
} |
|
} |