IHeightStickArraySource Interface
Namespace: Stride.PhysicsAssembly: Stride.Physics.dll
public interface IHeightStickArraySource : IHeightStickParameters
| Name | Description | |
|---|---|---|
| Properties | ||
| HeightStickSize | The size of the source. |
|
| Methods | ||
| CopyTo<T>(UnmanagedArray<T>, Int32) | Copy the source data to the height stick array. |
|
| IsValid() | ||
| Match(Object) | ||
Properties
HeightStickSize
The size of the source.
Int2 HeightStickSize { get; }
Property Value
| Type | Description |
|---|---|
| Int2 |
Remarks
X is width and Y is length. They should be greater than or equal to 2. For example, this size should be 65 * 65 when you want 64 * 64 size in a scene.
Methods
CopyTo<T>(UnmanagedArray<T>, Int32)
Copy the source data to the height stick array.
void CopyTo<T>(UnmanagedArray<T> heightStickArray, int index)
where T : struct
Parameters
| Type | Name | Description |
|---|---|---|
| UnmanagedArray<T> | heightStickArray | The destination to copy the data. |
| System.Int32 | index | The start index of the destination to copy the data. |
Type Parameters
| Name | Description |
|---|---|
| T | The data type of the height |
IsValid()
bool IsValid()
Returns
| Type | Description |
|---|---|
| System.Boolean |
Match(Object)
bool Match(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj |
Returns
| Type | Description |
|---|---|
| System.Boolean |