Scripting API
Scripting API
MadePrefab
Record in Abyss.Core.Scenes, from Abyss.Core.
An entity made a prefab: what the prefab's file says, and where the entity was.
public record MadePrefabConstructors
MadePrefab
public MadePrefab(SceneDocument Document, Transform Placed, IReadOnlyList<string> Notes)An entity made a prefab: what the prefab's file says, and where the entity was.
Parameters
Document: The entity and everything under it, as a prefab's file says them: its top entity first, at the origin, unturned and unscaled.Placed: Where the entity was under its parent, its own transform, which the instance taking its place is put at; the identity for one with none.Notes: What could not be written as it is, in words.
Properties
Document
public SceneDocument Document { get; init; }The entity and everything under it, as a prefab's file says them: its top entity first, at the origin, unturned and unscaled.
Placed
public Transform Placed { get; init; }Where the entity was under its parent, its own transform, which the instance taking its place is put at; the identity for one with none.
Notes
public IReadOnlyList<string> Notes { get; init; }What could not be written as it is, in words.
