Show / Hide Table of Contents

Class FloatingOrigin

Moves world back to origin so central player terrain is at 0,0,0.

Inheritance
Object
Object
Component
Behaviour
MonoBehaviour
FloatingOrigin
Namespace: DaggerfallWorkshop.Utility
Assembly: Assembly-CSharp.dll
Syntax
public class FloatingOrigin : MonoBehaviour

Fields

| Improve this Doc View Source

floatingOriginVersion

Declaration
public const int floatingOriginVersion = 3
Field Value
Type Description
Int32
| Improve this Doc View Source

instance

Declaration
public static FloatingOrigin instance
Field Value
Type Description
FloatingOrigin
| Improve this Doc View Source

Player

Declaration
public GameObject Player
Field Value
Type Description
GameObject
| Improve this Doc View Source

StreamingWorld

Declaration
public StreamingWorld StreamingWorld
Field Value
Type Description
StreamingWorld

Properties

| Improve this Doc View Source

CurrentMapPixel

Declaration
public DFPosition CurrentMapPixel { get; }
Property Value
Type Description
DFPosition
| Improve this Doc View Source

LastMapPixel

Declaration
public DFPosition LastMapPixel { get; }
Property Value
Type Description
DFPosition

Methods

| Improve this Doc View Source

ChangeTargetPlayer(GameObject)

Declaration
public void ChangeTargetPlayer(GameObject newPlayer)
Parameters
Type Name Description
GameObject newPlayer
| Improve this Doc View Source

RaiseOnPositionUpdateEvent(Vector3)

Declaration
public void RaiseOnPositionUpdateEvent(Vector3 offset)
Parameters
Type Name Description
Vector3 offset

Events

| Improve this Doc View Source

OnPositionUpdate

Declaration
public static event FloatingOrigin.OnPositionUpdateEventHandler OnPositionUpdate
Event Type
Type Description
FloatingOrigin.OnPositionUpdateEventHandler

Extension Methods

MBExtensions.Invoke(MonoBehaviour, Action, Single)
MBExtensions.Invoke<T>(MonoBehaviour, Action<T>, T, Single)
MBExtensions.Invoke<T1, T2>(MonoBehaviour, Action<T1, T2>, T1, T2, Single)
MBExtensions.Invoke<T1, T2, T3>(MonoBehaviour, Action<T1, T2, T3>, T1, T2, T3, Single)
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX