Summary
Represents a three dimensional line based on a 2 points in space.
- Namespace
- StrideToolkit
.Mathematics - Interfaces
-
- IEquatable
<RaySegment> - IFormattable
- IEquatable
- Base Types
-
- object
- ValueType
graph BT
Type-->Base0["ValueType"]
Base0-->Base1["object"]
Type-.->Interface0["IEquatable<RaySegment>"]
Type-.->Interface1["IFormattable"]
Type["RaySegment"]
class Type type-node
Syntax
[DataContract]
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct RaySegment : ValueType, IEquatable<RaySegment>, IFormattable
Attributes
| Type | Description |
|---|---|
| DataContract | |
| Struct |
Constructors
| Name | Summary |
|---|---|
| RaySegment |
Initializes a new instance of the RaySegment struct.
|
Fields
Properties
| Name | Value | Summary |
|---|---|---|
| Length | float |
Length of RaySegment
|
Methods
| Name | Value | Summary |
|---|---|---|
| Equals |
bool |
Determines whether the specified
object is equal to this instance.
|
| Equals |
bool |
Determines whether the specified
Stride.Core.Mathematics.Vector4 is equal to this instance.
|
| GetHashCode |
int |
Returns a hash code for this instance.
|
| ToString |
string |
Returns a
string that represents this instance.
|
| ToString |
string |
Returns a
string that represents this instance.
|
| ToString |
string |
Returns a
string that represents this instance.
|
| ToString |
string |
Returns a
string that represents this instance.
|
Operators
| Name | Value | Summary |
|---|---|---|
| explicit operator |
Ray | |
| operator != |
bool | |
| operator == |
bool |
