Class KitbashSourceConfig
Configuration class for defining kitbash parts to add to a prefab with KitbashManager
Inheritance
System.Object
KitbashSourceConfig
Inherited Members
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)
Namespace: Jotunn.Configs
Assembly: Jotunn.dll
Syntax
public class KitbashSourceConfig
Properties
| Improve this Doc View SourceMaterials
An optional list of Materials to set on the pasted GameObject
Defaults to the original materials
Defaults to the original materials
Declaration
public string[] Materials { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
Name
An optional name of the pasted GameObject
Defaults to the source name
Defaults to the source name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Position
Position of the pasted GameObject
Defaults to
Defaults to
Declaration
public Vector3 Position { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Rotation
Rotation of the pasted GameObject
Defaults to (no rotation)
Defaults to
Declaration
public Quaternion Rotation { get; set; }
Property Value
Type | Description |
---|---|
Quaternion |
Scale
Scale of the pasted GameObject
Defaults to (no rescale)
Defaults to
Declaration
public Vector3 Scale { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
SourcePath
Location of the GameObject to copy from the source prefab
Declaration
public string SourcePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SourcePrefab
Source prefab that contains the GameObject to copy
Declaration
public string SourcePrefab { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TargetParentPath
Target parent of the pasted GameObject
Defaults to the root of the prefab
Defaults to the root of the prefab
Declaration
public string TargetParentPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()