Show / Hide Table of Contents

Class CustomVegetation

Main interface for adding custom vegetation to the game.
All custom vegetation have to be wrapped inside this class to add it to Jötunns ZoneManager.
Inheritance
System.Object
CustomEntity
CustomVegetation
Inherited Members
CustomEntity.SourceMod
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Jotunn.Entities
Assembly: Jotunn.dll
Syntax
public class CustomVegetation : CustomEntity

Constructors

| Improve this Doc View Source

CustomVegetation(GameObject, VegetationConfig)

Custom vegetation from a prefab.
Declaration
public CustomVegetation(GameObject prefab, VegetationConfig config)
Parameters
Type Name Description
GameObject prefab The prefab for this custom vegetation.
VegetationConfig config The vegetation config for this custom vegation.

Properties

| Improve this Doc View Source

Name

Name of this custom vegetation
Declaration
public string Name { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Prefab

The prefab for this custom vegetation.
Declaration
public GameObject Prefab { get; }
Property Value
Type Description
GameObject
| Improve this Doc View Source

Vegetation

Associated component
Declaration
public ZoneSystem.ZoneVegetation Vegetation { get; }
Property Value
Type Description
ZoneSystem.ZoneVegetation

Extension Methods

PrefabExtension.FixReferences(Object)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾