Click or drag to resize

NetworkedTransform Class

[This is preliminary documentation and is subject to change.]

A prototype component for syncing transforms
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          MLAPI.MonoBehaviours.CoreNetworkedBehaviour
            MLAPI.MonoBehaviours.PrototypingNetworkedTransform

Namespace:  MLAPI.MonoBehaviours.Prototyping
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class NetworkedTransform : NetworkedBehaviour
Request Example View Source

The NetworkedTransform type exposes the following members.

Constructors
  NameDescription
Public methodNetworkedTransform
Initializes a new instance of the NetworkedTransform class
Top
Properties
  NameDescription
Public propertyanimation Obsolete. (Inherited from Component.)
Public propertyaudio Obsolete. (Inherited from Component.)
Public propertycamera Obsolete. (Inherited from Component.)
Public propertycollider Obsolete. (Inherited from Component.)
Public propertycollider2D Obsolete. (Inherited from Component.)
Public propertyconstantForce Obsolete. (Inherited from Component.)
Public propertyenabled (Inherited from Behaviour.)
Public propertygameObject (Inherited from Component.)
Public propertyguiElement Obsolete. (Inherited from Component.)
Public propertyguiText Obsolete. (Inherited from Component.)
Public propertyguiTexture Obsolete. (Inherited from Component.)
Public propertyhideFlags (Inherited from Object.)
Public propertyhingeJoint Obsolete. (Inherited from Component.)
Public propertyisActiveAndEnabled (Inherited from Behaviour.)
Protected propertyisClient
Gets if we are executing as client
(Inherited from NetworkedBehaviour.)
Protected propertyisHost
Gets if we are executing as Host, I.E Server and Client
(Inherited from NetworkedBehaviour.)
Public propertyisLocalPlayer
Gets if the object is the the personal clients player object
(Inherited from NetworkedBehaviour.)
Public propertyisOwner
Gets if the object is owned by the local player
(Inherited from NetworkedBehaviour.)
Protected propertyisServer
Gets if we are executing as server
(Inherited from NetworkedBehaviour.)
Public propertylight Obsolete. (Inherited from Component.)
Public propertyname (Inherited from Object.)
Public propertynetworkedObject
Gets the NetworkedObject that owns this NetworkedBehaviour instance
(Inherited from NetworkedBehaviour.)
Public propertynetworkId
Gets the NetworkId of the NetworkedObject that owns the NetworkedBehaviour instance
(Inherited from NetworkedBehaviour.)
Public propertynetworkView Obsolete. (Inherited from Component.)
Public propertyownerClientId
Gets the clientId that owns the NetworkedObject
(Inherited from NetworkedBehaviour.)
Public propertyparticleEmitter Obsolete. (Inherited from Component.)
Public propertyparticleSystem Obsolete. (Inherited from Component.)
Public propertyrenderer Obsolete. (Inherited from Component.)
Public propertyrigidbody Obsolete. (Inherited from Component.)
Public propertyrigidbody2D Obsolete. (Inherited from Component.)
Public propertyrunInEditMode (Inherited from MonoBehaviour.)
Public propertytag (Inherited from Component.)
Public propertytransform (Inherited from Component.)
Public propertyuseGUILayout (Inherited from MonoBehaviour.)
Top
Methods
  NameDescription
Public methodBroadcastMessage(String) (Inherited from Component.)
Public methodBroadcastMessage(String, Object) (Inherited from Component.)
Public methodBroadcastMessage(String, SendMessageOptions) (Inherited from Component.)
Public methodBroadcastMessage(String, Object, SendMessageOptions) (Inherited from Component.)
Public methodCancelInvoke (Inherited from MonoBehaviour.)
Public methodCancelInvoke(String) (Inherited from MonoBehaviour.)
Public methodCompareTag (Inherited from Component.)
Protected methodDeregisterMessageHandler
Deregisters a given message handler
(Inherited from NetworkedBehaviour.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetComponent(Type) (Inherited from Component.)
Public methodGetComponent(String) (Inherited from Component.)
Public methodGetComponent``1 (Inherited from Component.)
Public methodGetComponentInChildren(Type) (Inherited from Component.)
Public methodGetComponentInChildren(Type, Boolean) (Inherited from Component.)
Public methodGetComponentInChildren``1 (Inherited from Component.)
Public methodGetComponentInChildren``1(Boolean) (Inherited from Component.)
Public methodGetComponentInParent(Type) (Inherited from Component.)
Public methodGetComponentInParent``1 (Inherited from Component.)
Public methodGetComponents(Type) (Inherited from Component.)
Public methodGetComponents(Type, ListComponent) (Inherited from Component.)
Public methodGetComponents``1 (Inherited from Component.)
Public methodGetComponents``1(ListUMP) (Inherited from Component.)
Public methodGetComponentsInChildren(Type) (Inherited from Component.)
Public methodGetComponentsInChildren(Type, Boolean) (Inherited from Component.)
Public methodGetComponentsInChildren``1 (Inherited from Component.)
Public methodGetComponentsInChildren``1(Boolean) (Inherited from Component.)
Public methodGetComponentsInChildren``1(ListUMP) (Inherited from Component.)
Public methodGetComponentsInChildren``1(Boolean, ListUMP) (Inherited from Component.)
Public methodGetComponentsInParent(Type) (Inherited from Component.)
Public methodGetComponentsInParent(Type, Boolean) (Inherited from Component.)
Public methodGetComponentsInParent``1 (Inherited from Component.)
Public methodGetComponentsInParent``1(Boolean) (Inherited from Component.)
Public methodGetComponentsInParent``1(Boolean, ListUMP) (Inherited from Component.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetInstanceID (Inherited from Object.)
Protected methodGetNetworkedObject
Gets the local instance of a object with a given NetworkId
(Inherited from NetworkedBehaviour.)
Public methodGetType (Inherited from Object.)
Public methodInvoke (Inherited from MonoBehaviour.)
Public methodInvokeRepeating (Inherited from MonoBehaviour.)
Public methodIsInvoking (Inherited from MonoBehaviour.)
Public methodIsInvoking(String) (Inherited from MonoBehaviour.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodNetworkStart
Registers message handlers
(Overrides NetworkedBehaviourNetworkStart.)
Public methodOnGainedOwnership
Gets called when the local client gains ownership of this object
(Inherited from NetworkedBehaviour.)
Public methodOnLostOwnership
Gets called when we loose ownership of this object
(Inherited from NetworkedBehaviour.)
Protected methodRegisterMessageHandler
Registers a message handler
(Inherited from NetworkedBehaviour.)
Public methodSendMessage(String) (Inherited from Component.)
Public methodSendMessage(String, Object) (Inherited from Component.)
Public methodSendMessage(String, SendMessageOptions) (Inherited from Component.)
Public methodSendMessage(String, Object, SendMessageOptions) (Inherited from Component.)
Public methodSendMessageUpwards(String) (Inherited from Component.)
Public methodSendMessageUpwards(String, Object) (Inherited from Component.)
Public methodSendMessageUpwards(String, SendMessageOptions) (Inherited from Component.)
Public methodSendMessageUpwards(String, Object, SendMessageOptions) (Inherited from Component.)
Protected methodSendToClient(UInt32, String, String, Byte)
Sends a buffer to a client with a given clientId from Server
(Inherited from NetworkedBehaviour.)
Protected methodSendToClientT(Int32, String, String, T)
Sends a binary serialized class to a client with a given clientId from Server
(Inherited from NetworkedBehaviour.)
Protected methodSendToClients(String, String, Byte)
Sends a buffer to all clients from the server
(Inherited from NetworkedBehaviour.)
Protected methodSendToClients(ListUInt32, String, String, Byte)
Sends a buffer to multiple clients from the server
(Inherited from NetworkedBehaviour.)
Protected methodSendToClients(UInt32, String, String, Byte)
Sends a buffer to multiple clients from the server
(Inherited from NetworkedBehaviour.)
Protected methodSendToClientsT(String, String, T)
Sends a buffer to all clients from the server
(Inherited from NetworkedBehaviour.)
Protected methodSendToClientsT(ListInt32, String, String, T)
Sends a binary serialized class to multiple clients from the server
(Inherited from NetworkedBehaviour.)
Protected methodSendToClientsT(Int32, String, String, T)
Sends a binary serialized class to multiple clients from the server
(Inherited from NetworkedBehaviour.)
Protected methodSendToClientsTarget(String, String, Byte)
Sends a buffer to all clients from the server. Only handlers on this NetworkedBehaviour will get invoked
(Inherited from NetworkedBehaviour.)
Protected methodSendToClientsTarget(ListUInt32, String, String, Byte)
Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
(Inherited from NetworkedBehaviour.)
Protected methodSendToClientsTarget(UInt32, String, String, Byte)
Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
(Inherited from NetworkedBehaviour.)
Protected methodSendToClientsTargetT(String, String, T)
Sends a buffer to all clients from the server. Only handlers on this NetworkedBehaviour will get invoked
(Inherited from NetworkedBehaviour.)
Protected methodSendToClientsTargetT(ListUInt32, String, String, T)
Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
(Inherited from NetworkedBehaviour.)
Protected methodSendToClientsTargetT(Int32, String, String, T)
Sends a buffer to multiple clients from the server. Only handlers on this NetworkedBehaviour gets invoked
(Inherited from NetworkedBehaviour.)
Protected methodSendToClientTarget(UInt32, String, String, Byte)
Sends a buffer to a client with a given clientId from Server. Only handlers on this NetworkedBehaviour gets invoked
(Inherited from NetworkedBehaviour.)
Protected methodSendToClientTargetT(Int32, String, String, T)
Sends a buffer to a client with a given clientId from Server. Only handlers on this NetworkedBehaviour gets invoked
(Inherited from NetworkedBehaviour.)
Protected methodSendToLocalClient(String, String, Byte)
Sends a buffer to the server from client
(Inherited from NetworkedBehaviour.)
Protected methodSendToLocalClientT(String, String, T)
Sends a binary serialized class to the server from client
(Inherited from NetworkedBehaviour.)
Protected methodSendToLocalClientTarget(String, String, Byte)
Sends a buffer to the client that owns this object from the server. Only handlers on this NetworkedBehaviour will get invoked
(Inherited from NetworkedBehaviour.)
Protected methodSendToLocalClientTargetT(String, String, T)
Sends a buffer to the client that owns this object from the server. Only handlers on this NetworkedBehaviour will get invoked
(Inherited from NetworkedBehaviour.)
Protected methodSendToNonLocalClients(String, String, Byte)
Sends a buffer to all clients except to the owner object from the server
(Inherited from NetworkedBehaviour.)
Protected methodSendToNonLocalClientsT(String, String, T)
Sends a binary serialized class to all clients except to the owner object from the server
(Inherited from NetworkedBehaviour.)
Protected methodSendToNonLocalClientsTarget(String, String, Byte)
Sends a buffer to all clients except to the owner object from the server. Only handlers on this NetworkedBehaviour will get invoked
(Inherited from NetworkedBehaviour.)
Protected methodSendToNonLocalClientsTargetT(String, String, T)
Sends a binary serialized class to all clients except to the owner object from the server. Only handlers on this NetworkedBehaviour will get invoked
(Inherited from NetworkedBehaviour.)
Protected methodSendToServer(String, String, Byte)
Sends a buffer to the server from client
(Inherited from NetworkedBehaviour.)
Protected methodSendToServerT(String, String, T)
Sends a binary serialized class to the server from client
(Inherited from NetworkedBehaviour.)
Protected methodSendToServerTarget(String, String, Byte)
Sends a buffer to the server from client. Only handlers on this NetworkedBehaviour will get invoked
(Inherited from NetworkedBehaviour.)
Protected methodSendToServerTargetT(String, String, T)
Sends a binary serialized class to the server from client. Only handlers on this NetworkedBehaviour will get invoked
(Inherited from NetworkedBehaviour.)
Public methodStartCoroutine(IEnumerator) (Inherited from MonoBehaviour.)
Public methodStartCoroutine(String) (Inherited from MonoBehaviour.)
Public methodStartCoroutine(String, Object) (Inherited from MonoBehaviour.)
Public methodStartCoroutine_Auto Obsolete. (Inherited from MonoBehaviour.)
Public methodStopAllCoroutines (Inherited from MonoBehaviour.)
Public methodStopCoroutine(String) (Inherited from MonoBehaviour.)
Public methodStopCoroutine(IEnumerator) (Inherited from MonoBehaviour.)
Public methodStopCoroutine(Coroutine) (Inherited from MonoBehaviour.)
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldAssumeSyncedSends
Is the sends per second assumed to be the same across all instances
Public fieldEnableProximity
Should proximity be enabled
Public fieldInterpolatePosition
Enable interpolation
Public fieldInterpolateServer
Should the server interpolate
Public fieldMinDegrees
The min degrees to rotate before a send it sent
Public fieldMinMeters
The min meters to move before a send is sent
Public fieldProximityRange
The distance to use for proximity
Public fieldSendsPerSecond
Sends per second
Public fieldSnapDistance
The distance before snaping to the position
Public fieldSyncVarSyncDelay
The minimum delay in seconds between SyncedVar sends
(Inherited from NetworkedBehaviour.)
Top
See Also