dolphin.authoring · function ·
DolphinDocumentValid
Check whether dolphin document satisfies its validation rules.
Represent editable scenes and graph canvases, validate edits, and manage undoable transactions.
external DolphinDocumentValid(dolphinSceneDocument original doc) returns boolStatus: source-declared
Parameters
dolphinSceneDocument original doc- Supply doc as dolphinSceneDocument original.
Use DolphinDocumentValid
A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.
cpu · source-example · type checked
using dolphin.authoring
// Represent editable scenes and graph canvases, validate edits, and manage undoable transactions.
dolphinSceneDocument doc = dolphinSceneDocument()
bool result = DolphinDocumentValid(doc)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.dolphin_authoring__dolphindocumentvalid"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "dolphin.authoring"
version = "0.1.0"
path = "../../../dolphin/packages/authoring"
[[dependencies]]
package = "dolphin.math"
version = "0.1.0"
path = "../../../dolphin/packages/math"
[[dependencies]]
package = "dolphin.spatial3d"
version = "0.1.0"
path = "../../../dolphin/packages/spatial3d"
Notes and source
Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.
dolphin/packages/authoring/src/authoring.yh:61