Show / Hide Table of Contents

Class MeshReference

Specialized ResourceReference that additionally contains transform information for a mesh. The transform values are reloadable.

Inheritance
Object
Element
ResourceReference
MeshReference
Implements
IValidatable
IReloadable
Inherited Members
ResourceReference.Name
ResourceReference.Validate(String)
Element.Validate()
Element.MissingElement(String, String)
Element.MissingAttribute(String, String)
Element.InvalidData(String, String)
Element.Warn(String, String)
Element.LineNumber
Element.LinePosition
Element.AttributesUsed
Element.ElementsUsed
Element.FileName
Namespace: Modding.Serialization
Assembly: Assembly-CSharp.dll
Syntax
[Reloadable]
public class MeshReference : ResourceReference, IValidatable, IReloadable

Constructors

MeshReference()

Declaration
public MeshReference()

Fields

Position

Declaration
[Reloadable]
public Vector3 Position
Field Value
Type Description
Vector3

Rotation

Declaration
[Reloadable]
public Vector3 Rotation
Field Value
Type Description
Vector3

Scale

Declaration
[Reloadable]
public Vector3 Scale
Field Value
Type Description
Vector3

Methods

OnReload(IReloadable)

Declaration
public void OnReload(IReloadable newObject)
Parameters
Type Name Description
IReloadable newObject

PreprocessForReloading()

Declaration
public void PreprocessForReloading()

SetTransformValues(Transform)

Declaration
public void SetTransformValues(Transform t)
Parameters
Type Name Description
UnityEngine.Transform t

Implements

IValidatable
IReloadable
Back to top Generated by DocFX