This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

character / tests / cubism-probe / addons / gd_cubism / cs / gd_cubism_effect_cs.cs
1.2 kB 52 lines
1// SPDX-License-Identifier: MIT 2// SPDX-FileCopyrightText: 2023 MizunagiKB <mizukb@live.jp> 3using Godot; 4 5 6#pragma warning disable CA1050 7 8 9public partial class GDCubismEffectCS : Node 10{ 11 private static readonly StringName NativeName = "GDCubismEffect"; 12 13 protected Node InternalObject = null; 14 15 public GDCubismEffectCS() 16 { 17 this.InternalObject = (SubViewport)Godot.ClassDB.Instantiate(NativeName); 18 } 19 20 public GDCubismEffectCS(Node o) 21 { 22 this.InternalObject = o; 23 } 24 25 public Node GetInternalObject() 26 { 27 return this.InternalObject; 28 } 29 30 public void Attach(Node o) 31 { 32 this.InternalObject = o; 33 } 34 35 public Node Detach() 36 { 37 Node o = this.InternalObject; 38 this.InternalObject = null; 39 return o; 40 } 41 42 // ------------------------------------------------------------ Property(s) 43 44 public bool Active 45 { 46 set { this.InternalObject.Call("set_active", (bool)value); } 47 get { return (bool)this.InternalObject.Call("get_active"); } 48 } 49 50 // -------------------------------------------------------------- Method(s) 51 // -------------------------------------------------------------- Signal(s) 52}