Class MiniWorld
Syntax
public sealed class MiniWorld : MonoBehaviour, IMiniWorld
Properties
ignoreList
Declaration
public List<Renderer> ignoreList { set; }
Property Value
Type |
Description |
List<Renderer> |
|
Implements
localBounds
Declaration
public Bounds localBounds { get; set; }
Property Value
miniToReferenceMatrix
Declaration
public Matrix4x4 miniToReferenceMatrix { get; }
Property Value
Type |
Description |
Matrix4x4 |
|
Declaration
public Transform miniWorldTransform { get; }
Property Value
Type |
Description |
Transform |
|
Implements
referenceBounds
Declaration
public Bounds referenceBounds { get; set; }
Property Value
ReferenceTransform defines world space within the MiniWorld. When scaled up, a larger area is represented,
thus the objects in the MiniWorld get smaller.
Declaration
public Transform referenceTransform { get; set; }
Property Value
Type |
Description |
Transform |
|
Implements
rendererCullingMask
Declaration
public LayerMask rendererCullingMask { get; set; }
Property Value
Type |
Description |
LayerMask |
|
Methods
Contains(Vector3)
Declaration
public bool Contains(Vector3 position)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Returns
Implements
GetWorldToCameraMatrix(Camera)
Declaration
public Matrix4x4 GetWorldToCameraMatrix(Camera camera)
Parameters
Type |
Name |
Description |
Camera |
camera |
|
Returns
Type |
Description |
Matrix4x4 |
|
Implements