Warning

Nightly releases are generated automatically from the latest source code and are intended for experimental purposes only. These builds may contain incomplete or untested features, bugs, or security vulnerabilities, and as such, are not for production use. Users should be aware that nightly releases may cause unexpected behavior, data loss, or system instability. Use of these releases is at the user's own risk, and it is advised to have adequate backups before testing. The software is provided as is with no guarantees or support.

InitialNodeProperties

Type Alias InitialNodeProperties

InitialNodeProperties: {
    appearanceURI?: string | null;
    attachmentId?: number;
    auxEnabled?: boolean;
    comparisonGroup?: ComparisonGroup;
    customProperties?: { [customPropertyName: string]: Serializable };
    enabled?: boolean;
    ghosted?: boolean;
    localTransform?: [
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
    ];
    outlined?: boolean;
    pickable?: boolean;
    real?: boolean;
    realOccluder?: boolean;
    renderMode?: RenderMode;
}

Defines initial properties of a new node. These become the default values for the new node, i.e. InstanceGraphAPI.resetProperty and InstanceGraphAPI.resetProperties will reset to these values.

Type declaration

  • OptionalappearanceURI?: string | null

    Specifies the initial appearance URI of the added node.

    null
    
  • OptionalattachmentId?: number

    Specifies the initial attachment ID of the added node.

    undefined
    
  • OptionalauxEnabled?: boolean

    Specifies the initial aux enabled state of the added node.

    false
    
  • OptionalcomparisonGroup?: ComparisonGroup

    Specifies the initial comparison of the added node.

    ComparisonGroup.NONE
    
  • OptionalcustomProperties?: { [customPropertyName: string]: Serializable }

    Specifies the initial custom property states of the added node.

    undefined
    
  • Optionalenabled?: boolean

    Specifies the initial enabled state of the added node.

    false
    
  • Optionalghosted?: boolean

    Specifies the initial ghosted state of the added node.

    false
    
  • OptionallocalTransform?: [
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
    ]

    Specifies the initial local transform of the added node.

    [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]
    
  • Optionaloutlined?: boolean

    Specifies the initial outlined state of the added node.

    false
    
  • Optionalpickable?: boolean

    Specifies the initial pickable state of the added node.

    true
    
  • Optionalreal?: boolean

    Specifies the initial real state of the added node.

    false
    
  • OptionalrealOccluder?: boolean

    Specifies the initial real occluder state of the added node.

    false
    
  • OptionalrenderMode?: RenderMode

    Specifies the initial render mode of the added node.

    RenderMode.UNSET