Struct PlanarReflector
Describes a planar reflector plane
Namespace: LeagueToolkit.Core.Primitives
Assembly: LeagueToolkit.dll
Syntax
public readonly struct PlanarReflector
Remarks
Only 1 PlanarReflector can be active in a scene at the same time (This is determined by frustum culling)
Constructors
| Improve this Doc View SourcePlanarReflector()
Creates a new PlanarReflector object
Declaration
public PlanarReflector()
PlanarReflector(Matrix4x4, Box, Vector3)
Creates a new PlanarReflector object with the specified parameters
Declaration
public PlanarReflector(Matrix4x4 transform, Box plane, Vector3 normal)
Parameters
Type | Name | Description |
---|---|---|
Matrix4x4 | transform | |
Box | plane | |
Vector3 | normal |
Properties
| Improve this Doc View SourceNormal
Gets the reflection plane normal
Declaration
public readonly Vector3 Normal { get; }
Property Value
Type | Description |
---|---|
Vector3 |
Plane
Gets the reflection plane
Declaration
public readonly Box Plane { get; }
Property Value
Type | Description |
---|---|
Box |
Transform
Gets the plane's transform
Declaration
public readonly Matrix4x4 Transform { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |