Class RenderTextureScope
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: NeoFPS.ModularFirearms
Assembly: NeoFPS.dll
Syntax
public class RenderTextureScope : MonoBehaviour, INeoSerializableComponent
Properties
fov
Declaration
public float fov { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
parallax
Declaration
public Vector2 parallax { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 |
scopeRingFocus
Declaration
public float scopeRingFocus { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
scopeRingNormalised
Declaration
public float scopeRingNormalised { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
transparency
Declaration
public float transparency { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Methods
Awake()
Declaration
protected void Awake()
OnDestroy()
Declaration
protected void OnDestroy()
OnDisable()
Declaration
protected void OnDisable()
OnEnable()
Declaration
protected void OnEnable()
OnValidate()
Declaration
protected void OnValidate()
ReadProperties(INeoDeserializer, NeoSerializedGameObject)
Declaration
public void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
Parameters
| Type | Name | Description |
|---|---|---|
| INeoDeserializer | reader | |
| NeoSerializedGameObject | nsgo |
Start()
Declaration
protected void Start()
Update()
Declaration
protected void Update()
WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)
Declaration
public void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
Parameters
| Type | Name | Description |
|---|---|---|
| INeoSerializer | writer | |
| NeoSerializedGameObject | nsgo | |
| SaveMode | saveMode |